bpt/emacs.git
10 years agoChangeLog fixes
Glenn Morris [Wed, 22 Jan 2014 01:43:37 +0000 (20:43 -0500)]
ChangeLog fixes

10 years agoFix here-doc highlighting
Daniel Colascione [Tue, 21 Jan 2014 23:42:59 +0000 (15:42 -0800)]
Fix here-doc highlighting

10 years agoChangeLog fix
Glenn Morris [Tue, 21 Jan 2014 17:21:19 +0000 (09:21 -0800)]
ChangeLog fix

10 years agoFix bug #16509 with segfault in an assertion when exiting due to missing font.
Eli Zaretskii [Tue, 21 Jan 2014 16:08:31 +0000 (18:08 +0200)]
Fix bug #16509 with segfault in an assertion when exiting due to missing font.

 src/w32fns.c (unwind_create_frame): Avoid crashing inside assertion
 when the image cache is not yet allocated.

10 years ago* automated/file-notify-tests.el
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'.

10 years ago* lisp/emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
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.

10 years agoChangeLog fixes
Glenn Morris [Tue, 21 Jan 2014 08:49:46 +0000 (00:49 -0800)]
ChangeLog fixes

10 years ago* automated/comint-testsuite.el
Michael Albinus [Tue, 21 Jan 2014 08:32:06 +0000 (09:32 +0100)]
* automated/comint-testsuite.el
(comint-testsuite-password-strings): Add localized examples.

10 years agoFix reftex-create-bibtex-file autoload.
Tassilo Horn [Tue, 21 Jan 2014 08:26:31 +0000 (09:26 +0100)]
Fix reftex-create-bibtex-file autoload.

* lisp/textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
specify it's an interactive function.

10 years agoFix regex used for searching citation keys.
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.

10 years ago* buffer.c (Fkill_buffer): When killing an indirect buffer,
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.

10 years ago* simple.el (read--expression): Don't enable eldoc-mode.
Leo Liu [Tue, 21 Jan 2014 01:58:16 +0000 (09:58 +0800)]
* simple.el (read--expression): Don't enable eldoc-mode.

10 years agoChangeLog fixes
Glenn Morris [Mon, 20 Jan 2014 22:39:59 +0000 (17:39 -0500)]
ChangeLog fixes

10 years agoMerge from gnulib.
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.

10 years ago* etc/NEWS: Small edits
Glenn Morris [Mon, 20 Jan 2014 20:07:57 +0000 (15:07 -0500)]
* etc/NEWS: Small edits

10 years agoDo not document subr-x.el in the manuals
Glenn Morris [Mon, 20 Jan 2014 20:05:04 +0000 (15:05 -0500)]
Do not document subr-x.el in the manuals

* doc/lispref/hash.texi (Other Hash): Do not mention subr-x.el functions;
reverts 2013-12-22 change.

* lisp/emacs-lisp/subr-x.el: Comment.

* etc/NEWS: Small related edits.

10 years agoFix spelling of "GNUstep"
Glenn Morris [Mon, 20 Jan 2014 19:44:56 +0000 (14:44 -0500)]
Fix spelling of "GNUstep"

10 years ago* lisp/simple.el (move-beginning-of-line): Make sure we don't move forward.
Stefan Monnier [Mon, 20 Jan 2014 19:15:10 +0000 (14:15 -0500)]
* lisp/simple.el (move-beginning-of-line): Make sure we don't move forward.

Fixes: debbugs:16497

10 years agoApply previous change even if valgrind is not in use, since it avoids undefined behav...
Paul Eggert [Mon, 20 Jan 2014 16:55:28 +0000 (08:55 -0800)]
Apply previous change even if valgrind is not in use, since it avoids undefined behavior. This is simpler.

10 years agoPacify valgrind by initializing buffer redisplay bit.
Paul Eggert [Mon, 20 Jan 2014 16:47:41 +0000 (08:47 -0800)]
Pacify valgrind by initializing buffer redisplay bit.

Problem reported by Dmitry Antipov in
<http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01756.html>.
* alloc.c (USE_VALGRIND): Move this to ...
* conf_post.h (USE_VALGRIND): ... here.  Use booleans.
* buffer.c (Fget_buffer_create): Initialize redisplay bit
to pacify valgrind.

10 years ago* lisp/saveplace.el (toggle-save-place, save-place-to-alist)
Juri Linkov [Mon, 20 Jan 2014 08:52:44 +0000 (10:52 +0200)]
* lisp/saveplace.el (toggle-save-place, save-place-to-alist)
(save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
'dired-mode) before checking for dired-directory.

Fixes: debbugs:16477

10 years ago* lisp/indent.el (indent-line-to): Use backward-to-indentation
Juri Linkov [Mon, 20 Jan 2014 08:45:56 +0000 (10:45 +0200)]
* lisp/indent.el (indent-line-to): Use backward-to-indentation
instead of back-to-indentation.

Fixes: debbugs:16461

10 years agoSpelling fix.
Paul Eggert [Mon, 20 Jan 2014 08:15:16 +0000 (00:15 -0800)]
Spelling fix.

10 years agoRevert some of the CANNOT_DUMP fix.
Paul Eggert [Mon, 20 Jan 2014 07:56:28 +0000 (23:56 -0800)]
Revert some of the CANNOT_DUMP fix.

Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
but fixing this can wait until after the next release.
* leim/Makefile.in (RUN_EMACS): Keep EMACSLOADPATH empty.
* lisp/Makefile.in (emacs): Keep EMACSLOADPATH empty.
* src/lread.c (init_lread): Fix typo: NILP, not !NILP.

Fixes: debbugs:16494

10 years ago* etc/NEWS: Small edits
Glenn Morris [Mon, 20 Jan 2014 01:21:18 +0000 (17:21 -0800)]
* etc/NEWS: Small edits

10 years ago* etc/NEWS: Small edits
Glenn Morris [Mon, 20 Jan 2014 00:54:19 +0000 (16:54 -0800)]
* etc/NEWS: Small edits

10 years agoExtend last fix of term-window-width (Bug#16470).
Martin Rudalics [Sun, 19 Jan 2014 16:59:51 +0000 (17:59 +0100)]
Extend last fix of term-window-width (Bug#16470).

10 years agoFix Cygwin w32 build broken by last commit in w32font.c.
Eli Zaretskii [Sun, 19 Jan 2014 15:42:48 +0000 (17:42 +0200)]
Fix Cygwin w32 build broken by last commit in w32font.c.

 src/w32font.c (w32_load_unicows_or_gdi32, get_outline_metrics_w)
 (get_text_metrics_w, get_glyph_outline_w, get_char_width_32_w)
 [!WINDOWSNT]: These functions are no longer compiled on Cygwin;
 they are replaced by macros that expand into direct calls to the
 corresponding functions from GDI32.DLL.
 (globals_of_w32font) [WINDOWSNT]: Don't initialize g_b_* static
 variables in the Cygwin build, they are unused.

10 years agomerge trunk
Kenichi Handa [Sun, 19 Jan 2014 13:27:34 +0000 (22:27 +0900)]
merge trunk

10 years agocomposite.c (composition_update_it): Fix previous change.
Kenichi Handa [Sun, 19 Jan 2014 13:26:21 +0000 (22:26 +0900)]
composite.c (composition_update_it): Fix previous change.

10 years ago* eshell/esh-mode.el (eshell-password-prompt-regexp):
Michael Albinus [Sun, 19 Jan 2014 13:23:18 +0000 (14:23 +0100)]
* eshell/esh-mode.el (eshell-password-prompt-regexp):
Use `password-word-equivalents'.
(eshell-watch-for-password-prompt): Let-bind `case-fold-search'
to t.  (Bug#5664, Bug#13124)

10 years agoBind open-paren-in-column-0-is-defun-start to nil at some entry points.
Alan Mackenzie [Sun, 19 Jan 2014 12:32:47 +0000 (12:32 +0000)]
Bind open-paren-in-column-0-is-defun-start to nil at some entry points.
* progmodes/cc-engine.el (c-invalidate-state-cache-1)
(c-parse-state-1, c-guess-basic-syntax):  Bind it here.
* progmodes/cc-mode.el (c-before-change, c-after-change)
(c-font-lock-fontify-region): Bind it here.

10 years agoIn term-window-width call window-text-width instead of window-width (Bug#16470).
Martin Rudalics [Sun, 19 Jan 2014 09:24:26 +0000 (10:24 +0100)]
In term-window-width call window-text-width instead of window-width (Bug#16470).

* term.el (term-window-width): Call window-text-width instead of
window-width (Bug#16470).

10 years agoupdate-game-score fixes for -m and integer overflow
Paul Eggert [Sun, 19 Jan 2014 08:50:53 +0000 (00:50 -0800)]
update-game-score fixes for -m and integer overflow

* update-game-score.c: Include inttypes.h, stdbool.h.
(min): New macro, if not already defined.
(MAX_SCORES, main): Limit the maximum number of scores only from
limits imposed by the underyling platform, instead of the
arbitrary value 200.
(struct score_entry, main, read_score, write_score):
Scores are now intmax_t, not long.
(get_user_id): Reject user names containing spaces or newlines,
as they would mess up the score file.
Allow uids that don't fit in 'long'.
Increase the size of the buffer, to avoid overrun in weird cases.
(get_prefix, main): Use bool for boolean.
(main): Rewrite expr to avoid possibility of signed integer
overflow.  Don't allow newlines in data, as this would mess up
the score file.  Check for memory allocation failure when adding
the new score, or when unlockint the file.  Implement -m.
(read_score): Check for integer overflow when reading a score.
(read_score) [!HAVE_GETDELIM]: Check for integer overflow when
data gets very long.  Check only for space to delimit names,
since that's what's done in the HAVE_GETDELIM case.
(read_scores): New parameter ALLOC.  Change counts to ptrdiff_t.
All uses changed.  Use push_score to add individual scores;
that's simpler than repeating its contents.
(score_compare_reverse): Simplify.
(push_score): New parameter SIZE.  Change counts to ptrdiff_t.
All uses changed.  Check for integer overflow of size calculation.
(sort_scores, write_scores): Change counts to ptrdiff_t.
(unlock_file): Preserve errno on success, so that storage
exhaustion is diagnosed correctly.

Fixes: debbugs:16428

10 years ago* simple.el (password-word-equivalents): Remove duplicates.
Paul Eggert [Sat, 18 Jan 2014 22:23:38 +0000 (14:23 -0800)]
* simple.el (password-word-equivalents): Remove duplicates.

Sort, to make this easier next time.
Downcase.  Omit ": " after "jelszó".

10 years agolisp/gnus/gnus-setup.el (gnus-use-sendmail): We never use sendmail for mail reading
Steinar Bang [Sat, 18 Jan 2014 20:46:53 +0000 (20:46 +0000)]
lisp/gnus/gnus-setup.el (gnus-use-sendmail): We never use sendmail for mail reading

10 years ago* lisp/term/common-win.el (saved-region-selection): Defvar it.
Jan Djärv [Sat, 18 Jan 2014 15:11:03 +0000 (16:11 +0100)]
* lisp/term/common-win.el (saved-region-selection): Defvar it.
(x-select-text): Set saved-region-selection.

Fixes: debbugs:16382

10 years agoFix file name handling on MS-Windows 9X.
Eli Zaretskii [Sat, 18 Jan 2014 11:46:22 +0000 (13:46 +0200)]
Fix file name handling on MS-Windows 9X.

 src/w32.c (maybe_load_unicows_dll): New function.
 src/emacs.c (main) [WINDOWSNT]: Call maybe_load_unicows_dll early
 on, to make sure we can convert file names to and from UTF-8 on
 Windows 9X.  This fixes a failure to start up because Emacs cannot
 find term/w32-win.el.  Reported by oslsachem <oslsachem@gmail.com>.
 src/w32font.c [WINDOWSNT]: Include w32.h.
 (w32_load_unicows_or_gdi32): Call maybe_load_unicows_dll, instead
 of implementing the same stuff.
 Remove now unused g_b_init_is_windows_9x.
 src/w32.h (maybe_load_unicows_dll): Add prototype.

 nt/runemacs.c (ensure_unicows_dll): Don't tell in the message box
 that "emacs -nw" can do without UNICOWS.DLL on Windows 9X.  See
 w32.c:maybe_load_unicows_dll and its callers for the reason.

10 years agoChangeLog and Author: header comment fixes
Glenn Morris [Sat, 18 Jan 2014 01:51:38 +0000 (20:51 -0500)]
ChangeLog and Author: header comment fixes

10 years ago* lisp/emacs-lisp/authors.el (authors-aliases): Add more entries
Glenn Morris [Sat, 18 Jan 2014 01:50:56 +0000 (20:50 -0500)]
* lisp/emacs-lisp/authors.el (authors-aliases): Add more entries

10 years agoAdd some entries to authors.el variables
Glenn Morris [Sat, 18 Jan 2014 01:29:25 +0000 (20:29 -0500)]
Add some entries to authors.el variables

* lisp/emacs-lisp/authors.el (authors-aliases)
(authors-renamed-files-alist): Add some entries.

10 years agoChangeLog fixes
Glenn Morris [Sat, 18 Jan 2014 01:27:51 +0000 (20:27 -0500)]
ChangeLog fixes

10 years agoAdd :version tag to `tramp-password-prompt-regexp'.
Michael Albinus [Fri, 17 Jan 2014 18:24:09 +0000 (19:24 +0100)]
Add :version tag to `tramp-password-prompt-regexp'.

10 years agoFix Bug#13124.
Michael Albinus [Fri, 17 Jan 2014 18:20:39 +0000 (19:20 +0100)]
Fix Bug#13124.
* net/tramp.el (tramp-password-prompt-regexp): Use
`password-word-equivalents' if available.
(tramp-action-password, tramp-process-one-action)
(tramp-read-passwd): Let-bind `case-fold-search' to t.

10 years agoFix Bug#13124.
Chong Yidong [Fri, 17 Jan 2014 16:45:45 +0000 (17:45 +0100)]
Fix Bug#13124.

* simple.el (password-word-equivalents): New defcustom.
* comint.el (comint-password-prompt-regexp): Use it.  Bump version to 24.4.
(comint-watch-for-password-prompt): Let-bind `case-fold-search' to t.

10 years agoRevert 2014-01-17T13:05:09Z!bzg@gnu.org.
Bastien Guerry [Fri, 17 Jan 2014 14:58:34 +0000 (15:58 +0100)]
Revert 2014-01-17T13:05:09Z!bzg@gnu.org.

10 years ago* simple.el (define-alternatives): Fix docstring by advising
Bastien Guerry [Fri, 17 Jan 2014 13:05:09 +0000 (14:05 +0100)]
* simple.el (define-alternatives): Fix docstring by advising
developers to (defvar COMMAND-alternatives).

10 years ago* building.texi (Commands of GUD): Fix keybinding for `gud-break'.
Bastien Guerry [Fri, 17 Jan 2014 12:43:51 +0000 (13:43 +0100)]
* building.texi (Commands of GUD): Fix keybinding for `gud-break'.

10 years agoProvisional fix for bug #16479 with client connecting while in a TTY menu.
Eli Zaretskii [Fri, 17 Jan 2014 11:55:00 +0000 (13:55 +0200)]
Provisional fix for bug #16479 with client connecting while in a TTY menu.

 src/menu.c (Fx_popup_menu): When invoking tty_menu_show, temporarily
 switch to single keyboard.  Prevents daemon crashes when a new
 client connects while we show a TTY menu in an existing client.

10 years agoFix Bug#13662.
Michael Albinus [Fri, 17 Jan 2014 11:50:15 +0000 (12:50 +0100)]
Fix Bug#13662.
* automated/inotify-test.el (inotify-file-watch-simple): Skip test
case if inotify is not linked with Emacs.  Use `read-event' rather
than `sit-for' in order to process events.

10 years ago* lisp/menu-bar.el: Fix author header comment
Glenn Morris [Fri, 17 Jan 2014 03:22:55 +0000 (22:22 -0500)]
* lisp/menu-bar.el: Fix author header comment

(accidentally omitted from previous commit)

10 years ago* lisp/emacs-lisp/authors.el (authors-aliases): Remove more unused entries
Glenn Morris [Fri, 17 Jan 2014 03:21:57 +0000 (22:21 -0500)]
* lisp/emacs-lisp/authors.el (authors-aliases): Remove more unused entries

* lisp/leim/quail/tibetan.el, lisp/menu-bar.el: Fix author header comment.

10 years agoruby-mode: Align def...end to the beginning of statement
Dmitry Gutov [Fri, 17 Jan 2014 03:15:02 +0000 (05:15 +0200)]
ruby-mode: Align def...end to the beginning of statement

* lisp/progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
(ruby-align-to-stmt-keywords): Change the default value.  Use
`ruby-alignable-keywords' to generate the possible customization
choices.
(ruby-smie-rules): Instead of using a hardcoded list of alignable
keywords, check against the value of `ruby-alignable-keywords'
(http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).

10 years ago* lisp/emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
Glenn Morris [Fri, 17 Jan 2014 02:59:24 +0000 (21:59 -0500)]
* lisp/emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.

* lisp/jka-cmpr-hook.el, lisp/jka-compr.el, lisp/progmodes/antlr-mode.el:
* doc/misc/autotype.texi: Fix author header comments.

* lisp/org/ChangeLog: ChangeLog fix.

10 years agoMake M-x authors return zero *Authors Errors* from current logs
Glenn Morris [Fri, 17 Jan 2014 02:11:36 +0000 (21:11 -0500)]
Make M-x authors return zero *Authors Errors* from current logs

* lisp/emacs-lisp/authors.el (authors-obsolete-files-regexps):
(authors-ignored-files): Add some entries, remove others.
(authors-ambiguous-files, authors-valid-file-names): Add some entries.
(authors-renamed-files-alist): Add, remove, and adjust entries.
(authors-renamed-files-regexps): Add some entries.
Remove some very broad ones.  Make some entries `lax'.
(authors-lax-changelogs): New constant.
(authors-disambiguate-file-name): Treat top-level specially.
(authors-lax-changelog-p): New function.
(authors-canonical-file-name): Check file as written against
authors-valid-file-names.  Do not special-case etc/.
Handle `lax' logs and authors-renamed-files-regexps elements.

* admin/make-tarball.txt: Update for no expected *Authors Errors*.

10 years agoChangeLog fixes
Glenn Morris [Fri, 17 Jan 2014 01:54:23 +0000 (20:54 -0500)]
ChangeLog fixes

10 years ago* etc/themes/leuven-theme.el: Updates.
Fabrice Niessen [Thu, 16 Jan 2014 20:18:55 +0000 (15:18 -0500)]
* etc/themes/leuven-theme.el: Updates.

Fixes: debbugs:16442

10 years agoFinally make package-desc--keywords work
Dmitry Gutov [Thu, 16 Jan 2014 16:44:17 +0000 (18:44 +0200)]
Finally make package-desc--keywords work

* lisp/emacs-lisp/package.el (package-desc--keywords): Use `nth'
  instead of `cdr'.

10 years agoMinor correction to admin/notes/bzr: *fourth* VCS, not third.
Eric S. Raymond [Thu, 16 Jan 2014 15:05:18 +0000 (10:05 -0500)]
Minor correction to admin/notes/bzr: *fourth* VCS, not third.

RCS -> CVS -> Bzr -> Git. And (as Stefan Monnier reports) "GNU Arch
was semi-officially used for a while between CVS and Bzr, tho not for
the main branch."

10 years ago* lisp/emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
Dmitry Gutov [Thu, 16 Jan 2014 12:23:14 +0000 (14:23 +0200)]
* lisp/emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
`assoc'.  Make private.  Update all callers.

10 years agoChangeLog fixes
Glenn Morris [Thu, 16 Jan 2014 08:34:43 +0000 (00:34 -0800)]
ChangeLog fixes

10 years ago* Makefile.in: Revert previous (presumably accidental) change
Glenn Morris [Thu, 16 Jan 2014 08:30:12 +0000 (00:30 -0800)]
* Makefile.in: Revert previous (presumably accidental) change

10 years agoSpelling fixes.
Paul Eggert [Thu, 16 Jan 2014 06:24:06 +0000 (22:24 -0800)]
Spelling fixes.

10 years agoOn VCS-independent ways of identifying commits, and why they are desirable.
Eric S. Raymond [Thu, 16 Jan 2014 05:50:26 +0000 (00:50 -0500)]
On VCS-independent ways of identifying commits, and why they are desirable.

No code changes.

10 years ago* lisp/follow.el (follow-adjust-window): Remove `dest' argument.
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.

Fixes: debbugs:16426

10 years agoUse whole file-name-history'.
Daniel Colascione [Wed, 15 Jan 2014 23:49:40 +0000 (15:49 -0800)]
Use whole file-name-history'.

10 years agoFix copyright license notices for Adobe Unicode mapping files.
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.

10 years agoSmall doc/ copyedits
Glenn Morris [Wed, 15 Jan 2014 18:27:51 +0000 (13:27 -0500)]
Small doc/ copyedits

* doc/emacs/files.texi (File Conveniences):
* doc/emacs/misc.texi (EWW): Copyedits.

* doc/misc/Makefile.in (eww_deps): Does not depend on emacsver.texi.

* doc/misc/eww.texi: Comment.

10 years agosrc/ChangeLog: Fix typos.
Eli Zaretskii [Wed, 15 Jan 2014 17:56:40 +0000 (19:56 +0200)]
src/ChangeLog: Fix typos.

10 years agoChangeLog fixes
Glenn Morris [Wed, 15 Jan 2014 08:49:38 +0000 (00:49 -0800)]
ChangeLog fixes

10 years ago* lisp/indent.el (indent-rigidly): Set deactivate-mark to nil
Juri Linkov [Wed, 15 Jan 2014 08:22:41 +0000 (10:22 +0200)]
* lisp/indent.el (indent-rigidly): Set deactivate-mark to nil
in transient indentation mode.

Fixes: debbugs:16438

10 years ago* lisp/emacs-lisp/package.el (package-desc-keywords): New function.
Dmitry Gutov [Wed, 15 Jan 2014 04:58:06 +0000 (06:58 +0200)]
* lisp/emacs-lisp/package.el (package-desc-keywords): New function.
(describe-package-1, package-all-keywords)
(package--has-keyword-p): Use it.

Fixes: debbugs:16222

10 years agoChangeLog fixes
Glenn Morris [Wed, 15 Jan 2014 03:06:07 +0000 (22:06 -0500)]
ChangeLog fixes

10 years agosimple.el (define-alternatives): Add 'definition-name to COMMAND-alternatives
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

10 years agofont-lock.el (font-lock-keywords): Fix typo in docstring
Matthew Leach [Tue, 14 Jan 2014 20:37:28 +0000 (21:37 +0100)]
font-lock.el (font-lock-keywords): Fix typo in docstring

* font-lock.el (font-lock-keywords): Fix typo in docstring
(bug#16307).

10 years agoSpace before paren, updating recent change.
Paul Eggert [Tue, 14 Jan 2014 17:59:19 +0000 (09:59 -0800)]
Space before paren, updating recent change.

10 years agoispell.el (ispell-region): Reset `in-comment' for new line instead of `add-coment...
Agustín Martín [Tue, 14 Jan 2014 10:50:28 +0000 (11:50 +0100)]
ispell.el (ispell-region): Reset `in-comment' for new line instead of `add-coment' (bug#13577).

10 years ago* epa-file.el: Respect buffer-file-format when writing
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>.

10 years agoChangeLog fixes
Glenn Morris [Tue, 14 Jan 2014 08:13:13 +0000 (00:13 -0800)]
ChangeLog fixes

10 years ago* lisp/emacs-lisp/edebug.el (edebug--display): Move protective let-binding
Stefan Monnier [Tue, 14 Jan 2014 02:51:52 +0000 (21:51 -0500)]
* lisp/emacs-lisp/edebug.el (edebug--display): Move protective let-binding
so it applies in the right buffer.

Fixes: debbugs:16410

10 years agoFix MinGW64 porting problem with _setjmp.
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.

10 years agoFix rst-mode deprecated keybindings
Daniel Colascione [Mon, 13 Jan 2014 23:50:20 +0000 (15:50 -0800)]
Fix rst-mode deprecated keybindings

10 years agoCorrectly handle reaching the end of the interval tree. (Bug#15344)
Daniel Colascione [Mon, 13 Jan 2014 23:41:43 +0000 (15:41 -0800)]
Correctly handle reaching the end of the interval tree. (Bug#15344)

10 years agoFix/enhance `define-alternatives' docstring again
Bastien Guerry [Mon, 13 Jan 2014 22:24:29 +0000 (23:24 +0100)]
Fix/enhance `define-alternatives' docstring again

10 years agoSpelling fixes.
Paul Eggert [Mon, 13 Jan 2014 22:21:32 +0000 (14:21 -0800)]
Spelling fixes.

10 years ago`define-alternatives' bugfix and UI enhancement
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.

10 years ago* admin/update_autogen (status): New function. Use throughout.
Glenn Morris [Mon, 13 Jan 2014 21:17:18 +0000 (16:17 -0500)]
* admin/update_autogen (status): New function.  Use throughout.

10 years agoMerge bug fixes from CEDET upstream.
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.

10 years agoFix comment typo in previous, sigh
Glenn Morris [Mon, 13 Jan 2014 19:48:17 +0000 (14:48 -0500)]
Fix comment typo in previous, sigh

10 years ago* Makefile.in: Comment.
Glenn Morris [Mon, 13 Jan 2014 19:44:04 +0000 (14:44 -0500)]
* Makefile.in: Comment.

10 years ago* lisp/vc/log-edit.el: Fix highlighting of summary when it's the first line.
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.

10 years agoMinor doc fix for Flymake.
Xue Fuqiao [Mon, 13 Jan 2014 15:22:47 +0000 (23:22 +0800)]
Minor doc fix for Flymake.

10 years agoFix bug when resizing mini window (Bug#16424).
Martin Rudalics [Mon, 13 Jan 2014 11:30:30 +0000 (12:30 +0100)]
Fix bug when resizing mini window (Bug#16424).

* xdisp.c (resize_mini_window): Round height to a multiple of
frame's line height.  Fix bug in calculation of window start
position (Bug#16424).

10 years agoPartially fix Bug#16403.
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.

10 years agoBug#13064
Michael Albinus [Mon, 13 Jan 2014 10:53:36 +0000 (11:53 +0100)]
Bug#13064

* automated/ert-tests.el (ert-test-record-backtrace): Reenable
test case with adapted test string.  (Bug#13064)

10 years ago* macfont.m: Include termchar.h.
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.

Fixes: debbugs:16425

10 years ago* lisp/info.el (Info-find-file): Go to DIR before displaying the error
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.

Fixes: debbugs:16405

10 years agofit-frame/window-to-buffer code fixes including one for Bug#14096.
Martin Rudalics [Mon, 13 Jan 2014 07:47:15 +0000 (08:47 +0100)]
fit-frame/window-to-buffer code fixes including one for Bug#14096.

* window.el (fit-frame-to-buffer): Fix doc-string.  Respect
window-min-height/-width.  Fit pixelwise when
frame-resize-pixelwise is non-nil.  Adjust right/bottom edge
when avoiding that frame goes partially off-screen.
(fit-window-to-buffer): Respect window-min-height/-width
(Bug#14096).

10 years ago* lisp/indent.el (indent-according-to-mode): Flush to column 0 in text-mode
Stefan Monnier [Mon, 13 Jan 2014 05:03:31 +0000 (00:03 -0500)]
* lisp/indent.el (indent-according-to-mode): Flush to column 0 in text-mode
after an empty line.

10 years agoMake GTK+ menus work correctly with the Unity global menu
Daniel Colascione [Mon, 13 Jan 2014 01:50:46 +0000 (17:50 -0800)]
Make GTK+ menus work correctly with the Unity global menu