bpt/emacs.git
10 years agoFix bug #14762 with insufficient and outdated w32 installation documentation.
Eli Zaretskii [Sat, 8 Feb 2014 10:25:33 +0000 (12:25 +0200)]
Fix bug #14762 with insufficient and outdated w32 installation documentation.

 nt/INSTALL: Update for Emacs 24.4.
 nt/README: Update for Emacs 24.4.
 nt/README.W32: Update and improve instructions.

10 years ago* lisp/isearch.el (isearch-quote-char): Check character validity like in `quoted...
Juri Linkov [Sat, 8 Feb 2014 10:20:45 +0000 (12:20 +0200)]
* lisp/isearch.el (isearch-quote-char): Check character validity like in `quoted-insert'.

Fixes: debbugs:16677

10 years ago* files.el (find-file-visit-truename): Doc clarification (bug#14697).
Lars Ingebrigtsen [Sat, 8 Feb 2014 06:58:15 +0000 (22:58 -0800)]
* files.el (find-file-visit-truename): Doc clarification (bug#14697).

10 years ago* isearch.el (isearch-cmds): Doc clarification.
Lars Ingebrigtsen [Sat, 8 Feb 2014 06:56:18 +0000 (22:56 -0800)]
* isearch.el (isearch-cmds): Doc clarification.

Fixes: debbugs:15547

10 years ago* search.texi (Search Case) doc tweak
Lars Ingebrigtsen [Sat, 8 Feb 2014 06:51:42 +0000 (22:51 -0800)]
* search.texi (Search Case) doc tweak

* search.texi (Search Case): Rearrange text slightly to make it
obvious that `M-c' also toggles sensitivity if `case-fold-search'
is nil.

Fixes: debbugs:14726

10 years ago* README.W32: Say what GnuTLS and libxml2 does.
Lars Ingebrigtsen [Sat, 8 Feb 2014 06:36:11 +0000 (22:36 -0800)]
* README.W32: Say what GnuTLS and libxml2 does.

10 years ago* simple.el (line-move): Document utility function used many
Lars Ingebrigtsen [Sat, 8 Feb 2014 06:28:12 +0000 (22:28 -0800)]
* simple.el (line-move): Document utility function used many
places in the Emacs sources.

Fixes: debbugs:14843

10 years ago(dired-up-directory): Doc fix (bug#14848).
Lars Ingebrigtsen [Sat, 8 Feb 2014 06:20:17 +0000 (22:20 -0800)]
(dired-up-directory): Doc fix (bug#14848).

10 years ago(dired-prev-marked-file): Doc fix (bug#14855).
Lars Ingebrigtsen [Sat, 8 Feb 2014 06:16:23 +0000 (22:16 -0800)]
(dired-prev-marked-file): Doc fix (bug#14855).

10 years ago* dired.el (dired-mode-map): Make :help text more accurate.
Lars Ingebrigtsen [Sat, 8 Feb 2014 06:10:22 +0000 (22:10 -0800)]
* dired.el (dired-mode-map): Make :help text more accurate.

Fixes: debbugs:14893

10 years ago* display.texi (Face Attributes): Add an index.
Lars Ingebrigtsen [Sat, 8 Feb 2014 05:32:54 +0000 (21:32 -0800)]
* display.texi (Face Attributes): Add an index.

Fixes: debbugs:14924

10 years ago* minibuffer.el (read-file-name): Doc clarification.
Lars Ingebrigtsen [Sat, 8 Feb 2014 05:15:31 +0000 (21:15 -0800)]
* minibuffer.el (read-file-name): Doc clarification.

Fixes: debbugs:15096

10 years ago* syntax.c (Fskip_syntax_backward): Doc clarification.
Lars Ingebrigtsen [Sat, 8 Feb 2014 05:12:47 +0000 (21:12 -0800)]
* syntax.c (Fskip_syntax_backward): Doc clarification.

Fixes: debbugs:15115

10 years ago* files.el (file-relative-name): Doc fix.
Lars Ingebrigtsen [Sat, 8 Feb 2014 04:53:52 +0000 (20:53 -0800)]
* files.el (file-relative-name): Doc fix.

Fixes: debbugs:15159

10 years ago* fringe.el (fringe-styles): Doc fix.
Lars Ingebrigtsen [Sat, 8 Feb 2014 04:40:26 +0000 (20:40 -0800)]
* fringe.el (fringe-styles): Doc fix.

Fixes: debbugs:15239

10 years ago* minibuf.c (Fread_string): Doc clarification.
Lars Ingebrigtsen [Sat, 8 Feb 2014 04:23:25 +0000 (20:23 -0800)]
* minibuf.c (Fread_string): Doc clarification.

Fixes: debbugs:15422

10 years ago* isearch.el (isearch-filter-predicate): Documentation typo fix
Lars Ingebrigtsen [Sat, 8 Feb 2014 04:14:16 +0000 (20:14 -0800)]
* isearch.el (isearch-filter-predicate): Documentation typo fix

Fixes: debbugs:15474

10 years ago* buffer.c (Fmake_overlay): Doc clarification.
Lars Ingebrigtsen [Sat, 8 Feb 2014 04:11:52 +0000 (20:11 -0800)]
* buffer.c (Fmake_overlay): Doc clarification.

Fixes: debbugs:15489

10 years ago* info-look.el (info-lookup-symbol): Document MODE.
Lars Ingebrigtsen [Sat, 8 Feb 2014 04:10:02 +0000 (20:10 -0800)]
* info-look.el (info-lookup-symbol): Document MODE.

Fixes: debbugs:15498

10 years ago* isearch.el (isearch-cmds): Doc clarification.
Lars Ingebrigtsen [Sat, 8 Feb 2014 04:02:37 +0000 (20:02 -0800)]
* isearch.el (isearch-cmds): Doc clarification.

Fixes: debbugs:15547

10 years ago* src/keyboard.c (Frecursive_edit): Fix typo in docstring.
Juanma Barranquero [Sat, 8 Feb 2014 04:02:16 +0000 (05:02 +0100)]
* src/keyboard.c (Frecursive_edit): Fix typo in docstring.

10 years ago* replace.el (replace-match-maybe-edit): Doc clarification.
Lars Ingebrigtsen [Sat, 8 Feb 2014 03:55:27 +0000 (19:55 -0800)]
* replace.el (replace-match-maybe-edit): Doc clarification.

Fixes: debbugs:15632

10 years ago* doc/lispref/keymaps.texi (Menu Bar): Minor clarification.
Lars Ingebrigtsen [Sat, 8 Feb 2014 03:46:53 +0000 (19:46 -0800)]
* doc/lispref/keymaps.texi (Menu Bar): Minor clarification.

* src/xdisp.c (syms_of_xdisp): Doc clarification (bug#15657).

10 years ago* subr.el (add-to-list): Refill the paragraphs.
Lars Ingebrigtsen [Sat, 8 Feb 2014 03:37:57 +0000 (19:37 -0800)]
* subr.el (add-to-list): Refill the paragraphs.

Fixes: debbugs:15791

10 years ago* keyboard.c (Frecursive_edit): Say more precicely how throwing `exit' works.
Lars Ingebrigtsen [Sat, 8 Feb 2014 03:29:47 +0000 (19:29 -0800)]
* keyboard.c (Frecursive_edit): Say more precicely how throwing `exit' works.

Fixes: debbugs:15865

10 years ago* macros.el (insert-kbd-macro): Doc fix.
Lars Ingebrigtsen [Sat, 8 Feb 2014 03:03:50 +0000 (19:03 -0800)]
* macros.el (insert-kbd-macro): Doc fix.

Fixes: debbugs:16025

10 years ago* lisp/help-fns.el (describe-variable):
Glenn Morris [Sat, 8 Feb 2014 02:55:04 +0000 (21:55 -0500)]
* lisp/help-fns.el (describe-variable):
Check {file,dir}-local-variables-alist, and buffer-file-name,
in the correct buffer.

This seems to have Just Worked in 24.3 - when and why did it change?

10 years ago* frames.texi (Mouse Commands): Clarify `mouse-yank-at-click'.
Lars Ingebrigtsen [Sat, 8 Feb 2014 02:41:20 +0000 (18:41 -0800)]
* frames.texi (Mouse Commands): Clarify `mouse-yank-at-click'.

Fixes: debbugs:16376

10 years ago* help-fns.el (describe-variable): Fix case where value is directory-local
Ingo Lohmar [Sat, 8 Feb 2014 02:18:31 +0000 (21:18 -0500)]
* help-fns.el (describe-variable): Fix case where value is directory-local
with no dir-locals file.

Fixes: debbugs:16635

10 years agoauth-sources doc fixes
Glenn Morris [Sat, 8 Feb 2014 02:07:55 +0000 (21:07 -0500)]
auth-sources doc fixes

* doc/misc/auth.texi (GnuPG and EasyPG Assistant Configuration):
Be agnostic about authinfo/authinfo.gpg default order.

* lisp/gnus/auth-source.el (auth-sources): Doc fix.

Fixes: debbugs:16642

10 years ago* lisp/abbrev.el (edit-abbrevs-mode): Derive from fundamental-mode.
Glenn Morris [Sat, 8 Feb 2014 01:26:13 +0000 (20:26 -0500)]
* lisp/abbrev.el (edit-abbrevs-mode): Derive from fundamental-mode.

Fixes: debbugs:16682

10 years agoRemove superfluous argument.
Michael Albinus [Fri, 7 Feb 2014 15:56:15 +0000 (16:56 +0100)]
Remove superfluous argument.

10 years ago* automated/tramp-tests.el (tramp-test26-process-file): Improve test.
Michael Albinus [Fri, 7 Feb 2014 15:47:18 +0000 (16:47 +0100)]
* automated/tramp-tests.el (tramp-test26-process-file): Improve test.
(tramp-test27-start-file-process): Use "_p" as argument of lambda.
(tramp-test28-shell-command): Improve `shell-command' test.  Add
`async-shell-command' tests.

10 years ago* lisp/simple.el (quoted-insert): Check character validity (bug#16677).
Juanma Barranquero [Fri, 7 Feb 2014 11:13:31 +0000 (12:13 +0100)]
* lisp/simple.el (quoted-insert): Check character validity (bug#16677).

10 years agoIn window_resize_apply adjust margin width, if necessary (Bug#16649).
Martin Rudalics [Fri, 7 Feb 2014 10:55:28 +0000 (11:55 +0100)]
In window_resize_apply adjust margin width, if necessary (Bug#16649).

* window.c (window_resize_apply): Adjust margin width, if necessary.

10 years agoConstrain window body sizes.
Martin Rudalics [Fri, 7 Feb 2014 10:03:10 +0000 (11:03 +0100)]
Constrain window body sizes.

* window.c (window_body_height, window_body_width): Don't return
negative value.

10 years agoConstrain window box sizes (Bug#16649).
Martin Rudalics [Fri, 7 Feb 2014 09:32:15 +0000 (10:32 +0100)]
Constrain window box sizes (Bug#16649).

* xdisp.c (window_box_width): Don't return less than zero.
(window_box_left_offset, window_box_right_offset): Don't return
more than the window's pixel width.

10 years ago* lisp/desktop.el (desktop-read): Claim the lock when the owner is not the current...
Juri Linkov [Fri, 7 Feb 2014 07:58:10 +0000 (09:58 +0200)]
* lisp/desktop.el (desktop-read): Claim the lock when the owner is not the current process.

Fixes: debbugs:16157

10 years ago* lisp/desktop.el (desktop-buffers-not-to-save): Change default from nil to "\\` ".
Juri Linkov [Fri, 7 Feb 2014 07:51:56 +0000 (09:51 +0200)]
* lisp/desktop.el (desktop-buffers-not-to-save): Change default from nil to "\\` ".

Fixes: debbugs:16651

10 years ago* lisp/desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
Juri Linkov [Fri, 7 Feb 2014 07:44:29 +0000 (09:44 +0200)]
* lisp/desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
when enabling, and `desktop-auto-save-cancel-timer' when disabling.
(desktop-auto-save-cancel-timer): New function with some code from
`desktop-auto-save-set-timer'.
(after-init-hook): Don't call `desktop-auto-save-set-timer'.
Instead of setting `desktop-save-mode' to nil, call
`desktop-save-mode' with arg 0.

Fixes: debbugs:16630

10 years agoSome hi-lock doc
Glenn Morris [Fri, 7 Feb 2014 07:18:02 +0000 (23:18 -0800)]
Some hi-lock doc

* doc/emacs/display.texi (Highlight Interactively):
Mention hi-lock-auto-select-face.

* lisp/hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
(hi-lock-face-buffer, hi-lock-face-phrase-buffer)
(hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.

* etc/NEWS: Related edits.

10 years ago* doc/emacs/anti.texi (Antinews): Fix typo.
Glenn Morris [Fri, 7 Feb 2014 07:13:21 +0000 (23:13 -0800)]
* doc/emacs/anti.texi (Antinews): Fix typo.

10 years ago* src/nsterm.m (syms_of_nsterm): Doc fix.
Glenn Morris [Fri, 7 Feb 2014 03:25:52 +0000 (19:25 -0800)]
* src/nsterm.m (syms_of_nsterm): Doc fix.

It is not necessary to say "default is..." since there are standard
mechanisms for displaying that information.

10 years ago"Use instead" obsolescence messages should end with "."
Glenn Morris [Fri, 7 Feb 2014 03:23:46 +0000 (19:23 -0800)]
"Use instead" obsolescence messages should end with "."

10 years agoMove iswitchb.el to obsolete/
Glenn Morris [Fri, 7 Feb 2014 03:22:34 +0000 (19:22 -0800)]
Move iswitchb.el to obsolete/

Ref: http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00501.html

* lisp/obsolete/iswitchb.el: Move to obsolete/.

* lisp/simple.el (iswitchb-mode): Add manual autoloads to ease transition,
since obsolete/ is not scanned for autoloads.

* lisp/emacs-lisp/authors.el (authors-valid-file-names):
Add iswitchb.el.

* doc/emacs/ack.texi (Acknowledgments): No longer mention obsolete files.

* doc/misc/viper.texi (File and Buffer Handling): Prefer ido to iswitchb.

* etc/NEWS: Related edits.

10 years ago* etc/TODO: Remove refs to obsolete files.
Glenn Morris [Fri, 7 Feb 2014 03:19:39 +0000 (19:19 -0800)]
* etc/TODO: Remove refs to obsolete files.

10 years ago* lisp/obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
Glenn Morris [Fri, 7 Feb 2014 03:14:56 +0000 (19:14 -0800)]
* lisp/obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
Disable now non-functional find-file-hook.

Maybe somebody had (require 'meese) in their init file...
If patcomp.el can live on in obsolete/, so can this.

10 years agoChangeLog fix
Glenn Morris [Fri, 7 Feb 2014 03:07:07 +0000 (19:07 -0800)]
ChangeLog fix

10 years agolisp/gnus/ietf-drums.el (ietf-drums-parse-address): Don't bug out when called with...
Lars Ingebrigtsen [Fri, 7 Feb 2014 03:06:44 +0000 (03:06 +0000)]
lisp/gnus/ietf-drums.el (ietf-drums-parse-address): Don't bug out when called with an empty string

10 years agoGrammar bug fixes from CEDET upstream.
David Engster [Thu, 6 Feb 2014 20:57:24 +0000 (21:57 +0100)]
Grammar bug fixes from CEDET upstream.

* grammars/c.by (function-pointer): Correctly deal with anonymous
function pointers.
(opt-brackets-after-symbol): New.
(multi-stage-dereference): Use it.  Add rules for explicit
matching the last dereference.

10 years agoSpelling fix.
Paul Eggert [Thu, 6 Feb 2014 18:29:57 +0000 (10:29 -0800)]
Spelling fix.

10 years agoAnother fix for handling of file names on Windows 9X.
Eli Zaretskii [Thu, 6 Feb 2014 15:27:46 +0000 (17:27 +0200)]
Another fix for handling of file names on Windows 9X.

 src/w32.c (pMultiByteToWideChar, pWideCharToMultiByte): New
 variables: pointers through which to call the respective APIs.
 (filename_to_utf16, filename_from_utf16, filename_to_ansi)
 (filename_from_ansi, sys_link, check_windows_init_file): Call
 MultiByteToWideChar and WideCharToMultiByte through pointers.
 This is required on Windows 9X, where we dynamically load
 UNICOWS.DLL which has their non-stub implementations.
 (maybe_load_unicows_dll): Assign addresses to these 2 function
 pointers after loading UNICOWS.DLL.
 src/w32fns.c (Fx_file_dialog, Fw32_shell_execute) [!CYGWIN]: Call
 MultiByteToWideChar and WideCharToMultiByte through function
 pointers.
 src/w32.h (pMultiByteToWideChar, pWideCharToMultiByte): New
 declarations.

10 years ago* net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
Michael Albinus [Thu, 6 Feb 2014 08:49:34 +0000 (09:49 +0100)]
* net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
instead of ";" in order to avoid additional prompts.  Let heredoc
scripts read from tty.  (Bug#16582)
(tramp-send-command): No special handling of heredocs, it isn't
necessary anymore.

10 years ago* NEWS copyedits
Glenn Morris [Thu, 6 Feb 2014 08:39:18 +0000 (00:39 -0800)]
* NEWS copyedits

10 years ago* nsterm.m (toggleFullScreen:): Hide menubar on secondary monitor
Jan Djärv [Thu, 6 Feb 2014 07:57:53 +0000 (08:57 +0100)]
* nsterm.m (toggleFullScreen:): Hide menubar on secondary monitor
for OSX >= 10.9 if separate spaces are used.
(toggleFullScreen:): Use screen of w instead of fw.

Fixes: debbugs:16659

10 years agolisp/gnus/gnus-msg.el (gnus-summary-cancel-article): Allow cancelling articles that...
Lars Ingebrigtsen [Thu, 6 Feb 2014 05:43:50 +0000 (05:43 +0000)]
lisp/gnus/gnus-msg.el (gnus-summary-cancel-article): Allow cancelling articles that have a differing From address (bug#10808)

10 years ago* lisp/emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
Stefan Monnier [Thu, 6 Feb 2014 05:37:23 +0000 (00:37 -0500)]
* lisp/emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
with a space.  Limit the symbols considered to the ones
that are bound or fbound (bug#16646).

Fixes: debbugs:16664

10 years agoDoc changes for cache-long-scans
Glenn Morris [Thu, 6 Feb 2014 04:27:26 +0000 (20:27 -0800)]
Doc changes for cache-long-scans

Ref: http://debbugs.gnu.org/15797#65

* doc/lispref/display.texi (Truncation):
* doc/lispref/positions.texi (Screen Lines): Do not mention cache-long-scans.

* src/buffer.c (cache-long-scans): Doc fix.

* etc/NEWS: Related edit.

10 years ago* doc/misc/mh-e.texi: Replace another `:' in an index entry.
Glenn Morris [Thu, 6 Feb 2014 04:06:26 +0000 (20:06 -0800)]
* doc/misc/mh-e.texi: Replace another `:' in an index entry.

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)