Stefan Monnier [Thu, 16 Jan 2014 00:26:45 +0000 (19:26 -0500)]
* lisp/follow.el (follow-adjust-window): Remove `dest' argument.
Assume we're already in the proper buffer.
Inspired by Anders Lindgren <andlind@gmail.com>.
(follow-post-command-hook): Call it from the right buffer.
(follow-comint-scroll-to-bottom): Adjust call.
(follow-all-followers): Use get-buffer-window-list.
Paul Eggert [Wed, 15 Jan 2014 19:38:44 +0000 (11:38 -0800)]
Fix copyright license notices for Adobe Unicode mapping files.
* charsets/mapfiles/README: The copied files are not compressed.
Check for copies as of today.
* charsets/mapfiles/stdenc.txt, charsets/mapfiles/symbol.txt:
Update from table version 0.2 (1999-03-30) to 1.0 (2011-07-12).
This doesn't change the table data, just copyright license notice.
The new notices are compatible with the GPL, the old ones were not.
Nicolas Richard [Tue, 14 Jan 2014 22:30:42 +0000 (23:30 +0100)]
simple.el (define-alternatives): Add 'definition-name to COMMAND-alternatives
* simple.el (define-alternatives): When creating the
COMMAND-alternatives variable, assign COMMAND as its definition
name so that `describe-variable' can relocate it.
See http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01340.html
Daiki Ueno [Tue, 14 Jan 2014 08:41:09 +0000 (17:41 +0900)]
* epa-file.el: Respect buffer-file-format when writing
* epa-file.el (epa-file-write-region): Encode the region according
to `buffer-file-format'. Problem reported at:
<http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
Paul Eggert [Tue, 14 Jan 2014 01:19:42 +0000 (17:19 -0800)]
Fix MinGW64 porting problem with _setjmp.
Reported by Eli Zaretskii in:
http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01297.html
* image.c (FAST_SETJMP, FAST_LONGJMP): New macros, replacing
the old _setjmp and _longjmp. All uses changed.
Bastien Guerry [Mon, 13 Jan 2014 22:13:44 +0000 (23:13 +0100)]
`define-alternatives' bugfix and UI enhancement
* simple.el (define-alternatives): Call the selected command
interactively. When setting `COMMAND--implementation' for the
first time, tell the user how to chose another implementation.
Enhance the docstring.
David Engster [Mon, 13 Jan 2014 20:04:08 +0000 (21:04 +0100)]
Merge bug fixes from CEDET upstream.
* semantic/analyze/refs.el (semantic-analyze-refs-impl): Fix Typo
in a doc string.
* semantic/ia.el (semantic-ia-complete-symbol): Ignore case if
prefix is all lower case.
(semantic-ia-fast-jump): Push mark before jumping to an include
file.
* semantic/complete.el (semantic-displayor-point-position):
Calculate if the toolbar is on the left when calculating point
position.
Stefan Monnier [Mon, 13 Jan 2014 15:33:01 +0000 (10:33 -0500)]
* lisp/vc/log-edit.el: Fix highlighting of summary when it's the first line.
(log-edit--match-first-line): New function.
(log-edit-font-lock-keywords): Use it.
(log-edit-mode): Make jit-lock-defer-multiline work.
Bastien Guerry [Mon, 13 Jan 2014 10:55:22 +0000 (11:55 +0100)]
Partially fix Bug#16403.
* rect.el (rectangle-mark-mode): When the region is not active,
display a message saying that the mark as been set and that
rectangle mode is in use.
(rectangle--highlight-for-redisplay): Only put an overlay with a
visible vertical bar when (display-graphic-p) is non-nil.
This partially fixes Bug#16403.
Jan Djärv [Mon, 13 Jan 2014 10:32:48 +0000 (11:32 +0100)]
* macfont.m: Include termchar.h.
(CG_SET_FILL_COLOR_WITH_FACE_FOREGROUND)
(CG_SET_FILL_COLOR_WITH_FACE_BACKGROUND)
(CG_SET_STROKE_COLOR_WITH_FACE_FOREGROUND): Modified from
*_WITH_GC_* to take face and f as parameters.
(macfont_draw): Check for DRAW_MOUSE_FACE and set face accordingly.
Use *_WITH_FACE_*, and pass face as parameter.
Juri Linkov [Mon, 13 Jan 2014 08:04:09 +0000 (10:04 +0200)]
* lisp/info.el (Info-find-file): Go to DIR before displaying the error
about a nonexistent file if no previous Info file is visited.
Use `user-error' instead of `error' for "Info file %s does not exist".
(Info-find-node-2): In case of a nonexistent node in unwind forms
go to the Top node if there is no previous node to revert to.
David Engster [Sun, 12 Jan 2014 16:50:54 +0000 (17:50 +0100)]
Update EIEIO documentation because of namespace cleanup.
* eieio.texi (Introduction): `class-of' is obsolete.
(Predicates, Basic Methods): Adapt function names to namespace
cleanup.
* NEWS: Add missing renames to EIEIO section. Also, no functions
were removed but only made obsolete. Class field accessors were
always purely internal, so remove that remark. Add markup.
Paul Eggert [Sun, 12 Jan 2014 05:29:11 +0000 (21:29 -0800)]
Spelling fixes.
* lisp/emacs-lisp/generic.el (generic--normalize-comments):
Rename from generic--normalise-comments. All uses changed.
* lisp/play/bubbles.el (bubbles--neighborhood-score):
(bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
(bubbles--neighborhood-available)
(bubbles--update-neighborhood-score):
Rename from names with 'neighbourhood'. All uses changed.
Leo Liu [Sun, 12 Jan 2014 04:00:03 +0000 (12:00 +0800)]
Re-implement the feature of showing eldoc info after editing.
* emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
(eldoc-edit-message-commands): New function.
(eldoc-print-after-edit): New variable.
(eldoc-pre-command-refresh-echo-area): Emit message only by
eldoc-message-commands.
(eldoc-mode): Restrict eldoc-message-commands to editing commands
if eldoc-print-after-edit is set.
* progmodes/octave.el (octave-mode-menu): Adapt to change in
eldoc.
Eric S. Raymond [Sat, 11 Jan 2014 23:59:49 +0000 (18:59 -0500)]
Make the function emacs-repository-get-version polyvalent.
* version.el (emacs-repository-get-version): Enhance so the
function works correctly in either a Bazaar or Git repo. The
Bazaar case can be discarded after the repo transition.
Eric S. Raymond [Sat, 11 Jan 2014 14:15:17 +0000 (09:15 -0500)]
/etc cleanup: Removal of joke man pages and associated Lisp file.
* etc/celibacy.1, etc/sex.6, etc/condom.1, etc/echo.msg:
Deleted at RMS's suggestion. Not lost to posterity as they are
part of the widely distributed funny-manpages collection.
* lisp/play/meese.el: It's 2014 and Ed Meese is justly forgotten. Goes
with removal of the joke manpages from /etc.
Eli Zaretskii [Sat, 11 Jan 2014 11:54:08 +0000 (13:54 +0200)]
Fix bug #16347 with updating redisplay of company-mode's "tooltip".
src/xdisp.c (try_window_id): Don't use this function's optimizations
if overlays in the buffer displayed by the window have changed
since last redisplay.
(message_dolog): Fix indentation.
Martin Rudalics [Sat, 11 Jan 2014 09:31:09 +0000 (10:31 +0100)]
Fix handling of internal borders (Bug#16348).
* dispnew.c (adjust_frame_glyphs_for_window_redisplay): Remove
internal border width from pixel width of windows.
(change_frame_size_1): Don't return early when frame's pixel
size changes - we still have to record the new sizes in the
frame structure.
* w32fns.c (x_set_tool_bar_lines): Clear internal border width
also when toolbar gets larger.
* window.c (check_frame_size): Include internal_border_width in
check.
* xdisp.c (Ftool_bar_height): Fix doc-string typo.
* xfns.c (x_set_menu_bar_lines, x_set_tool_bar_lines): In
non-toolkit/non-GTK version clear internal border.
* xterm.c (x_clear_under_internal_border): New function for
non-toolkit/non-GTK version.
(x_after_update_window_line): In non-toolkit/non-GTK version
don't do that.
(handle_one_xevent, x_set_window_size): Call
x_clear_under_internal_border in non-toolkit/non-GTK version.
* xterm.h (x_clear_under_internal_border): Extern it.
Paul Eggert [Fri, 10 Jan 2014 07:10:37 +0000 (23:10 -0800)]
Spelling fixes.
* mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
* woman.el (woman-mark-horizontal-position):
Rename from woman-mark-horizonal-position. Use changed.