bpt/emacs.git
9 years ago* configure.ac: Warn about --enable-link-time-optimization's issues
Paul Eggert [Fri, 20 Jun 2014 19:46:18 +0000 (12:46 -0700)]
* configure.ac: Warn about --enable-link-time-optimization's issues

in --help message.

Fixes: debbugs:17806

9 years ago* lisp/mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
Stefan Monnier [Fri, 20 Jun 2014 18:35:04 +0000 (14:35 -0400)]
* lisp/mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
since it's already done inside the loop (bug#17819).

9 years agoIn mouse-drag-line remove inadvertently reintroduced code (Bug#17819).
Martin Rudalics [Fri, 20 Jun 2014 17:24:18 +0000 (19:24 +0200)]
In mouse-drag-line remove inadvertently reintroduced code (Bug#17819).

* mouse.el (mouse-drag-line): Re-remove code initially removed
on 2013-03-09 and inadvertently reintroduced on 2013-11-30
(Bug#17819).

9 years ago* lisp/progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
Stefan Monnier [Fri, 20 Jun 2014 14:23:30 +0000 (10:23 -0400)]
* lisp/progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
align with the surrounding parent.

Fixes: debbugs:17721

9 years agoFix bug #17801 with extraneous newlines after inserting markup in Texinfo mode.
Eli Zaretskii [Fri, 20 Jun 2014 08:47:10 +0000 (11:47 +0300)]
Fix bug #17801 with extraneous newlines after inserting markup in Texinfo mode.

 lisp/textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
 locally to nil.
 (texinfo-insert-block, texinfo-insert-@end)
 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
 local setting of skeleton-end-newline by adding an explicit \n to
 the skeletons where appropriate.

9 years agoPort to GCC 4.9.0 with link time optimization.
Paul Eggert [Fri, 20 Jun 2014 06:07:47 +0000 (23:07 -0700)]
Port to GCC 4.9.0 with link time optimization.

* configure.ac (CFLAGS): With link time optimization,
use -ffat-lto-objects if supported; otherwise Emacs won't
build with GCC 4.9.0.

Fixes: debbugs:17806

9 years ago* lisp/emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
Stefan Monnier [Fri, 20 Jun 2014 01:05:40 +0000 (21:05 -0400)]
* lisp/emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
(smie-indent--hanging-p): Use it.
* lisp/progmodes/sh-script.el (sh-set-shell): Set it.

Fixes: debbugs:17621

9 years ago* simple.el (read-quoted-char): Don't let help chars pop up help
Leo Liu [Fri, 20 Jun 2014 00:14:43 +0000 (08:14 +0800)]
* simple.el (read-quoted-char): Don't let help chars pop up help
buffer.

Fixes: debbugs:16617

9 years ago* lisp/progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
Stefan Monnier [Thu, 19 Jun 2014 22:52:12 +0000 (18:52 -0400)]
* lisp/progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
for |.

Fixes: debbugs:17621

9 years ago* src/keyboard.c (read_key_sequence): Don't invoke Vprefix_help_command
Stefan Monnier [Thu, 19 Jun 2014 03:48:18 +0000 (23:48 -0400)]
* src/keyboard.c (read_key_sequence): Don't invoke Vprefix_help_command
before checking key-translation-map.

Fixes: debbugs:17659

9 years ago* font.c (font_make_object): Avoid dangling pointer which may
Dmitry Antipov [Thu, 19 Jun 2014 03:21:07 +0000 (07:21 +0400)]
* font.c (font_make_object): Avoid dangling pointer which may
crash GC (Bug#17771).

9 years ago* lisp/xt-mouse.el (xterm-mouse-translate-1): Fix last change.
Stefan Monnier [Wed, 18 Jun 2014 22:02:15 +0000 (18:02 -0400)]
* lisp/xt-mouse.el (xterm-mouse-translate-1): Fix last change.
(xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
burping.

Fixes: debbugs:17776

9 years agosrc/image.c: Yet another fix for last commit.
Eli Zaretskii [Wed, 18 Jun 2014 16:57:26 +0000 (19:57 +0300)]
src/image.c: Yet another fix for last commit.

Fixes: debbugs:17790

9 years agosrc/image.c: Another fix for last commit.
Eli Zaretskii [Wed, 18 Jun 2014 16:39:14 +0000 (19:39 +0300)]
src/image.c: Another fix for last commit.

Fixes: debbugs:17790

9 years agosrc/image.c: Fix last commit.
Eli Zaretskii [Wed, 18 Jun 2014 16:35:02 +0000 (19:35 +0300)]
src/image.c: Fix last commit.

Fixes: debbugs:17790

9 years agoFix bug #17790 with compilation against giflib 5.1.0 and later.
Eli Zaretskii [Wed, 18 Jun 2014 15:15:52 +0000 (18:15 +0300)]
Fix bug #17790 with compilation against giflib 5.1.0 and later.

 src/image.c [5 < GIFLIB_MAJOR + (1 <= GIFLIB_MINOR)]: Declare the
 prototype of DGifCloseFile as appropriate for older and newer
 versions of giflib.
 (gif_close): New function, encapsulates the differences in the
 calling sequence of DGifCloseFile before v5.1.0 and after it.
 (gif_load): Call gif_close instead of DGifCloseFile.  Divulge the
 error string where appropriate.

 lisp/term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
 and later.

9 years ago* lisp/dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated to `soft'.
Juri Linkov [Wed, 18 Jun 2014 07:57:27 +0000 (10:57 +0300)]
* lisp/dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated to `soft'.

Fixes: debbugs:17554

9 years ago* lisp/delsel.el (electric-newline-and-maybe-indent): Mark it as well.
Stefan Monnier [Tue, 17 Jun 2014 13:40:03 +0000 (09:40 -0400)]
* lisp/delsel.el (electric-newline-and-maybe-indent): Mark it as well.

Fixes: debbugs:17737

9 years ago* notes/elpa: Use "git" instead of "bzr" in the name of machine to
Stephen Berman [Mon, 16 Jun 2014 21:29:08 +0000 (23:29 +0200)]
* notes/elpa: Use "git" instead of "bzr" in the name of machine to
clone the repository from.

9 years agoA better fix for bug #17777 with visual-order cursor movement.
Eli Zaretskii [Mon, 16 Jun 2014 19:38:28 +0000 (22:38 +0300)]
A better fix for bug #17777 with visual-order cursor movement.

 src/xdisp.c (Fmove_point_visually): Instead of testing for keyboard
 macro execution, make sure point didn't move since last complete
 redisplay, as the condition for using the glyph matrix
 information.

9 years agoFix bug#17732
Dmitry Gutov [Mon, 16 Jun 2014 03:33:29 +0000 (06:33 +0300)]
Fix bug#17732

* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
`!' in `!~' with `font-lock-negation-char-face'.

9 years ago* dbus.texi (Type Conversion): Formatting edits in example.
Michael Albinus [Sun, 15 Jun 2014 12:19:38 +0000 (14:19 +0200)]
* dbus.texi (Type Conversion): Formatting edits in example.

9 years agoFix a regression bug in D-Bus event handling.
Michael Albinus [Sun, 15 Jun 2014 12:15:25 +0000 (14:15 +0200)]
Fix a regression bug in D-Bus event handling.

* net/dbus.el (dbus-call-method): Push only non D-Bus events into
`unread-command-events'.

9 years agoSpelling fix.
Paul Eggert [Sun, 15 Jun 2014 07:47:04 +0000 (00:47 -0700)]
Spelling fix.

9 years agoNEWS copyedits
Glenn Morris [Sat, 14 Jun 2014 23:57:24 +0000 (16:57 -0700)]
NEWS copyedits

9 years agoStop cc-mode loading cl at runtime
Glenn Morris [Sat, 14 Jun 2014 23:54:39 +0000 (16:54 -0700)]
Stop cc-mode loading cl at runtime

* lisp/progmodes/cc-langs.el: Require cl-lib.
Replace delete-duplicates and mapcan by cl- versions throughout.
And cl-macroexpand-all by macroexpand-all.
(delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.

Fixes: debbugs:17463

9 years agoPort part of the AIX fix to Solaris.
Paul Eggert [Sat, 14 Jun 2014 20:24:08 +0000 (13:24 -0700)]
Port part of the AIX fix to Solaris.

* configure.ac (_REENTRANT): Define on Solaris if HAVE_PTHREAD.
This ports part of the recent AIX fix to Solaris.  It is needed
for the same reason that _THREAD_SAFE is needed on AIX, e.g., to
make sure that each thread has its own 'errno'.

Fixes: debbugs:17598

9 years agoFix documentation mentioned in bug #17768.
Eli Zaretskii [Sat, 14 Jun 2014 16:37:15 +0000 (19:37 +0300)]
Fix documentation mentioned in bug #17768.

 lisp/subr.el (posn-col-row): Doc fix.

 doc/lispref/commands.texi (Accessing Mouse): Improve the wording of the
 posn-col-row documentation.

9 years agoFix bug #17777 with keyboard macros and visual-order cursor movement.
Eli Zaretskii [Sat, 14 Jun 2014 11:09:10 +0000 (14:09 +0300)]
Fix bug #17777 with keyboard macros and visual-order cursor movement.

 src/xdisp.c (Fmove_point_visually): Don't use the glyph matrix
 information if we are in the middle of executing a keyboard macro,
 since redisplay doesn't update the screen until the macro is
 finished.

9 years ago* lisp/bindings.el: Put `ascii-character' property on keypad keys mapped to characters.
Juri Linkov [Sat, 14 Jun 2014 09:50:13 +0000 (12:50 +0300)]
* lisp/bindings.el: Put `ascii-character' property on keypad keys mapped to characters.

Fixes: debbugs:17759

9 years agosrc/xdisp.c: Enhance commentary.
Eli Zaretskii [Sat, 14 Jun 2014 09:44:20 +0000 (12:44 +0300)]
src/xdisp.c: Enhance commentary.

9 years ago* etc/PROBLEMS: Whitespace fix.
Glenn Morris [Fri, 13 Jun 2014 19:41:59 +0000 (15:41 -0400)]
* etc/PROBLEMS: Whitespace fix.

9 years ago* lisp/emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
Stefan Monnier [Fri, 13 Jun 2014 15:31:17 +0000 (11:31 -0400)]
* lisp/emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
bumping forward into a closing paren.

Fixes: debbugs:17761

9 years ago* lisp/term/xterm.el (xterm--version-handler): Work around for OSX
Stefan Monnier [Fri, 13 Jun 2014 15:06:29 +0000 (11:06 -0400)]
* lisp/term/xterm.el (xterm--version-handler): Work around for OSX
Terminal.app.

Fixes: debbugs:17607

9 years agoAttempt to fix bug #17771 with segfault if "C-h h" is interrupted.
Eli Zaretskii [Fri, 13 Jun 2014 13:53:24 +0000 (16:53 +0300)]
Attempt to fix bug #17771 with segfault if "C-h h" is interrupted.

 src/alloc.c (cleanup_vector): Don't dereference a font driver
 pointer if it is NULL.

9 years agoBackport fcntl.h AIX fix from the trunk.
Paul Eggert [Wed, 11 Jun 2014 20:03:46 +0000 (13:03 -0700)]
Backport fcntl.h AIX fix from the trunk.

This fixes a bug with the shell freezing.  See:
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17598#185
Merge from gnulib, incorporating:
2014-05-31 dup2, fcntl, fcntl-h: port to AIX 7.1
* lib/fcntl.in.h, m4/dup2.m4, m4/fcntl.m4:
Update from gnulib.

9 years agoFix bug #17744 with cursor motion near overlay string with 'cursor' prop.
Eli Zaretskii [Wed, 11 Jun 2014 16:11:32 +0000 (19:11 +0300)]
Fix bug #17744 with cursor motion near overlay string with 'cursor' prop.

 src/xdisp.c (set_cursor_from_row): Fix an off-by-one error when
 matching overlay strings with 'cursor' property against buffer
 positions traversed in the glyph row.

9 years ago* doc/misc/Makefile.in (INFO_INSTALL): Update for 2013-08-28 DOCMISC_W32 change
Glenn Morris [Tue, 10 Jun 2014 21:07:22 +0000 (17:07 -0400)]
* doc/misc/Makefile.in (INFO_INSTALL): Update for 2013-08-28 DOCMISC_W32 change

9 years agoNEWS cleanup: Remove +++/--- markup, reorder, copyedits, etc
Glenn Morris [Mon, 9 Jun 2014 00:59:28 +0000 (17:59 -0700)]
NEWS cleanup: Remove +++/--- markup, reorder, copyedits, etc

9 years agoDoc fixes: markup (mainly nil -> @code{nil})
Glenn Morris [Sun, 8 Jun 2014 23:39:23 +0000 (16:39 -0700)]
Doc fixes: markup (mainly nil -> @code{nil})

9 years agoSimplify info.info for the stand-alone reader
Karl Berry [Sun, 8 Jun 2014 19:30:13 +0000 (22:30 +0300)]
Simplify info.info for the stand-alone reader

 doc/misc/info.texi (Help-^L): "mode line", "screenful",
 stand-alone and Emacs Info both use the mode line.
 Use x instead of weird C-x 0 to get rid of help msg
 in standalone Info.

9 years agoSmall doc updates re initial-buffer-choice
Glenn Morris [Sun, 8 Jun 2014 17:46:51 +0000 (10:46 -0700)]
Small doc updates re initial-buffer-choice

* doc/emacs/entering.texi (Entering Emacs): Small fix re initial-buffer-choice.

* doc/emacs/misc.texi (emacsclient Options): Copyedit.

* doc/lispref/os.texi (Startup Summary): Small fix for initial-buffer-choice.

* lisp/startup.el (initial-buffer-choice): Doc fix.
Reset :version (adding an option does not merit a :version bump).

9 years agoDoc edits re uniquify
Glenn Morris [Sun, 8 Jun 2014 07:41:27 +0000 (00:41 -0700)]
Doc edits re uniquify

* doc/emacs/buffers.texi (Uniquify): Copyedits.

* doc/emacs/files.texi (Visiting): Update for uniquify changes.

* doc/lispref/files.texi (Subroutines of Visiting): Mention uniquify.

* doc/misc/vip.texi (Files): Defer to Emacs manual for uniquify details.

* lisp/bookmark.el (bookmark-load): Doc fix.

* lisp/uniquify.el (uniquify-buffer-name-style): Doc fix.

* lisp/files.el: Comment.

* etc/NEWS: Related edit.

9 years agoinfo.texi tweaks re S-SPC
Glenn Morris [Sun, 8 Jun 2014 07:00:20 +0000 (00:00 -0700)]
info.texi tweaks re S-SPC

* doc/misc/info.texi (Help-Small-Screen): Clarify details of S-SPC.
(Help-Small-Screen, Help-]): Do not mention S-SPC.
(Emacs Info Variables): Markup fix.

9 years agoDoc markup fixes re SPC, RET
Glenn Morris [Sun, 8 Jun 2014 06:57:15 +0000 (23:57 -0700)]
Doc markup fixes re SPC, RET

* doc/emacs/dired.texi (Marks vs Flags):
* doc/emacs/rmail.texi (Rmail Scrolling):
* doc/misc/ebrowse.texi (Source Display, Finding/Viewing):
* doc/misc/erc.texi (Sample Session):
* doc/misc/ses.texi (The Basics):
* doc/misc/todo-mode.texi (Moving and Deleting Items):
* doc/misc/woman.texi (Navigation):
Markup fixes re SPC, RET.

9 years ago* etc/themes/deeper-blue-theme.el: Use another fix.
Leo Liu [Sun, 8 Jun 2014 03:25:22 +0000 (11:25 +0800)]
* etc/themes/deeper-blue-theme.el: Use another fix.

Fixes: debbugs:17695

9 years ago* doc/emacs/help.texi (Help, Misc Help): Copyedits.
Glenn Morris [Sun, 8 Jun 2014 01:37:23 +0000 (18:37 -0700)]
* doc/emacs/help.texi (Help, Misc Help): Copyedits.

9 years agoDoc tweaks re text-mode menus
Glenn Morris [Sun, 8 Jun 2014 01:20:35 +0000 (18:20 -0700)]
Doc tweaks re text-mode menus

* doc/emacs/screen.texi (Menu Bar): Copyedits.

* doc/emacs/msdog.texi (Windows Keyboard): F10 menus are now a general feature.

9 years agoDoc tweak re fullscreen/maximize
Glenn Morris [Sun, 8 Jun 2014 01:14:58 +0000 (18:14 -0700)]
Doc tweak re fullscreen/maximize

* doc/emacs/frames.texi (Frame Commands): Copyedits re M-F10, F11.

* doc/emacs/cmdargs.texi (Window Size X): Copyedits.

9 years ago* src/fileio.c (write-region-inhibit-fsync): Doc tweak.
Glenn Morris [Sun, 8 Jun 2014 00:59:05 +0000 (17:59 -0700)]
* src/fileio.c (write-region-inhibit-fsync): Doc tweak.

9 years agoDoc tweaks re < etc
Glenn Morris [Sun, 8 Jun 2014 00:51:10 +0000 (17:51 -0700)]
Doc tweaks re < etc

* doc/lispref/numbers.texi (Comparison of Numbers): Copyedits.

* src/data.c (Flss, Fgtr, Fleq, Fgeq): Doc tweaks.

9 years agoSome Acknowledgments updates for the manual
Glenn Morris [Sun, 8 Jun 2014 00:19:17 +0000 (17:19 -0700)]
Some Acknowledgments updates for the manual

* doc/emacs/ack.texi (Acknowledgments): Updates.

* doc/emacs/emacs.texi (Acknowledgments): Updates.

9 years agoDoc tweaks re prettify-symbols-mode
Glenn Morris [Sat, 7 Jun 2014 23:39:40 +0000 (16:39 -0700)]
Doc tweaks re prettify-symbols-mode

* doc/emacs/programs.texi (Prettifying Symbols): Remove node.
(Misc for Programs): Mention more briefly here.

* doc/emacs emacs.texi (Top): Update menu.

9 years agoPort better to AIX.
Paul Eggert [Sat, 7 Jun 2014 06:10:39 +0000 (23:10 -0700)]
Port better to AIX.

* configure.ac (with_xpm_set): New shell var.
(_THREAD_SAFE): Define on AIX if HAVE_PTHREAD.
(with_xpm): Default to 'no' on AIX.
(LIBXPM): Append -lXpm if -lXaw is also used, as the latter
requires the former on AIX.

Fixes: debbugs:17598

9 years ago* lisp/desktop.el: Activate auto-saving on window configuration changes.
Juri Linkov [Fri, 6 Jun 2014 23:38:40 +0000 (02:38 +0300)]
* lisp/desktop.el: Activate auto-saving on window configuration changes.
(desktop-save-mode, desktop-auto-save-timeout): Add/remove
`desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
(desktop-auto-save-set-timer): Change REPEAT arg of
`run-with-idle-timer' from t to nil.
http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html

9 years ago* lisp/vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
Santiago Payà i Miralta [Fri, 6 Jun 2014 16:29:55 +0000 (12:29 -0400)]
* lisp/vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
vc-hg-command.

Fixes: debbugs:17570

9 years ago* lisp/international/mule-cmds.el (ucs-names): Add special entry for BEL.
Stefan Monnier [Fri, 6 Jun 2014 14:25:39 +0000 (10:25 -0400)]
* lisp/international/mule-cmds.el (ucs-names): Add special entry for BEL.

Fixes: debbugs:17702

9 years agoDoc updates re window-setup-hook
Glenn Morris [Fri, 6 Jun 2014 07:19:23 +0000 (00:19 -0700)]
Doc updates re window-setup-hook

* lisp/startup.el (window-setup-hook): Doc fix.

* doc/lispref/display.texi (Window Systems): Remove window-setup-hook.

* doc/lispref/os.texi (Startup Summary, Init File):
Improve description of window-setup-hook.
(Terminal-Specific): Update window-setup-hook cross-reference.

* doc/lispref/hooks.texi (Standard Hooks):
Update window-setup-hook cross-reference.

9 years ago* admin/FOR-RELEASE: Mention ack.texi
Glenn Morris [Fri, 6 Jun 2014 06:49:17 +0000 (23:49 -0700)]
* admin/FOR-RELEASE: Mention ack.texi

9 years agoDocument incompatible overlay priority change
Glenn Morris [Fri, 6 Jun 2014 06:45:16 +0000 (23:45 -0700)]
Document incompatible overlay priority change

* doc/lispref/display.texi (Overlay Properties): Update re priority.

* etc/NEWS: Related edit.

Fixes: debbugs:17234

9 years ago* etc/themes/deeper-blue-theme.el (diff-added, diff-changed, diff-removed):
Juri Linkov [Thu, 5 Jun 2014 23:31:46 +0000 (02:31 +0300)]
* etc/themes/deeper-blue-theme.el (diff-added, diff-changed, diff-removed):
Set face definitions explicitly.  Inherit indicator faces from them.

Fixes: debbugs:17695

9 years agoSpelling fixes.
Paul Eggert [Thu, 5 Jun 2014 08:14:36 +0000 (01:14 -0700)]
Spelling fixes.

9 years ago* lisp/emacs-lisp/package.el: Comment update
Glenn Morris [Thu, 5 Jun 2014 07:08:42 +0000 (00:08 -0700)]
* lisp/emacs-lisp/package.el: Comment update

9 years agoSome documentation for signing of packages
Glenn Morris [Thu, 5 Jun 2014 06:15:44 +0000 (23:15 -0700)]
Some documentation for signing of packages

* doc/emacs/package.texi (Package Menu, Package Installation):
Mention signed packages.

* doc/lispref/package.texi (Package Archives): Mention signing packages.

* lisp/emacs-lisp/package.el (package-check-signature)
(package-unsigned-archives): Doc fixes.

* etc/NEWS: Related edits.

9 years agont/INSTALL: Instructions how to start Bash.
Eli Zaretskii [Wed, 4 Jun 2014 16:44:04 +0000 (19:44 +0300)]
nt/INSTALL: Instructions how to start Bash.

9 years agoFix infloop of -nw session at exit on MS-Windows under a debugger.
Eli Zaretskii [Wed, 4 Jun 2014 10:54:58 +0000 (13:54 +0300)]
Fix infloop of -nw session at exit on MS-Windows under a debugger.

 src/sysdep.c (reset_sys_modes): Use cursorX, not curX, as the latter
 contains garbage on WINDOWSNT (which could potentially infloop at
 exit).

9 years agoAttempt to solve bug #17497 by minimizing cursor motion during TTY menu updates.
Eli Zaretskii [Wed, 4 Jun 2014 09:16:46 +0000 (12:16 +0300)]
Attempt to solve bug #17497 by minimizing cursor motion during TTY menu updates.

 src/term.c (tty_menu_display): Don't position cursor here.  Instead,
 pass the cursor coordinates to update_frame_with_menu.
 (tty_menu_activate): Send the hide cursor command only once in an
 iteration through the outer 'while' loop.
 src/dispnew.c (update_frame_1): Accept an additional argument
 SET_CURSOR_P, and position the cursor at the end of the frame
 update only if that argument is non-zero.  All callers changed to
 provide the additional argument as non-zero, except for
 update_frame_with_menu.
 (update_frame_with_menu): Accept 2 additional arguments ROW and
 COL; if they are non-negative, instruct update_frame_1 not to
 position the cursor, and instead position it according to ROW and
 COL.
 src/dispextern.h (update_frame_with_menu): Update prototype.

9 years agoIn display-buffer-use-some-window don't shrink window used (Bug#17671).
Martin Rudalics [Tue, 3 Jun 2014 12:38:17 +0000 (14:38 +0200)]
In display-buffer-use-some-window don't shrink window used (Bug#17671).

* window.el (display-buffer-use-some-window): Don't make window
used smaller than it was before (Bug#17671).

9 years agoMinor fix of the last commit in menu-bar-open.
Eli Zaretskii [Tue, 3 Jun 2014 09:50:04 +0000 (12:50 +0300)]
Minor fix of the last commit in menu-bar-open.

 lisp/menu-bar.el (menu-bar-open): Fix last change: use the PC
 '(redisplay)' instead of '(sit-for 0)'.

9 years agoFix Bug#17653.
Michael Albinus [Tue, 3 Jun 2014 07:43:24 +0000 (09:43 +0200)]
Fix Bug#17653.

* net/tramp.el (tramp-ssh-controlmaster-options): Improve search regexp.

9 years ago* emacs/package.texi (Package Installation): Mention package-pinned-packages.
Glenn Morris [Tue, 3 Jun 2014 04:45:56 +0000 (21:45 -0700)]
* emacs/package.texi (Package Installation): Mention package-pinned-packages.

* etc/NEWS: Related markup.

9 years ago* lisp/emacs-lisp/package.el (package-pinned-packages): Doc fix.
Glenn Morris [Tue, 3 Jun 2014 04:41:20 +0000 (21:41 -0700)]
* lisp/emacs-lisp/package.el (package-pinned-packages): Doc fix.

* etc/NEWS: Related edit.

9 years agoFix TTY menu invocation via M-x.
Eli Zaretskii [Mon, 2 Jun 2014 18:58:36 +0000 (21:58 +0300)]
Fix TTY menu invocation via M-x.

 lisp/menu-bar.el (menu-bar-open): Fix invocation via M-x by forcing
 the update of the menu bar.

9 years ago* src/callproc.c (call_process): Don't check read-only if we don't insert
Stefan Monnier [Mon, 2 Jun 2014 18:42:07 +0000 (14:42 -0400)]
* src/callproc.c (call_process): Don't check read-only if we don't insert
anything.

Fixes: debbugs:17666

9 years agosrc/dispnew.c (update_frame_with_menu): Set display_completed.
Eli Zaretskii [Mon, 2 Jun 2014 16:53:02 +0000 (19:53 +0300)]
src/dispnew.c (update_frame_with_menu): Set display_completed.

9 years ago* doc/emacs/misc.texi: Small updates (no need to merge to trunk)
Glenn Morris [Mon, 2 Jun 2014 01:14:08 +0000 (18:14 -0700)]
* doc/emacs/misc.texi: Small updates (no need to merge to trunk)

* doc/emacs/misc.texi [iftex]: Update chapter summary.
(Emulation): Remove ludicrously outdated claim.

9 years ago* etc/NEWS: Add placeholders for undocumented package.el changes.
Glenn Morris [Mon, 2 Jun 2014 00:22:41 +0000 (17:22 -0700)]
* etc/NEWS: Add placeholders for undocumented package.el changes.

9 years ago* frame.c (x_set_frame_parameters): Don't read uninitialized storage.
Paul Eggert [Sun, 1 Jun 2014 18:49:52 +0000 (11:49 -0700)]
* frame.c (x_set_frame_parameters): Don't read uninitialized storage.

9 years agoMake jump scroll work with Gtk+
Jan Djärv [Sun, 1 Jun 2014 18:00:56 +0000 (20:00 +0200)]
Make jump scroll work with Gtk+

* xterm.c (xg_scroll_callback): Remove position, for jump set portion
to min(value, whole).

9 years agoFix bug #17615 with C-g during macro definition.
Eli Zaretskii [Sun, 1 Jun 2014 15:19:14 +0000 (18:19 +0300)]
Fix bug #17615 with C-g during macro definition.

 lisp/simple.el (keyboard-quit): Force update of mode lines, to remove
 the "Def" indicator, if we were defining a macro.

9 years agoAuto-commit of loaddefs files.
Glenn Morris [Sun, 1 Jun 2014 11:22:53 +0000 (07:22 -0400)]
Auto-commit of loaddefs files.

9 years agoRevert last patch. The problem happens in the trunk.
Michael Albinus [Sun, 1 Jun 2014 10:38:09 +0000 (12:38 +0200)]
Revert last patch.  The problem happens in the trunk.

9 years ago* tramp-tests.el (tramp-test29-vc-registered):
Michael Albinus [Sun, 1 Jun 2014 09:33:57 +0000 (11:33 +0200)]
* tramp-tests.el (tramp-test29-vc-registered):
Instrument failed test case.

9 years ago* automated/tramp-tests.el (tramp-test29-vc-registered):
Michael Albinus [Sun, 1 Jun 2014 09:33:24 +0000 (11:33 +0200)]
* automated/tramp-tests.el (tramp-test29-vc-registered):
Instrument failed test case.

9 years agoBring back the changes to GDB-visible symbols, but only on AIX.
Paul Eggert [Sun, 1 Jun 2014 07:06:28 +0000 (00:06 -0700)]
Bring back the changes to GDB-visible symbols, but only on AIX.

And only if it's not pre-4.2 GCC.
* lisp.h (ENUMABLE, DEFINE_GDB_SYMBOL_ENUM): New macros.
(ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG, VALMASK): Use them.
(ARRAY_MARK_FLAG_val, PSEUDOVECTOR_FLAG_val, VALMASK_val):
New macros.

9 years ago* lisp/minibuffer.el (minibuffer-force-complete-and-exit):
Stefan Monnier [Sun, 1 Jun 2014 02:24:23 +0000 (22:24 -0400)]
* lisp/minibuffer.el (minibuffer-force-complete-and-exit):
Obey minibuffer-default.

Fixes: debbugs:17545

9 years ago* lisp/progmodes/js.el (js-indent-line): Don't mix columns and chars.
Stefan Monnier [Sun, 1 Jun 2014 01:53:04 +0000 (21:53 -0400)]
* lisp/progmodes/js.el (js-indent-line): Don't mix columns and chars.

Fixes: debbugs:17619

9 years ago* lisp/subr.el (set-transient-map): Don't wait for some "nested"
Stefan Monnier [Sat, 31 May 2014 20:02:47 +0000 (16:02 -0400)]
* lisp/subr.el (set-transient-map): Don't wait for some "nested"
transient-map to finish if we're only supposed to be active for
the next command.

Fixes: debbugs:17642

9 years agoHopefully fix bug #16433 with corruption of newline_cache in Rmail.
Eli Zaretskii [Sat, 31 May 2014 18:23:53 +0000 (21:23 +0300)]
Hopefully fix bug #16433 with corruption of newline_cache in Rmail.

 src/fileio.c (Finsert_file_contents): Call prepare_to_modify_buffer
 with PT, not GPT.

9 years ago* emacs-lisp/gv.el (window-buffer, window-display-table)
Leo Liu [Sat, 31 May 2014 15:43:43 +0000 (23:43 +0800)]
* emacs-lisp/gv.el (window-buffer, window-display-table)
(window-dedicated-p, window-hscroll, window-point, window-start):
Fix gv-expander.

Fixes: debbugs:17630

9 years agoRevert revision 2014-05-27T17:31:17Z!eliz@gnu.org, as it breaks debugging with GCC...
Eli Zaretskii [Sat, 31 May 2014 13:24:45 +0000 (16:24 +0300)]
Revert revision 2014-05-27T17:31:17Z!eliz@gnu.org, as it breaks debugging with GCC 3.x.

 Revert last changes to GDB-visible symbols.
 src/lisp.h (ENUMABLE, DEFINE_GDB_SYMBOL_ENUM): Delete macros.
 (ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG, VALMASK): Don't use them.
 (ARRAY_MARK_FLAG_val, PSEUDOVECTOR_FLAG_val, VALMASK_val):
 Delete macros.

9 years ago* lisp/mouse.el (mouse-posn-property): Ignore posn-point for mode-line
Stefan Monnier [Sat, 31 May 2014 12:32:36 +0000 (08:32 -0400)]
* lisp/mouse.el (mouse-posn-property): Ignore posn-point for mode-line
clicks.

Fixes: debbugs:17633

9 years ago* src/cmds.c (Fself_insert_command): Allow zero repeat count.
Glenn Morris [Sat, 31 May 2014 02:53:29 +0000 (19:53 -0700)]
* src/cmds.c (Fself_insert_command): Allow zero repeat count.

Fixes: debbugs:17649

9 years ago* lisp/subr.el (sit-for): Add comment with a short history.
Stefan Monnier [Sat, 31 May 2014 02:13:13 +0000 (22:13 -0400)]
* lisp/subr.el (sit-for): Add comment with a short history.

9 years ago* lisp/leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
Stefan Monnier [Sat, 31 May 2014 01:01:19 +0000 (21:01 -0400)]
* lisp/leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
for the single comma, since ", " is *very* common in normal French text.

Fixes: debbugs:17643

9 years agoFix port to 32-bit AIX with xlc.
Paul Eggert [Fri, 30 May 2014 20:19:29 +0000 (13:19 -0700)]
Fix port to 32-bit AIX with xlc.

This doesn't fix Bug#17598, but it does fix a regression since Emacs
built with xlc until recently, and perhaps it'll help us fix Bug#17598.
* configure.ac (GC_SETJMP_WORKS): Define for AIX, too.
Merge from gnulib, incorporating:
2014-05-30 ftoastr: work around compiler bug in IBM xlc 12.1
* lib/ftoastr.c: Update from gnulib.
* src/alloc.c (gdb_make_enums_visible): Remove FLOAT_TO_STRING_BUFSIZE.
* src/conf_post.h (FLEXIBLE_ARRAY_MEMBER) [__IBMC__]: Don't define to empty.
* src/lisp.h (FLOAT_TO_STRING_BUFSIZE): Make it a macro, instead of an enum,
to work around a compiler bug in IBM xlc 12.1.

9 years agoFix typo in previous
Glenn Morris [Fri, 30 May 2014 05:15:29 +0000 (22:15 -0700)]
Fix typo in previous

9 years agopackage.el: Fix some version tags
Glenn Morris [Fri, 30 May 2014 05:08:10 +0000 (22:08 -0700)]
package.el: Fix some version tags

* lisp/emacs-lisp/package.el (package-check-signature)
(package-unsigned-archives): Fix :version.

9 years agoFix bug #17588 with mouse highlight when an X frame is redisplayed frequently.
Eli Zaretskii [Thu, 29 May 2014 16:47:49 +0000 (19:47 +0300)]
Fix bug #17588 with mouse highlight when an X frame is redisplayed frequently.

 src/xterm.c (x_update_window_end): Don't invalidate the entire
 mouse-highlight info, just signal frame_up_to_date_hook that mouse
 highlight needs to be redisplayed.

9 years ago* lisp/subr.el (sit-for): Don't run input-methods.
Stefan Monnier [Thu, 29 May 2014 16:38:01 +0000 (12:38 -0400)]
* lisp/subr.el (sit-for): Don't run input-methods.

Fixes: debbugs:15614