bpt/emacs.git
10 years agoSome doc for epa-mail-aliases
Glenn Morris [Thu, 6 Feb 2014 04:05:43 +0000 (20:05 -0800)]
Some doc for epa-mail-aliases

* doc/misc/epa.texi (Mail-mode integration): Mention epa-mail-aliases.

* lisp/epa.el (epa-mail-aliases): Doc fix.

* etc/NEWS: Related edit.

10 years agoReplace some colons in Texinfo index entries
Glenn Morris [Thu, 6 Feb 2014 02:26:57 +0000 (21:26 -0500)]
Replace some colons in Texinfo index entries

* doc/lispintro/emacs-lisp-intro.texi (Recursive Patterns):
* doc/misc/mh-e.texi, doc/misc/viper.texi:
Do not use colons in index entries.

Fixes: debbugs:16652

10 years agoNEWS fixes.
Glenn Morris [Thu, 6 Feb 2014 01:51:20 +0000 (20:51 -0500)]
NEWS fixes.

10 years agoDefine and use `completion-table-merge'
Dmitry Gutov [Thu, 6 Feb 2014 01:22:38 +0000 (03:22 +0200)]
Define and use `completion-table-merge'

* lisp/minibuffer.el (completion-table-merge): New function.

* lisp/emacs-lisp/lisp.el (lisp-completion-at-point): Use
`completion-table-merge' instead of `completion-table-in-turn'.

Fixes: debbugs:16604

10 years agoMerge from gnulib.
Paul Eggert [Wed, 5 Feb 2014 19:41:03 +0000 (11:41 -0800)]
Merge from gnulib.

This incorporates:

2014-01-23 pthread: work around winpthread header pollution on mingw
* lib/time.in.h: Update from gnulib.

* doc/misc/texinfo.tex: Update from texinfo.

10 years agoFix last fix of note_mouse_highlight
Martin Rudalics [Wed, 5 Feb 2014 18:37:36 +0000 (19:37 +0100)]
Fix last fix of note_mouse_highlight

10 years agoSpelling fix.
Paul Eggert [Wed, 5 Feb 2014 18:27:11 +0000 (10:27 -0800)]
Spelling fix.

10 years agosrc/w32.c: Fix typos in commentary.
Eli Zaretskii [Wed, 5 Feb 2014 17:33:43 +0000 (19:33 +0200)]
src/w32.c: Fix typos in commentary.

10 years agosrc/w32fns.c (Fw32_shell_execute): Doc fix.
Eli Zaretskii [Wed, 5 Feb 2014 16:50:53 +0000 (18:50 +0200)]
src/w32fns.c (Fw32_shell_execute): Doc fix.

10 years agoMake heredocs more robust in Tramp.
Michael Albinus [Wed, 5 Feb 2014 14:11:50 +0000 (15:11 +0100)]
Make heredocs more robust in Tramp.

* net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
(tramp-sh-handle-set-file-acl)
(tramp-sh-handle-start-file-process)
(tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
(tramp-find-executable, tramp-send-command): Use it.

10 years agoUse proper configure option `--without-file-notification'.
Michael Albinus [Wed, 5 Feb 2014 11:45:01 +0000 (12:45 +0100)]
Use proper configure option `--without-file-notification'.

10 years agoIn draw_fringe_bitmap_1 don't draw fringe if it's outside the window (Bug#16649).
Martin Rudalics [Wed, 5 Feb 2014 10:46:44 +0000 (11:46 +0100)]
In draw_fringe_bitmap_1 don't draw fringe if it's outside the window (Bug#16649).

* fringe.c (draw_fringe_bitmap_1): Don't draw a fringe if it's
outside the window (Bug#16649).

10 years agoFix bug #16453.
Bastien Guerry [Wed, 5 Feb 2014 10:31:09 +0000 (11:31 +0100)]
Fix bug #16453.

* syntax.c (Fforward_word): Call Fconstrain_to_field with
ESCAPE-FROM-EDGE set to `nil' (Bug#16453).

10 years agoFix cursor appearance in note_mouse_highlight (Bug#16647).
Martin Rudalics [Wed, 5 Feb 2014 09:24:55 +0000 (10:24 +0100)]
Fix cursor appearance in note_mouse_highlight (Bug#16647).

* xdisp.c (note_mouse_highlight): When entering a margin area show
a non-text cursor (Bug#16647).

10 years ago* lisp/epa.el (epa-mail-aliases): Fic custom type. Doc tweak.
Glenn Morris [Wed, 5 Feb 2014 08:37:39 +0000 (00:37 -0800)]
* lisp/epa.el (epa-mail-aliases): Fic custom type.  Doc tweak.

* etc/NEWS: Related edit.

10 years ago* doc/misc/epa.texi: Add indices.
Glenn Morris [Wed, 5 Feb 2014 08:35:24 +0000 (00:35 -0800)]
* doc/misc/epa.texi: Add indices.

10 years agoSome doc for url-cookie-list
Glenn Morris [Wed, 5 Feb 2014 07:46:40 +0000 (23:46 -0800)]
Some doc for url-cookie-list

* lisp/url/url-cookie.el (url-cookie-list): Doc fix.

* doc/misc/url.texi (Cookies): Mention url-cookie-list command.

* etc/NEWS: Related edit.

10 years agolisp/gnus/gnus-int.el (gnus-request-accept-article): Doc fix
Lars Ingebrigtsen [Wed, 5 Feb 2014 04:35:29 +0000 (04:35 +0000)]
lisp/gnus/gnus-int.el (gnus-request-accept-article): Doc fix

10 years ago* progmodes/python.el (python-shell-send-string):
Fabián Ezequiel Gallina [Tue, 4 Feb 2014 19:35:52 +0000 (16:35 -0300)]
* progmodes/python.el (python-shell-send-string):
(python-shell-send-string-no-output): Fix docstring.

Fixes: debbugs:16547

10 years ago* menu.c (Fx_popup_dialog): Remove label 'dialog_via_menu'.
Paul Eggert [Tue, 4 Feb 2014 19:24:09 +0000 (11:24 -0800)]
* menu.c (Fx_popup_dialog): Remove label 'dialog_via_menu'.

It prompted a compile-time diagnostic on GNU/Linux.
Simplify to remove the need for the label.

10 years ago* lisp/emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
Anders Lindgren [Tue, 4 Feb 2014 17:37:08 +0000 (12:37 -0500)]
* lisp/emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
the names.

Fixes: debbugs:16620

10 years agosrc/w32fns.c (Fw32_shell_execute): Improve commentary.
Eli Zaretskii [Tue, 4 Feb 2014 16:25:52 +0000 (18:25 +0200)]
src/w32fns.c (Fw32_shell_execute): Improve commentary.

10 years agoFix bug #16636 with simple dialogs on MS-Windows.
Eli Zaretskii [Tue, 4 Feb 2014 16:13:51 +0000 (18:13 +0200)]
Fix bug #16636 with simple dialogs on MS-Windows.

 src/w32menu.c (w32_popup_dialog): Don't condition the whole function
 on HAVE_DIALOGS.  If the dialog is "simple", pop up a message box
 to show it; otherwise return 'unsupported--w32-dialog' to signal
 to the caller that emulation with menus is necessary.  This
 resurrects code inadvertently deleted by the 2013-10-08 commit.
 (syms_of_w32menu): DEFSYM Qunsupported__w32_dialog.
 src/w32term.h (w32_popup_dialog): Prototype is no longer conditioned
 by HAVE_DIALOGS.
 src/menu.c (Fx_popup_dialog): Don't condition the call to
 w32_popup_dialog on HAVE_DIALOGS.  If w32_popup_dialog returns a
 special symbol 'unsupported--w32-dialog', emulate the dialog with
 a menu by calling x-popup-menu.
 src/menu.h (Qunsupported__w32_dialog): New extern variable.

10 years ago* automated/file-notify-tests.el (file-notify--wait-for-events):
Michael Albinus [Tue, 4 Feb 2014 11:41:20 +0000 (12:41 +0100)]
* automated/file-notify-tests.el (file-notify--wait-for-events):
Use `read-event' instead of `sit-for'.
(file-notify-test02-events): Remove expected result, the bug is
fixed meanwhile.
(file-notify-test02-events, file-notify-test03-autorevert):
Use `sleep-for' instead of `sit-for'.

10 years ago* keyboard.c (kbd_buffer_get_event): Read file notification events
Michael Albinus [Tue, 4 Feb 2014 11:40:31 +0000 (12:40 +0100)]
* keyboard.c (kbd_buffer_get_event): Read file notification events
also in batch mode.

* xgselect.c (xg_select): Read glib events in any case, even if
there are no file descriptors to watch for.  (Bug#16519)

10 years agoImprove window dividers code.
Martin Rudalics [Tue, 4 Feb 2014 07:36:58 +0000 (08:36 +0100)]
Improve window dividers code.

* faces.el (window-divider): New default value.  Rewrite
doc-string.
(window-divider-first-pixel, window-divider-last-pixel): New
faces.
* dispextern.h (face_id): Add WINDOW_DIVIDER_FIRST_PIXEL_FACE_ID
and WINDOW_DIVIDER_LAST_PIXEL_FACE_ID.
* w32term.c (w32_draw_window_divider): Handle first and last
pixels specially.
* w32term.h (w32_fill_area_abs): New function.
* xdisp.c (x_draw_right_divider): Don't draw over bottom
divider.
* xfaces.c (realize_basic_faces): Handle new face ids.
* xfns.c (Fx_create_frame): Call x_default_parameter for right
and bottom divider width.
* xterm.c (x_draw_window_divider): Handle first and last pixels
specially.

10 years ago* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
Dmitry Gutov [Mon, 3 Feb 2014 15:59:39 +0000 (17:59 +0200)]
* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
`protected' and `public' can also be called without arguments.

10 years ago* eval.c (call_debugger): Grow specpdl if the debugger was
Dmitry Antipov [Mon, 3 Feb 2014 09:37:43 +0000 (13:37 +0400)]
* eval.c (call_debugger): Grow specpdl if the debugger was
entered due to specpdl overflow (Bug#16603) and allow more
specpdl space for the debugger itself.

10 years agoTidy up some -to-register function argument specs
Glenn Morris [Mon, 3 Feb 2014 07:56:44 +0000 (23:56 -0800)]
Tidy up some -to-register function argument specs

* lisp/register.el (window-configuration-to-register)
(frame-configuration-to-register): Unadvertise unused argument.

* lisp/frameset.el (frameset-to-register): Remove unused argument.

10 years agoRevert earlier desktop-auto-save doc changes
Glenn Morris [Mon, 3 Feb 2014 07:35:44 +0000 (23:35 -0800)]
Revert earlier desktop-auto-save doc changes

I don't understand this feature.

10 years ago* doc/misc/cl.texi (Blocks and Exits): Tweak earlier change.
Glenn Morris [Mon, 3 Feb 2014 07:26:59 +0000 (23:26 -0800)]
* doc/misc/cl.texi (Blocks and Exits): Tweak earlier change.

10 years ago* print.c (Fexternal_debugging_output): Add cast to pacify
Dmitry Antipov [Mon, 3 Feb 2014 07:05:28 +0000 (11:05 +0400)]
* print.c (Fexternal_debugging_output): Add cast to pacify
--enable-gcc-warnings.

10 years agoSome doc for desktop-auto-save-timeout
Glenn Morris [Mon, 3 Feb 2014 03:12:29 +0000 (19:12 -0800)]
Some doc for desktop-auto-save-timeout

* doc/emacs/misc.texi (Saving Emacs Sessions):
Mention desktop-auto-save-timeout.

* lisp/desktop.el (desktop-save-mode): Doc fix.

* etc/NEWS: Related edit.

10 years ago* doc/misc/cl.texi (Blocks and Exits): Mention cl-tagbody.
Glenn Morris [Mon, 3 Feb 2014 02:58:13 +0000 (18:58 -0800)]
* doc/misc/cl.texi (Blocks and Exits): Mention cl-tagbody.

* etc/NEWS: Related edit.

10 years ago* etc/NEWS: Mention register-read-with-preview.
Glenn Morris [Mon, 3 Feb 2014 01:03:11 +0000 (17:03 -0800)]
* etc/NEWS: Mention register-read-with-preview.

10 years agoBe more consistent in using register-read-with-preview to read registers
Glenn Morris [Mon, 3 Feb 2014 00:40:49 +0000 (16:40 -0800)]
Be more consistent in using register-read-with-preview to read registers

* frameset.el (frameset-to-register):
* kmacro.el (kmacro-to-register):
* register.el (increment-register):
* calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
(calc-append-to-register, calc-prepend-to-register):
* play/gametree.el (gametree-layout-to-register)
(gametree-apply-register-layout):
* textmodes/picture.el (picture-clear-rectangle-to-register)
(picture-yank-rectangle-from-register):
* vc/emerge.el (emerge-combine-versions-register):
Use register-read-with-preview to read registers.

* cedet/semantic/senator.el (senator-copy-tag-to-register):
Use register-read-with-preview, if available.

* calculator.el, emulation/viper-cmd.el: Comments.

10 years agoFix `electric-pair-backward-delete-char' error at bob
João Távora [Mon, 3 Feb 2014 00:28:57 +0000 (00:28 +0000)]
Fix `electric-pair-backward-delete-char' error at bob

* lisp/elec-pair.el (electric-pair-backward-delete-char): Don't error
when at beginning of (possibly narrowed) buffer.

10 years agoMake help-at-point stuff also look just before point
Daniel Colascione [Sun, 2 Feb 2014 22:21:33 +0000 (14:21 -0800)]
Make help-at-point stuff also look just before point

10 years agoc-parse-state. Don't "append-lower-brace-pair" in certain
Alan Mackenzie [Sun, 2 Feb 2014 16:28:52 +0000 (16:28 +0000)]
c-parse-state.  Don't "append-lower-brace-pair" in certain
circumstances.  Also fix an obscure bug where "\\s!" shouldn't be
recognised as a comment.

* progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
as well as normal comment starter.
(c-parse-state-get-strategy): Extra return possibility
'back-and-forward.
(c-remove-stale-state-cache): Extra element CONS-SEPARATED in
return value list to indicate replacement of a brace-pair cons
with its car.
(c-parse-state-1): With 'back-and-forward, only call
c-append-lower-brace-pair-to state-cache when cons-separated.

10 years agoDisallow suspend-emacs under NS
Jan Djärv [Sun, 2 Feb 2014 14:10:50 +0000 (15:10 +0100)]
Disallow suspend-emacs under NS

* term/ns-win.el (ns-suspend-error): New function.
(ns-initialize-window-system): Add ns-suspend-error to
suspend-hook.

Fixes: debbugs:16612

10 years agoIn Fx_create_frame of w32fns.c process frame alpha earlier. (Bug#16619)
Martin Rudalics [Sun, 2 Feb 2014 13:00:41 +0000 (14:00 +0100)]
In Fx_create_frame of w32fns.c process frame alpha earlier.  (Bug#16619)

* w32fns.c (Fx_create_frame): Process frame alpha earlier.  (Bug#16619)

10 years agoMake loading cc-mode silent
Daniel Colascione [Sun, 2 Feb 2014 10:25:29 +0000 (02:25 -0800)]
Make loading cc-mode silent

10 years agoTweak comint docstring to suggest remap bindings
Daniel Colascione [Sun, 2 Feb 2014 07:51:26 +0000 (23:51 -0800)]
Tweak comint docstring to suggest remap bindings

10 years agoregister.el doc fixes
Glenn Morris [Sun, 2 Feb 2014 03:42:20 +0000 (19:42 -0800)]
register.el doc fixes

* lisp/register.el (register-read-with-preview, point-to-register)
(window-configuration-to-register, frame-configuration-to-register)
(jump-to-register, number-to-register, view-register, insert-register)
(copy-to-register, append-to-register, prepend-to-register)
(copy-rectangle-to-register): Doc fixes.

10 years ago* lisp/help-fns.el (help-C-file-name): Handle advised functions.
Stefan Monnier [Sun, 2 Feb 2014 02:25:05 +0000 (21:25 -0500)]
* lisp/help-fns.el (help-C-file-name): Handle advised functions.
* lisp/emacs-lisp/find-func.el (find-function-C-source): Idem.
* lisp/emacs-lisp/nadvice.el (advice--cd*r): New function.
* help-fns.el (describe-function-1): Use it.

Fixes: debbugs:16478

10 years ago* doc/misc/efaq-w32.texi (Tramp ssh): Remove deleted tramp methods.
Glenn Morris [Sun, 2 Feb 2014 01:16:18 +0000 (17:16 -0800)]
* doc/misc/efaq-w32.texi (Tramp ssh): Remove deleted tramp methods.

* etc/NEWS: Related edits.

10 years agoregister preview fixes
Glenn Morris [Sun, 2 Feb 2014 01:04:08 +0000 (17:04 -0800)]
register preview fixes

* doc/emacs/regs.texi (Registers): Mention previewing.

* lisp/register.el (register-preview-default): New function,
split from register-preview.
(register-preview-function): Rename from register-preview-functions,
make it not a hook.
(register-preview): Use register-preview-function.
(register-read-with-preview): Error on non-character event.

* etc/NEWS: Related markup.

Fixes: debbugs:16595

10 years agoAttempt to solve bug #16615 by using a more accurate function prototype.
Eli Zaretskii [Sat, 1 Feb 2014 20:10:37 +0000 (22:10 +0200)]
Attempt to solve bug #16615 by using a more accurate function prototype.

 src/w32fns.c (Ffile_system_info): Use WINAPI in the function
 pointers that get the address of GetDiskFreeSpaceEx.

10 years agoFix bug#16610
Dmitry Gutov [Sat, 1 Feb 2014 17:06:08 +0000 (19:06 +0200)]
Fix bug#16610

* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): For built-ins
that require arguments, check that they're followed by something that
looks like argument.

10 years agoFix bug#16609
Dmitry Gutov [Sat, 1 Feb 2014 14:54:58 +0000 (16:54 +0200)]
Fix bug#16609

* lisp/progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
`:' before binary operators.  Don't check for `:'
before `[' and `(', or their syntax status.  A percent literal
can't end with either.

10 years agoFix bug #16448 with non-ASCII error messages in batch mode.
Eli Zaretskii [Sat, 1 Feb 2014 11:53:10 +0000 (13:53 +0200)]
Fix bug #16448 with non-ASCII error messages in batch mode.

 src/print.c (Fexternal_debugging_output): If the argument character
 is non-ASCII, encode it with the current locale's encoding before
 writing the result to the terminal.

10 years agoAuto-commit of loaddefs files.
Glenn Morris [Sat, 1 Feb 2014 11:17:37 +0000 (06:17 -0500)]
Auto-commit of loaddefs files.

10 years agoFix bug #16558 with w32-shell-execute on remote file names.
Eli Zaretskii [Sat, 1 Feb 2014 09:22:51 +0000 (11:22 +0200)]
Fix bug #16558 with w32-shell-execute on remote file names.

 src/w32fns.c (Fw32_shell_execute): Don't call file-exists-p for
 DOCUMENT that is a "remote" file name, i.e. a file-handler exists
 for it.

10 years agonnir mark update fix
Lars Ingebrigtsen [Sat, 1 Feb 2014 08:26:31 +0000 (00:26 -0800)]
nnir mark update fix

* nnir.el (nnir-request-update-mark): Don't try to update the source
group if we can't find it (bug#16611).

10 years agoCheck in forgotten ChangeLog entry from previous nbutlast change
Lars Ingebrigtsen [Sat, 1 Feb 2014 07:55:57 +0000 (23:55 -0800)]
Check in forgotten ChangeLog entry from previous nbutlast change

10 years ago* subr.el (butlast): Document what an omitted N means.
Lars Ingebrigtsen [Sat, 1 Feb 2014 07:54:29 +0000 (23:54 -0800)]
* subr.el (butlast): Document what an omitted N means.

* subr.el (butlast): Document what an omitted N means.
(nbutlast): Ditto.

Fixes: debbugs:13437

10 years agoMake shr respect privacy when viewing documents with SVG images
Lars Ingebrigtsen [Fri, 31 Jan 2014 21:44:11 +0000 (13:44 -0800)]
Make shr respect privacy when viewing documents with SVG images

(shr-tag-svg): Respect `shr-inhibit-images'.
(shr-dom-to-xml): Respect `shr-blocked-images'.

Fixes: debbugs:15882

10 years agoMake shr-generic into a defsusbt to make the stack shallower
Lars Ingebrigtsen [Fri, 31 Jan 2014 21:08:13 +0000 (13:08 -0800)]
Make shr-generic into a defsusbt to make the stack shallower

* net/shr.el (shr-generic): Make into a defsubst to make the stack
depth shallower.

10 years agoFixup the documentation for the previous change
Dmitry Gutov [Fri, 31 Jan 2014 17:33:12 +0000 (19:33 +0200)]
Fixup the documentation for the previous change

* etc/NEWS: Mention `ruby-align-chained-calls'.

* lisp/progmodes/ruby-mode.el (ruby-align-chained-calls): Update the
  docstring and add :version tag.

Fixes: debbugs:16593

10 years agoImplement user option ruby-align-chained-calls
Dmitry Gutov [Fri, 31 Jan 2014 17:13:49 +0000 (19:13 +0200)]
Implement user option ruby-align-chained-calls

* lisp/progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
(ruby-smie-grammar): Make "." right-associative.  Make its priority
lower than the ternary and all binary operators.
(ruby-smie-rules): Indent "(" relative to the first non-"."
parent, or the first "." parent at indentation.  Use
`ruby-align-chained-calls' for indentation of "." tokens.

* test/automated/ruby-mode-tests.el (ruby-align-chained-calls):
New test.

Fixes: debbugs:16593

10 years agolisp/gnus/nnimap.el (nnimap-transform-headers): Partially revert mistakenly checked...
Lars Ingebrigtsen [Fri, 31 Jan 2014 10:13:28 +0000 (10:13 +0000)]
lisp/gnus/nnimap.el (nnimap-transform-headers): Partially revert mistakenly checked-in test code from last checkin

10 years agoMisc small fixes.
Juri Linkov [Fri, 31 Jan 2014 09:41:54 +0000 (11:41 +0200)]
Misc small fixes.

* doc/lispref/searching.texi (String Search): Incremental word search fixes.

* lisp/sort.el (delete-duplicate-lines): Remove `:weakness 'key'
from `make-hash-table'.

* lisp/textmodes/ispell.el (ispell-init-process): Change message format
to be consistent with other messages.

10 years agolisp/gnus/nnimap.el (nnimap-transform-headers): Fix Davmail header parsing
Lars Ingebrigtsen [Fri, 31 Jan 2014 08:33:13 +0000 (08:33 +0000)]
lisp/gnus/nnimap.el (nnimap-transform-headers): Fix Davmail header parsing

10 years agoDelete Selection mode doc updates
Glenn Morris [Fri, 31 Jan 2014 07:28:17 +0000 (23:28 -0800)]
Delete Selection mode doc updates

* lisp/delsel.el (delete-selection-mode): Doc fix.

* doc/misc/efaq.texi (Replacing highlighted text):
Update delete-selection-mode doc.

* etc/NEWS: Related edit.

10 years agotrace.el doc updates
Glenn Morris [Fri, 31 Jan 2014 07:15:54 +0000 (23:15 -0800)]
trace.el doc updates

* lisp/emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
(trace-function-background): Doc fixes.

Commentary update for this package now using nadvice.el, not advice.el.

* etc/NEWS: Related edits.

10 years ago* lisp/erc/erc.el (erc-accidental-paste-threshold-seconds): Doc tweak.
Glenn Morris [Fri, 31 Jan 2014 06:39:51 +0000 (22:39 -0800)]
* lisp/erc/erc.el (erc-accidental-paste-threshold-seconds): Doc tweak.

* etc/NEWS: Related markup.

10 years ago* lisp/ido.el (ido-use-virtual-buffers): Doc fix.
Glenn Morris [Fri, 31 Jan 2014 06:34:44 +0000 (22:34 -0800)]
* lisp/ido.el (ido-use-virtual-buffers): Doc fix.
Reset :version, since the default value has not changed.

* etc/NEWS: Related edits.

10 years agoSome doc related to register-preview
Glenn Morris [Fri, 31 Jan 2014 06:20:29 +0000 (22:20 -0800)]
Some doc related to register-preview

* lisp/register.el (register-preview-delay, register-read-with-preview):
Doc fixes.

* etc/NEWS: Related edits.

10 years agoChangeLog fixes
Glenn Morris [Fri, 31 Jan 2014 02:43:03 +0000 (21:43 -0500)]
ChangeLog fixes

10 years agoFix for c-submit-bug-report and reporter.el void-variable handling
Glenn Morris [Fri, 31 Jan 2014 02:39:40 +0000 (21:39 -0500)]
Fix for c-submit-bug-report and reporter.el void-variable handling

* lisp/mail/reporter.el (reporter-dump-variable): In case of void-variable,
do not mess with mail-buffer position (fixes 2009-11-03 change).

* lisp/progmodes/cc-mode.el (c-submit-bug-report):
Check auto-fill-mode is bound.

Fixes: debbugs:16592

10 years agoFix for fancy-splash image inconsistency
Darren Hoo [Fri, 31 Jan 2014 01:58:51 +0000 (20:58 -0500)]
Fix for fancy-splash image inconsistency

* lisp/startup.el (fancy-splash-image-file): New function,
split from fancy-splash-head.
(fancy-splash-head, use-fancy-splash-screens-p): Use it,
so that we are both using the same image.

Fixes: debbugs:16574

10 years agoMisc bugfixes made in Gnus master
Gnus developers [Fri, 31 Jan 2014 01:56:00 +0000 (01:56 +0000)]
Misc bugfixes made in Gnus master

2014-01-31 Alex Schroeder <alex@gnu.org> (tiny change)
  * gnus-tut.txt (Message-ID): Typo fix (bug#15556).
2014-01-31 Dave Abrahams <dave@boostpro.com>
  * gnus-salt.el (gnus-tree-highlight-article): Don't move point around
  in the summary buffer (bug#13769).
2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
  * gnus-art.el (gnus-article-setup-buffer): Refresh the summary buffer
  name if we're using a single article buffer. Otherwise, it may point
  to a killed buffer (bug#13756).
2014-01-30 Lars Ingebrigtsen <larsi@gnus.org>
  * nnmail.el (nnmail-split-it): Instead of redoing the search to restore
  the match data, just save and restore it explictly (bug#12375).
  * gnus-sum.el (gnus-summary-read-group-1): Initialize the spam code if
  that's needed.
  * spam.el (spam-initialize): Allow calling repeatedly, but only run the
  the code once (bug#9069).

10 years agoRevert last commit in mouse.el.
Eli Zaretskii [Thu, 30 Jan 2014 17:42:48 +0000 (19:42 +0200)]
Revert last commit in mouse.el.

10 years agoDon't ignore SIGPROF in subprocesses
Andreas Schwab [Thu, 30 Jan 2014 17:22:30 +0000 (18:22 +0100)]
Don't ignore SIGPROF in subprocesses

* process.c (create_process): Reset SIGPROF handler in the child.
* callproc.c (call_process): Likewise.

10 years agoIn mouse-drag-line obey window-resize-pixelwise (Bug#16594).
Martin Rudalics [Thu, 30 Jan 2014 13:19:19 +0000 (14:19 +0100)]
In mouse-drag-line obey window-resize-pixelwise (Bug#16594).

* mouse.el (mouse-drag-line): When window-resize-pixelwise is
nil call adjust-window-trailing-edge with suitable arguments
(Bug#16594).

10 years agoAuto-commit of loaddefs files.
Glenn Morris [Thu, 30 Jan 2014 11:19:16 +0000 (06:19 -0500)]
Auto-commit of loaddefs files.

10 years ago* etc/NEWS: ElDoc related edit.
Glenn Morris [Thu, 30 Jan 2014 07:54:28 +0000 (23:54 -0800)]
* etc/NEWS: ElDoc related edit.

* lisp/emacs-lisp/eldoc.el: Related commentary.

10 years ago* lisp/simple.el (eval-expression): Doc fix.
Glenn Morris [Thu, 30 Jan 2014 07:48:06 +0000 (23:48 -0800)]
* lisp/simple.el (eval-expression): Doc fix.

* etc/NEWS: Add missing entry.

10 years agoReplace refs to obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'
Glenn Morris [Thu, 30 Jan 2014 07:42:57 +0000 (23:42 -0800)]
Replace refs to obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'

* lisp/hexl.el (hexl-mode-hook):
* lisp/ielm.el (ielm-mode-hook):
* lisp/emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
(lisp-interaction-mode-hook):
* lisp/progmodes/cfengine.e (cfengine3-documentation-function):
Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.

* lisp/emacs-lisp/eldoc.el: Same in commentary.

10 years ago* eieio-opt.el (eieio-help-generic): Fix last change.
Stefan Monnier [Thu, 30 Jan 2014 04:13:00 +0000 (23:13 -0500)]
* eieio-opt.el (eieio-help-generic): Fix last change.

Fixes: debbugs:16584

10 years ago* lisp/emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
Stefan Monnier [Thu, 30 Jan 2014 04:02:28 +0000 (23:02 -0500)]
* lisp/emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
is a symbol.

Fixes: debbugs:16584

10 years ago* doc/misc/sem-user.texi (Include paths): Fix a Texinfo command.
Xue Fuqiao [Thu, 30 Jan 2014 03:41:34 +0000 (11:41 +0800)]
* doc/misc/sem-user.texi (Include paths): Fix a Texinfo command.

10 years ago* lisp/help.el (help-for-help-internal): Add "P" to text.
Glenn Morris [Thu, 30 Jan 2014 02:40:19 +0000 (21:40 -0500)]
* lisp/help.el (help-for-help-internal): Add "P" to text.

10 years ago* xmenu.c (create_and_show_popup_menu): Port comment to C89.
Paul Eggert [Wed, 29 Jan 2014 18:39:11 +0000 (10:39 -0800)]
* xmenu.c (create_and_show_popup_menu): Port comment to C89.

10 years agoFix printing empty Lisp strings.
Eli Zaretskii [Wed, 29 Jan 2014 18:17:20 +0000 (20:17 +0200)]
Fix printing empty Lisp strings.

 src/.gdbinit (xprintstr, xprintbytestr): Don't use repetition count
 of zero to print strings, GDB doesn't like it.

10 years agosrc/indent.c (current_column_1): Correct commentary.
Eli Zaretskii [Wed, 29 Jan 2014 18:04:11 +0000 (20:04 +0200)]
src/indent.c (current_column_1): Correct commentary.

10 years agoFix bug #16576 with PRINTCHARFUN that conses output a lot.
Eli Zaretskii [Wed, 29 Jan 2014 17:52:16 +0000 (19:52 +0200)]
Fix bug #16576 with PRINTCHARFUN that conses output a lot.

 src/print.c (print_object): Use FETCH_STRING_CHAR_ADVANCE, not
 STRING_CHAR_AND_LENGTH, so that if the string is relocated by GC,
 we still use correct addresses.

10 years agomerge trunk
Kenichi Handa [Wed, 29 Jan 2014 13:39:00 +0000 (22:39 +0900)]
merge trunk

10 years agoFix bug#16286 by the different way than 2014-01-26T00:32:30Z!eggert@cs.ucla.edu to...
Kenichi Handa [Wed, 29 Jan 2014 13:21:25 +0000 (22:21 +0900)]
Fix bug#16286 by the different way than 2014-01-26T00:32:30Z!eggert@cs.ucla.edu to preserve the code detection behavior of 24.3.

10 years agoIn x_set_tool_bar_lines of w32fns.c don't clear area on frames that are not visible.
Martin Rudalics [Wed, 29 Jan 2014 10:29:14 +0000 (11:29 +0100)]
In x_set_tool_bar_lines of w32fns.c don't clear area on frames that are not visible.

* w32fns.c (x_set_tool_bar_lines): Don't clear area on frames
that are not visible.

10 years ago* etc/NEWS: Don't use a separate section for single entries
Glenn Morris [Wed, 29 Jan 2014 08:36:32 +0000 (00:36 -0800)]
* etc/NEWS: Don't use a separate section for single entries

10 years ago* lisp/hippie-exp.el: Header comment changes.
Glenn Morris [Wed, 29 Jan 2014 08:31:50 +0000 (00:31 -0800)]
* lisp/hippie-exp.el: Header comment changes.
Remove pointless+wrong "last change" header.
Set Maintainer to FSF, since original author has made no changes in 16+ years.

10 years agoSome doc for cycle-spacing
Glenn Morris [Wed, 29 Jan 2014 08:27:55 +0000 (00:27 -0800)]
Some doc for cycle-spacing

* lisp/simple.el (just-one-space, cycle-spacing): Doc fixes.

* doc/emacs/killing.texi (Deletion): Mention cycle-spacing.

* doc/lispref/text.texi: Comment.

* etc/NEWS: Related edits.

10 years ago* xmenu.c (create_and_show_popup_menu): Handle case when no key
Jan Djärv [Wed, 29 Jan 2014 08:23:59 +0000 (09:23 +0100)]
* xmenu.c (create_and_show_popup_menu): Handle case when no key
is grabbed.

Fixes: debbugs:16565

10 years agoFix Fwindow_text_pixel_size and fit-frame-to-buffer.
Martin Rudalics [Tue, 28 Jan 2014 09:45:37 +0000 (10:45 +0100)]
Fix Fwindow_text_pixel_size and fit-frame-to-buffer.

* xdisp.c (last_max_ascent): Re-remove after erroneously
reintroducing it on 2013-11-30 and abolishing Dmitry's removal
from 2013-03-29.
(move_it_to): Re-remove reference to last_max_ascent.
(Fwindow_text_pixel_size): Add iterator's max_ascent and
max_descent here instead of calling line_bottom_y.  Fix
doc-string.

* window.el (fit-frame-to-buffer): Fix calculations for margins and
height constraints.

10 years ago* xfaces.c (free_frame_faces): Adjust comment.
Dmitry Antipov [Tue, 28 Jan 2014 07:43:24 +0000 (11:43 +0400)]
* xfaces.c (free_frame_faces): Adjust comment.

10 years agoAggregate hideif parser enhancements for a complete supporting of C/C++
Luke Lee [Tue, 28 Jan 2014 07:02:34 +0000 (15:02 +0800)]
Aggregate hideif parser enhancements for a complete supporting of C/C++
expressions and operator precedence. Also apply code review changes.

* lisp/progmodes/hideif.el : Related enhancements.

10 years ago* terminal.c (initial_free_frame_resources): New function.
Dmitry Antipov [Tue, 28 Jan 2014 05:55:06 +0000 (09:55 +0400)]
* terminal.c (initial_free_frame_resources): New function.
(init_initial_terminal): Install new hook to free face cache
on initial frame and avoid memory leak.  For details, see
<http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01974.html>.

10 years agoTweak previous fill-single-char-nobreak-p doc change
Glenn Morris [Tue, 28 Jan 2014 03:00:20 +0000 (22:00 -0500)]
Tweak previous fill-single-char-nobreak-p doc change

10 years agoDoc for fill-single-char-nobreak-p
Glenn Morris [Tue, 28 Jan 2014 02:50:16 +0000 (21:50 -0500)]
Doc for fill-single-char-nobreak-p

* doc/emacs/text.texi (Fill Commands): Mention fill-single-char-nobreak-p.

* lisp/textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.

* etc/NEWS: Related edit.