Glenn Morris [Mon, 27 Jan 2014 19:56:13 +0000 (14:56 -0500)]
* etc/NEWS: Small calc edits.
In general, it is not necessary for NEWS to repeat information from an
option's doc-string. All NEWS really has to do is advertise that the
option exists.
Michael Albinus [Mon, 27 Jan 2014 19:10:02 +0000 (20:10 +0100)]
* automated/file-notify-tests.el (file-notify--deftest-remote):
Do not skip when the local test has failed. They are unrelated.
(file-notify--wait-for-events): Use `sit-for'. Let-bind
`noninteractive' to nil, otherwise `sit-for' could be degraded to
`sleep-for'.
(file-notify-test02-events): Check for `file-remote-p' instead of
`file-notify--test-remote-enabled'.
Glenn Morris [Sun, 26 Jan 2014 03:39:34 +0000 (19:39 -0800)]
Doc updates for opascal.el
* lisp/progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
Doc fix. Make obsolete.
(opascal-mode): No longer mention opascal-tab-always-indents in doc.
Fabrice Popineau [Sat, 25 Jan 2014 13:04:48 +0000 (15:04 +0200)]
Fix bug #16517 with display change on MS-Windows while in full-screen mode.
src/w32term.c (w32_read_socket): When the WM_DISPLAYCHANGE message
arrives, call x_check_fullscreen, in case the new display has a
different resolution.
Eli Zaretskii [Sat, 25 Jan 2014 08:25:51 +0000 (10:25 +0200)]
Fix bug #16479 with client connections while TTY menu is open.
src/term.c (read_menu_input): If the selected frame changes, exit
the menu.
(tty_menu_show): If the selected frame changes while we displayed
a menu, throw to top level.
Dmitry Antipov [Fri, 24 Jan 2014 03:53:16 +0000 (07:53 +0400)]
* xdisp.c (reseat_1, Fcurrent_bidi_paragraph_direction): Avoid
undefined behavior by initializing display property bit of a
string processed by the bidirectional iterator. For details, see
<http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01920.html>.
David Engster [Wed, 22 Jan 2014 21:50:47 +0000 (22:50 +0100)]
Update EIEIO documentation.
* eieio.texi (Introduction): Move introductory paragraph about
EIEIO and CLOS from 'Building Classes' to here.
(Documentation): Remove, since eieio-doc is not part of Emacs.
(Class Values, CLOS compatibility): Mention that
`describe-function' will also give information about classes.
Glenn Morris [Wed, 22 Jan 2014 19:26:45 +0000 (14:26 -0500)]
ChangeLog fix.
* lisp/ChangeLog: The installed change was based on this one:
http://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00372.html
* etc/NEWS: Fix based on the fact that this does not work out of the box,
unless you fetch the notes, as described in
http://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00015.html
Seems very non-intuitive to me...
Paul Eggert [Wed, 22 Jan 2014 19:02:41 +0000 (11:02 -0800)]
Fix miscellaneous update-game-score bugs.
* configure.ac (difftime): Remove.
* lib/update-game-score.c (difftime) [!HAVE_DIFFTIME]: Remove.
(read_score) [HAVE_GETDELIM]: Don't access uninitialized storage.
(read_scores, write_scores): Check for fclose failure.
(write_scores): Use fchmod, not chmod, to avoid a race.
(lock_file): Fix test for out-of-date lock file; it was reversed.
Use ordinary subtraction rather than difftime; since we're already
assuming POSIX we don't need to worry about the possibility of
time_t being a magic cookie.
Glenn Morris [Wed, 22 Jan 2014 17:26:14 +0000 (09:26 -0800)]
Fixes for emacs-repository-get-version
* lisp/version.el (emacs-repository-get-version):
Check either .bzr or .git, but not both.
Make the git case actually use the DIR argument, and return nil
rather than the empty string.
* etc/NEWS: Don't mention that emacs-repository-version works for git,
because it only returns nil (since it uses %N and there seem to be no
notes in the git version of the Emacs repo.)
No idea why this change is in trunk during a feature freeze anyway.
Martin Rudalics [Wed, 22 Jan 2014 10:29:23 +0000 (11:29 +0100)]
Fixes in window size functions around Bug#16430 and Bug#16470.
* window.c (Fwindow_pixel_width, Fwindow_pixel_height)
(Fwindow_mode_line_height, Fwindow_header_line_height)
(Fwindow_right_divider_width, Fwindow_bottom_divider_width):
Minor doc-string adjustments.
(Fwindow_total_height, Fwindow_total_width): New argument ROUND.
Rewrite doc-strings.
(window_body_height, window_body_width): Do not count partially
visible lines/columns when PIXELWISE is nil (Bug#16470).
(Qfloor, Qceiling): New symbols.
* window.el (window-total-size, window-size): New argument
ROUND.
(window--min-delta-1, window-min-delta, window--max-delta-1): Be
more conservative when calculating the numbers of lines or
columns a window can shrink (Bug#16430).
(fit-window-to-buffer): Simplify code.
* term.el (term-window-width): Call window-body-width again.
Michael Albinus [Tue, 21 Jan 2014 13:31:39 +0000 (14:31 +0100)]
* automated/file-notify-tests.el
(file-notify--test-local-enabled): Fix error in logic.
(file-notify--wait-for-events): New defmacro.
(file-notify-test02-events): Make short breaks between file operations.
Use `file-notify--wait-for-events'. Check, that events have arrived.
(file-notify-test03-autorevert): Use `file-notify--wait-for-events'.
Stefan Monnier [Tue, 21 Jan 2014 13:09:55 +0000 (08:09 -0500)]
* lisp/emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
(eldoc--message-command-p): New function.
(eldoc-display-message-p): Use it.
(eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
message is not automatically erased for us.
(eldoc-print-current-symbol-info): Erase previous message, if any.
Tassilo Horn [Tue, 21 Jan 2014 08:18:30 +0000 (09:18 +0100)]
Fix regex used for searching citation keys.
* lisp/textmodes/reftex-cite.el (reftex-all-used-citation-keys): Fix
regex used for scanning for citation keys which failed for
citations with optional arguments.
Dmitry Antipov [Tue, 21 Jan 2014 02:28:57 +0000 (06:28 +0400)]
* buffer.c (Fkill_buffer): When killing an indirect buffer,
re-attach intervals to its base buffer (Bug#16502).
* intervals.c (set_interval_object): Move from here...
* intervals.h (set_interval_object): ... to here. Fix comments.
Paul Eggert [Mon, 20 Jan 2014 20:48:14 +0000 (12:48 -0800)]
Merge from gnulib.
This incorporates:
2014-01-20 stdalign: port to HP-UX compilers
2014-01-16 strtoimax: port to platforms lacking 'long long'
2014-01-16 update from texinfo
* doc/misc/texinfo.tex, lib/stdalign.in.h, lib/strtoimax.c:
Update from gnulib.