]> code.delx.au - gnu-emacs/log
gnu-emacs
7 years ago; Spelling fixes
Paul Eggert [Sat, 25 Jun 2016 22:06:27 +0000 (00:06 +0200)]
; Spelling fixes

7 years agoUpdate docs for `customize-mode'
Noam Postavsky [Sat, 25 Jun 2016 17:12:11 +0000 (13:12 -0400)]
Update docs for `customize-mode'

* lisp/cus-edit.el (customize-mode): This function works with both major
and minor modes, make docstring and prompt reflect that (Bug #23649).

* doc/lispref/modes.texi (Derived Modes): Remove note about
customize-mode being experimental; it has been around since Emacs
22 (Bug #11299).

Co-authored-by: Drew Adams <drew.adams@oracle.com>
7 years agoFix documentation of 'assoc-string' and 'compare-strings'
Eli Zaretskii [Thu, 23 Jun 2016 15:09:14 +0000 (18:09 +0300)]
Fix documentation of 'assoc-string' and 'compare-strings'

* src/minibuf.c (Fassoc_string): Clarify how CASE-FOLD affects the
string comparison.  (Bug#23833)
* src/fns.c (Fcompare_strings): Fix the description of how
IGNORE-CASE affects the comparison.

* doc/lispref/strings.texi (Text Comparison): Clarify how
CASE-FOLD affects the string comparison in 'assoc-string'.  Fix
the description of how IGNORE-CASE affects the comparison in
'compare-strings'.

7 years ago; Only load .elc file in tests.
Phillip Lord [Wed, 22 Jun 2016 20:59:51 +0000 (21:59 +0100)]
; Only load .elc file in tests.

* test/automated/viper-tests.el (viper-test-undo-kmacro): Ensure that
  empty load file ends with .elc extension.

7 years agoError on multibyte characters in HTTP request
Dmitry Gutov [Wed, 22 Jun 2016 18:20:06 +0000 (21:20 +0300)]
Error on multibyte characters in HTTP request

* lisp/url/url-http.el (url-http-create-request): Check the
constructed request in the end to verify that it does not contain
multibyte characters (bug#23750).

7 years ago* lisp/gnus/mm-decode.el (mm-convert-shr-links):
Katsumi Yamaoka [Wed, 22 Jun 2016 10:32:56 +0000 (10:32 +0000)]
* lisp/gnus/mm-decode.el (mm-convert-shr-links):
Mask keys that launch `widget-button-click' (bug#22157).

7 years ago; Revert "Ensure undo-boundary after insert-file-contents."
Phillip Lord [Wed, 22 Jun 2016 08:42:49 +0000 (09:42 +0100)]
; Revert "Ensure undo-boundary after insert-file-contents."

This reverts commit 6cdd8f7153b553c6dc02be47e04a2e75117b6fe4.

The original commit did not address the problem it was claiming to.

7 years agoUnset GIT_DIR when calling Git commands
Dmitry Gutov [Tue, 21 Jun 2016 23:04:33 +0000 (02:04 +0300)]
Unset GIT_DIR when calling Git commands

* lisp/vc/vc-git.el (vc-git--call, vc-git-command):
Unset GIT_DIR (bug#23769).

7 years agoEnsure undo-boundary after insert-file-contents.
Phillip Lord [Mon, 20 Jun 2016 13:26:02 +0000 (14:26 +0100)]
Ensure undo-boundary after insert-file-contents.

* src/fileio.c: Record undoable change during insert-file-contents.

Addresses Bug #23785.

7 years agoClarify documentation of 'line-spacing' and 'line-height'
Eli Zaretskii [Tue, 21 Jun 2016 14:20:09 +0000 (17:20 +0300)]
Clarify documentation of 'line-spacing' and 'line-height'

* doc/lispref/display.texi (Line Height): Clarify how the line
height is determined via variables and text properties.  (Bug#23806)

7 years agoFix removal of variables from process-environment
Eli Zaretskii [Mon, 20 Jun 2016 14:19:25 +0000 (17:19 +0300)]
Fix removal of variables from process-environment

* src/callproc.c (add_env): Fix comparison of a variable with a
value against the same variable without a value.  (Bug#23779)

7 years ago* admin/authors.el (authors-ignored-files, authors-valid-file-names)
Glenn Morris [Mon, 20 Jun 2016 01:25:19 +0000 (18:25 -0700)]
* admin/authors.el (authors-ignored-files, authors-valid-file-names)
(authors-renamed-files-alist): Additions.

7 years ago* admin/authors.el (authors-aliases, authors-fixed-case): Additions.
Glenn Morris [Mon, 20 Jun 2016 01:05:55 +0000 (18:05 -0700)]
* admin/authors.el (authors-aliases, authors-fixed-case): Additions.

7 years agoFix documentation of completion functions
Noam Postavsky [Wed, 8 Jun 2016 03:37:05 +0000 (23:37 -0400)]
Fix documentation of completion functions

So that the described behavior matches the code (and docstrings).

* doc/lispref/minibuf.texi (Basic Completion): Symbol keys of hash table
collections are used like string keys, not ignored (Bug #10416).

7 years agoClarify documentation of 'font-lock-maximum-decoration'
Eli Zaretskii [Sat, 18 Jun 2016 09:50:57 +0000 (12:50 +0300)]
Clarify documentation of 'font-lock-maximum-decoration'

* doc/emacs/display.texi (Font Lock): Explain how to make the
customization of 'font-lock-maximum-decoration' effective for an
existing buffer.  (Bug#23783)

7 years ago* doc/misc/cl.texi (Usage): Add some more details.
Glenn Morris [Fri, 17 Jun 2016 16:55:06 +0000 (12:55 -0400)]
* doc/misc/cl.texi (Usage): Add some more details.

7 years agoFbackward_prefix_chars: stay within buffer bounds
Noam Postavsky [Sat, 4 Jun 2016 13:02:20 +0000 (09:02 -0400)]
Fbackward_prefix_chars: stay within buffer bounds

The commit 1fd3172d "(Fbackward_prefix_chars): Set point properly while
scanning" (1998-03-18), moved the check against of the position against the
buffer beginning out the loop condition so that we might end up checking
the syntax of characters before the beginning of the buffer.  This can
cause segfaults or trigger a "Point before start of properties" error in
`update_interval' (called indirectly from `char_quoted').

* src/syntax.c (Fbackward_prefix_chars): Stop the loop when beginning of
buffer is reached (Bug #3552, Bug #17132, Bug #19379).

7 years agoFix ifdef-vs-if typo with RANDR13_LIBRARY
Paul Eggert [Wed, 15 Jun 2016 05:40:18 +0000 (22:40 -0700)]
Fix ifdef-vs-if typo with RANDR13_LIBRARY

* src/xfns.c (x_get_monitor_attributes_xrandr): Use #if, not #ifdef.
This ports to systems that predate xrandr 1.3. See Christian Lynbech in:
http://lists.gnu.org/archive/html/emacs-devel/2016-06/msg00198.html

(cherry picked from commit dce99f222f1ca33265cd56ddb157817be1dc078e)

7 years agoFix last todo-mode change
Stephen Berman [Thu, 16 Jun 2016 09:05:36 +0000 (11:05 +0200)]
Fix last todo-mode change

* lisp/calendar/todo-mode.el (todo-read-category): Return the
keymap in order to use its defined key bindings.

7 years agoImprove last todo-mode fix
Stephen Berman [Wed, 15 Jun 2016 18:08:16 +0000 (20:08 +0200)]
Improve last todo-mode fix

* lisp/calendar/todo-mode.el (todo-read-category): Use
set-keymap-parent instead of copy-keymap, and default (as
previously) to the global binding (for rationale, see
http://lists.gnu.org/archive/html/emacs-devel/2016-06/msg00217.html).

7 years agoFix todo-mode use of minibuffer completion keymap (bug#23695).
Stephen Berman [Tue, 14 Jun 2016 21:43:20 +0000 (23:43 +0200)]
Fix todo-mode use of minibuffer completion keymap (bug#23695).

* lisp/calendar/todo-mode.el (todo-read-category): Don't
override minibuffer-local-completion-map globally (bug#23695).
Bind <SPC> key to self-insert-command.

7 years ago* src/alloc.c (ALIGN): Avoid error on DragonFly BSD. (Bug#23764)
Glenn Morris [Tue, 14 Jun 2016 17:39:30 +0000 (13:39 -0400)]
* src/alloc.c (ALIGN): Avoid error on DragonFly BSD.  (Bug#23764)

7 years ago* lisp/emacs-lisp/nadvice.el (advice--make-docstring):
Glenn Morris [Mon, 13 Jun 2016 22:18:34 +0000 (18:18 -0400)]
* lisp/emacs-lisp/nadvice.el (advice--make-docstring):
Avoid mangling autoloads with unspecified arguments.  (Bug#21299)

7 years ago* lisp/help-fns.el (describe-function-1): Avoid reporting advised
Glenn Morris [Mon, 13 Jun 2016 17:14:35 +0000 (13:14 -0400)]
* lisp/help-fns.el (describe-function-1): Avoid reporting advised
autoloads as aliases.  (Bug#21299)

7 years agoMinor grammar fix (bug#23746)
Stephen Berman [Mon, 13 Jun 2016 16:20:43 +0000 (18:20 +0200)]
Minor grammar fix (bug#23746)

* doc/lispref/processes.texi (Synchronous Processes):
Another minor grammar fix (bug#23746).

7 years agoDoc fixes for grammar and typos (bug#23746)
Stephen Berman [Mon, 13 Jun 2016 16:08:22 +0000 (18:08 +0200)]
Doc fixes for grammar and typos (bug#23746)

* doc/emacs/files.texi (Customize Save):
* doc/emacs/frames.texi (Window Dividers):
* doc/emacs/misc.texi (Printing):
* doc/lispref/compile.texi (Compiler Errors):
* doc/lispref/keymaps.texi (Changing Key Bindings):
* doc/lispref/loading.texi (Named Features):
* doc/lispref/markers.texi (Marker Insertion Types):
* doc/lispref/modes.texi (Mode Hooks):
* doc/lispref/text.texi (Undo):
* src/floatfns.c (Fldexp):
* src/xfaces.c (syms_of_xfaces):
Minor doc fixes for grammar and typos (bug#23746).

7 years ago* doc/lispref/processes.texi (Process Buffers): Minor rewording. (Bug#23446)
Eli Zaretskii [Mon, 13 Jun 2016 15:00:34 +0000 (18:00 +0300)]
* doc/lispref/processes.texi (Process Buffers): Minor rewording.  (Bug#23446)

7 years agoAdd cross-reference to ELisp manual
Eli Zaretskii [Mon, 13 Jun 2016 14:25:08 +0000 (17:25 +0300)]
Add cross-reference to ELisp manual

* doc/lispref/commands.texi (Classifying Events): Add
cross-reference to "Motion Events".  (Bug#23756)

7 years ago; make change-history-commit
Glenn Morris [Sun, 12 Jun 2016 17:07:11 +0000 (13:07 -0400)]
; make change-history-commit

7 years ago* lisp/emacs-lisp/macroexp.el (macroexp--expand-all): Fix (bug#19704)
Stefan Monnier [Sat, 11 Jun 2016 21:38:11 +0000 (17:38 -0400)]
* lisp/emacs-lisp/macroexp.el (macroexp--expand-all): Fix (bug#19704)

Don't rewrite (funcall 'f ...) to (f ...).

7 years agoRestore initial undo boundary with viper
Phillip Lord [Fri, 10 Jun 2016 21:59:55 +0000 (22:59 +0100)]
Restore initial undo boundary with viper

* lisp/emulation/viper-cmd.el (viper-adjust-undo): Add back last undo
  boundary if it has been removed.

Addresses Bug#22295.

7 years agoRevert "Fix viper undo breakage from undo-boundary changes"
Phillip Lord [Fri, 10 Jun 2016 21:30:49 +0000 (22:30 +0100)]
Revert "Fix viper undo breakage from undo-boundary changes"

This reverts commit c0139e32f1f3bb287b04e02a69a7848d6a040003.

7 years agoFix dbus crash on 32-bit Cygwin
Ken Brown [Sat, 11 Jun 2016 12:31:27 +0000 (08:31 -0400)]
Fix dbus crash on 32-bit Cygwin

* src/dbusbind.c (Fdbus__init_bus): Use make_save_pointer to store
connection address.  (Bug#23741)
(xd_lisp_dbus_to_dbus): Use XSAVE_POINTER to retrieve connection
address.

7 years agoBump version to 25.0.95 emacs-25.0.95
Nicolas Petton [Fri, 10 Jun 2016 22:24:29 +0000 (00:24 +0200)]
Bump version to 25.0.95

* README:
* configure.ac:
* lisp/ldefs-boot.el:
* msdos/sed2v2.inp: Bump Emacs version to 25.0.95.

7 years ago* etc/AUTHORS: Update the AUTHORS file
Nicolas Petton [Fri, 10 Jun 2016 22:24:21 +0000 (00:24 +0200)]
* etc/AUTHORS: Update the AUTHORS file

7 years agoadd entries to authors.el
Nicolas Petton [Fri, 10 Jun 2016 22:04:58 +0000 (00:04 +0200)]
add entries to authors.el

* admin/authors.el (authors-renamed-files-alist): Add char-fold files.

7 years agoFix eldoc-related freezes in python mode
Jules Tamagnan [Fri, 10 Jun 2016 09:08:29 +0000 (12:08 +0300)]
Fix eldoc-related freezes in python mode

* lisp/progmodes/python.el (python-eldoc-get-doc): New defvar.
(python-eldoc-function-timeout)
(python-eldoc-function-timeout-permanent): New defcustoms.
(python-eldoc-function): If python-eldoc--get-doc-at-point times
out, effectively turn off ElDoc in current buffer.  (Bug#23609)

7 years agoHandle mouse leaving initial window in `mouse-set-region' (Bug#23707)
Martin Rudalics [Thu, 9 Jun 2016 08:12:48 +0000 (10:12 +0200)]
Handle mouse leaving initial window in `mouse-set-region' (Bug#23707)

* lisp/mouse.el (mouse-set-region): If the mouse ends up in
another window or on the menu bar, use `window-point' of
selected window instead of `posn-point' of the event end
(Bug#23707).

7 years agoorg.el: Fix bindings of < and > for calendar scrolling
Marco Wahl [Wed, 8 Jun 2016 23:03:34 +0000 (16:03 -0700)]
org.el: Fix bindings of < and > for calendar scrolling

[This patch taken from upstream Org repo with 8b63dc9 dated
2014-10-20 (Bug#23725).]
* lisp/org/org.el (org-read-date-minibuffer-local-map):
Switch to the current calendar API for scrolling the calendar.

7 years agoFix undo boundary in recursive edit (Bug#23632)
Phillip Lord [Mon, 6 Jun 2016 08:35:17 +0000 (09:35 +0100)]
Fix undo boundary in recursive edit (Bug#23632)

 * src/keyboard.c (recursive_edit_1): specbind
   undo-auto--undoably-changed-buffers.
 * lisp/simple.el (undo-auto--undoably-changed-buffers):
   fix docstring.

7 years agoDoc fixes re alist-get. (Bug#23548)
Glenn Morris [Tue, 7 Jun 2016 23:59:37 +0000 (19:59 -0400)]
Doc fixes re alist-get.  (Bug#23548)

* lisp/subr.el (alist-get): Doc fix.
* doc/lispref/lists.texi (Association Lists): Improve alist-get.
; * etc/NEWS: Related edit.

7 years ago* lisp/progmodes/python.el (inferior-python-mode):
Glenn Morris [Tue, 7 Jun 2016 22:26:33 +0000 (18:26 -0400)]
* lisp/progmodes/python.el (inferior-python-mode):
Avoid tabs.  (Bug#23616)

7 years ago* src/syntax.c (syms_of_syntax) <comment-end-can-be-escaped>: Doc fix.
Glenn Morris [Tue, 7 Jun 2016 21:39:19 +0000 (17:39 -0400)]
* src/syntax.c (syms_of_syntax) <comment-end-can-be-escaped>: Doc fix.

7 years ago* lisp/help-fns.el (describe-function-1):
Tino Calancha [Tue, 7 Jun 2016 20:42:59 +0000 (16:42 -0400)]
* lisp/help-fns.el (describe-function-1):
Fix handling of file name for aliases.  (Bug#21950)

7 years ago* lisp/emacs-lisp/cl-macs.el (cl-loop): Doc fix re "by".
Tino Calancha [Tue, 7 Jun 2016 17:48:11 +0000 (13:48 -0400)]
* lisp/emacs-lisp/cl-macs.el (cl-loop): Doc fix re "by".

7 years ago* doc/misc/cl.texi (Mapping over Sequences): Fix cl-notevery.
Tino Calancha [Tue, 7 Jun 2016 17:46:33 +0000 (13:46 -0400)]
* doc/misc/cl.texi (Mapping over Sequences): Fix cl-notevery.

7 years agoFix crash in syntax.c after GC
Paul Eggert [Tue, 7 Jun 2016 16:28:49 +0000 (09:28 -0700)]
Fix crash in syntax.c after GC

Problem reported by Vincent Belaïche (Bug#23704).
* src/syntax.c (skip_chars): Recompute pointers into the
buffer after every call to update_syntax_table_forward,
as it can GC.

7 years agoImprove squiggly heredoc support in non-SMIE Ruby mode
Dmitry Gutov [Tue, 7 Jun 2016 01:06:33 +0000 (04:06 +0300)]
Improve squiggly heredoc support in non-SMIE Ruby mode

* lisp/progmodes/ruby-mode.el (ruby-parse-partial): Support
squiggly heredocs here, too (port from upstream).

7 years agoFix doc string quoting
Stephen Berman [Mon, 6 Jun 2016 16:29:17 +0000 (09:29 -0700)]
Fix doc string quoting

* lisp/files.el (shell-quote-wildcard-pattern):
* lisp/progmodes/vhdl-mode.el (vhdl-mode):
* lisp/subr.el (replace-regexp-in-string):
* lisp/view.el (view-mode):
* src/nsfns.m (syms_of_nsfns):
* src/syntax.c (Fbackward_prefix_chars):
Fix quoting problems in doc strings (Bug#23696).

7 years agoFix mouse dragging of vertical dividers with scroll bars on left (Bug#23690)
Martin Rudalics [Sun, 5 Jun 2016 09:50:47 +0000 (11:50 +0200)]
Fix mouse dragging of vertical dividers with scroll bars on left (Bug#23690)

* lisp/mouse.el (mouse-drag-line): With scroll bars on the left
adjust trailing edge of window on the left when dragging the
vertical divider of the mode line.  (Bug#23690)

7 years ago* etc/PROBLEMS: Mention the link-time problems on FreeBSD 11.
Eli Zaretskii [Sat, 4 Jun 2016 15:45:46 +0000 (18:45 +0300)]
* etc/PROBLEMS: Mention the link-time problems on FreeBSD 11.

(Bug#23641)

7 years ago; Auto-commit of loaddefs files.
Glenn Morris [Wed, 1 Jun 2016 11:18:41 +0000 (07:18 -0400)]
; Auto-commit of loaddefs files.

7 years ago* test/automated/viper-tests.el (viper-test-undo-kmacro):
Glenn Morris [Tue, 31 May 2016 22:24:07 +0000 (18:24 -0400)]
* test/automated/viper-tests.el (viper-test-undo-kmacro):
Delete temp-file at end.

7 years ago* lisp/mail/footnote.el (footnote-mode): Fix doc typo.
Glenn Morris [Tue, 31 May 2016 19:05:20 +0000 (15:05 -0400)]
* lisp/mail/footnote.el (footnote-mode): Fix doc typo.

7 years ago* doc/misc/smtpmail.texi (Encryption): Fix 2012-12-22 typo.
Glenn Morris [Tue, 31 May 2016 18:58:05 +0000 (14:58 -0400)]
* doc/misc/smtpmail.texi (Encryption): Fix 2012-12-22 typo.

7 years ago* lisp/emacs-lisp/lisp-mode.el (lisp--mode-syntax-table):
Glenn Morris [Tue, 31 May 2016 18:50:52 +0000 (14:50 -0400)]
* lisp/emacs-lisp/lisp-mode.el (lisp--mode-syntax-table):
Fix typo.  (Bug#23654)

7 years ago; Spelling fix
Paul Eggert [Tue, 31 May 2016 06:16:41 +0000 (23:16 -0700)]
; Spelling fix

7 years ago* lisp/recentf.el (recentf-dialog-mode-map): Remove follow-link (bug#22434)
Stefan Monnier [Tue, 31 May 2016 00:46:24 +0000 (20:46 -0400)]
* lisp/recentf.el (recentf-dialog-mode-map): Remove follow-link (bug#22434)

7 years agoCorrect cl-flet usage (Bug#22317)
Bill Wohler [Mon, 30 May 2016 23:49:37 +0000 (16:49 -0700)]
Correct cl-flet usage (Bug#22317)

* mh-compat.el: Rename mh-cl-flet to mh-flet and convert alias to
macro using patch from Katsumi Yamaoka <yamaoka@jpl.org>.
* mh-thread.el (mh-thread-set-tables):
* mh-show.el (mh-gnus-article-highlight-citation):
* mh-mime.el (mh-display-with-external-viewer):
(mh-mime-display, mh-press-button, mh-push-button):
(mh-display-emphasis): Call mh-flet instead of mh-cl-flet.

7 years agoRelease MH-E manual version 8.6
Bill Wohler [Mon, 30 May 2016 23:15:32 +0000 (16:15 -0700)]
Release MH-E manual version 8.6

* doc/misc/mh-e.texi (VERSION, EDITION, UPDATED, UPDATE-MONTH):
Update for release 8.6.

7 years agoUpdate MH-E's documentation about HTML renderers
Mike Kupfer [Mon, 30 May 2016 23:13:10 +0000 (16:13 -0700)]
Update MH-E's documentation about HTML renderers

* doc/misc/mh-e.texi (HTML): Remove the footnote with the minimum Gnus
version (we are no longer trying to support multiple Emacs
releases). Sort the table of HTML renderers by name (the previous
ordering was based on a 10-year-old survey). Add shr and gnus-w3m to
the table. Remove the entry for w3 (no longer available).  Update
existing entries so that they are more consistent about what features
are discussed, and to reflect recent testing (Debian 8). Small tweaks
to existing text.

7 years agoFx the we->the typo
Dmitry Gutov [Mon, 30 May 2016 14:51:41 +0000 (17:51 +0300)]
Fx the we->the typo

* doc/emacs/trouble.texi (Sending Patches):
Fix the typo (bug#23657).

7 years agoRestore frames into the current display by default
Paul Eggert [Mon, 30 May 2016 05:45:33 +0000 (22:45 -0700)]
Restore frames into the current display by default

* lisp/desktop.el (desktop-restore-in-current-display):
Default to t, not nil (Bug#23604).
* etc/NEWS: Mention the change.

7 years ago* lisp/recentf.el (recentf-open-files-item): Quick fix for (bug#22434).
Stefan Monnier [Mon, 30 May 2016 00:32:32 +0000 (20:32 -0400)]
* lisp/recentf.el (recentf-open-files-item): Quick fix for (bug#22434).

7 years agoetc/TODO: Remove out-of-place issue
Stefan Monnier [Mon, 30 May 2016 00:29:47 +0000 (20:29 -0400)]
etc/TODO: Remove out-of-place issue

7 years agoClarify doc string of 'file-name-sans-extension'
Eli Zaretskii [Sun, 29 May 2016 14:59:59 +0000 (17:59 +0300)]
Clarify doc string of 'file-name-sans-extension'

* lisp/files.el (file-name-sans-extension, file-name-extension):
Clarify in the doc strings what is the extension, and which
leading period doesn't count.  (Bug#23643)

7 years agoFix the MSDOS build
Eli Zaretskii [Sat, 28 May 2016 12:27:47 +0000 (15:27 +0300)]
Fix the MSDOS build

* msdos/sed1v2.inp (PAXCTL_dumped, PAXCTL_notdumped): Define to
empty, and remove the lines which use them in recipes, as that
causes weird error message from Make and breaks the MSDOS build.

7 years ago* lisp/progmodes/elisp-mode.el (elisp-function-argstring): Call
Andreas Schwab [Sat, 28 May 2016 08:45:07 +0000 (10:45 +0200)]
* lisp/progmodes/elisp-mode.el (elisp-function-argstring): Call
substitute-command-keys to undo help--docstring-quote. (Bug#23634)

7 years ago* src/dired.c (Ffile_name_all_completions): Doc fix. (Bug#23631)
Eli Zaretskii [Fri, 27 May 2016 13:06:57 +0000 (16:06 +0300)]
* src/dired.c (Ffile_name_all_completions): Doc fix.  (Bug#23631)

7 years agoFix infloop in 'number-sequence'
Eli Zaretskii [Fri, 27 May 2016 09:17:15 +0000 (12:17 +0300)]
Fix infloop in 'number-sequence'

* lisp/subr.el (number-sequence): Avoid overflow leading to an
infloop.  (Bug#23627)

* test/automated/subr-tests.el (number-sequence-test): New test.

7 years ago; Spelling and punctuation fixes in comments
Paul Eggert [Fri, 27 May 2016 02:21:56 +0000 (19:21 -0700)]
; Spelling and punctuation fixes in comments

7 years ago* lisp/emacs-lisp/find-func.el (find-function-library):
Glenn Morris [Thu, 26 May 2016 23:50:54 +0000 (19:50 -0400)]
* lisp/emacs-lisp/find-func.el (find-function-library):

Update for symbol-function no longer erroring.  (Bug#23626)

7 years ago* lisp/w32-fns.el (set-message-beep, w32-get-locale-info)
Glenn Morris [Thu, 26 May 2016 18:57:29 +0000 (14:57 -0400)]
* lisp/w32-fns.el (set-message-beep, w32-get-locale-info)
(w32-get-valid-locale-ids): Improve declarations.

7 years agoCorrect old cell name unbinding when renaming cell.
Vincent Belaïche [Thu, 26 May 2016 09:03:21 +0000 (11:03 +0200)]
Correct old cell name unbinding when renaming cell.

Bug is to unbind old cell names when renaming a cell with
'makunbound'. when the old cell name is of A1 type, then
'kill-local-variable' must be used instead, so that only the current
spreadsheet is affected. When the old cell name is a renamed cell,
then 'ses--unbind-cell-name' must be used in order to remove the old
name from the name hashmap.

* ses.el (ses-rename-cell): check consistency of cell symbol from
text-property and from array object. Instead of 'makunbound', use
either 'ses--unbind-cell-name' or 'kill-local-variable' depending on
whether the cell old name is a named cell or an A1 type cell

7 years agoMerge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
Vincent Belaïche [Wed, 25 May 2016 21:44:18 +0000 (23:44 +0200)]
Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25

7 years agoDocument problem: slow screen refresh on missing font.
Vincent Belaïche [Wed, 25 May 2016 21:42:54 +0000 (23:42 +0200)]
Document problem: slow screen refresh on missing font.

See discussion of bug#22519 for more on this.

7 years ago* admin/admin.el (add-release-logs): Basic check of existing ChangeLog.
Glenn Morris [Wed, 25 May 2016 18:45:05 +0000 (14:45 -0400)]
* admin/admin.el (add-release-logs): Basic check of existing ChangeLog.

7 years ago* build-aux/gitlog-to-emacslog: Handle empty generated ChangeLog.
Glenn Morris [Wed, 25 May 2016 18:35:44 +0000 (14:35 -0400)]
* build-aux/gitlog-to-emacslog: Handle empty generated ChangeLog.

This is relevant for M-x add-release-logs right after M-x authors.

7 years ago* admin/admin.el (add-release-logs): Generate ChangeLog if needed.
Glenn Morris [Wed, 25 May 2016 18:17:25 +0000 (14:17 -0400)]
* admin/admin.el (add-release-logs): Generate ChangeLog if needed.

7 years ago* doc/misc/texinfo.tex: Revert previous change (Bug#23611).
Paul Eggert [Wed, 25 May 2016 17:39:14 +0000 (10:39 -0700)]
* doc/misc/texinfo.tex: Revert previous change (Bug#23611).

7 years ago* admin/authors.el (authors): First update the ChangeLog.
Glenn Morris [Wed, 25 May 2016 16:47:13 +0000 (12:47 -0400)]
* admin/authors.el (authors): First update the ChangeLog.

* admin/make-tarball.txt: Related updates.

7 years ago; 'Changes from the pre-25.1 API' copyedits
Dmitry Gutov [Wed, 25 May 2016 01:01:12 +0000 (04:01 +0300)]
; 'Changes from the pre-25.1 API' copyedits

7 years agoRename vc-stay-local back to vc-cvs-stay-local
Dmitry Gutov [Wed, 25 May 2016 00:49:35 +0000 (03:49 +0300)]
Rename vc-stay-local back to vc-cvs-stay-local

* lisp/vc/vc-cvs.el (vc-cvs-stay-local): Rename back from
vc-stay-local (bug#19548).  Improve the docstring.
(vc-cvs-stay-local-p): Update accordingly.

7 years ago* doc/emacs/files.texi (Comparing Files):
Glenn Morris [Tue, 24 May 2016 18:58:27 +0000 (14:58 -0400)]
* doc/emacs/files.texi (Comparing Files):
* doc/emacs/trouble.texi (Sending Patches): Fix external xrefs.

7 years ago* doc/misc/eww.texi (Advanced): Fix xref.
Glenn Morris [Tue, 24 May 2016 18:37:54 +0000 (14:37 -0400)]
* doc/misc/eww.texi (Advanced): Fix xref.

7 years agoFix cross-references between manuals
Eli Zaretskii [Tue, 24 May 2016 18:24:45 +0000 (21:24 +0300)]
Fix cross-references between manuals

* doc/misc/viper.texi (Viper Specials):
* doc/misc/url.texi (Tramp):
* doc/misc/sem-user.texi (Smart Jump):
* doc/lispintro/emacs-lisp-intro.texi (Finding More):
* doc/misc/efaq.texi (Replacing text across multiple files): Fix
cross-references between manuals.  (Bug#23612)
* doc/lispintro/emacs-lisp-intro.texi (etags): Node deleted: no
longer relevant to Emacs Lisp programming.

7 years ago* doc/misc/vhdl-mode.texi (Sample Init File): Rename node to avoid ".".
Glenn Morris [Tue, 24 May 2016 17:26:04 +0000 (13:26 -0400)]
* doc/misc/vhdl-mode.texi (Sample Init File): Rename node to avoid ".".

7 years ago; * admin/release-process: Move etc/HISTORY from here...
Glenn Morris [Tue, 24 May 2016 17:00:57 +0000 (13:00 -0400)]
; * admin/release-process: Move etc/HISTORY from here...
; * admin/make-tarball.txt: ... to here.

7 years ago* admin/admin.el (add-release-logs): Also update etc/HISTORY.
Glenn Morris [Tue, 24 May 2016 16:51:00 +0000 (12:51 -0400)]
* admin/admin.el (add-release-logs): Also update etc/HISTORY.

7 years ago; * CONTRIBUTE: Fix a typo.
Eli Zaretskii [Tue, 24 May 2016 16:06:20 +0000 (19:06 +0300)]
; * CONTRIBUTE: Fix a typo.

7 years agoAvoid aborting due to errors in arguments of 'set-face-attribute'
Eli Zaretskii [Tue, 24 May 2016 16:04:16 +0000 (19:04 +0300)]
Avoid aborting due to errors in arguments of 'set-face-attribute'

* src/xfaces.c (Finternal_set_lisp_face_attribute): Check the
FRAME argument before using it.  This avoids gratuitous aborts in
Emacs built with --enable-checking when the luser was unlucky
enough to get the argument list in wrong order.

7 years ago; * admin/release-process: Copyedits.
Glenn Morris [Tue, 24 May 2016 15:59:09 +0000 (08:59 -0700)]
; * admin/release-process: Copyedits.

7 years ago; * test/automated/data-tests.el: Standardize license notice.
Phillip Lord [Mon, 23 May 2016 15:59:24 +0000 (16:59 +0100)]
; * test/automated/data-tests.el: Standardize license notice.

7 years ago; * test/automated/viper-tests.el: Standardize license notice.
Glenn Morris [Mon, 23 May 2016 15:43:26 +0000 (08:43 -0700)]
; * test/automated/viper-tests.el: Standardize license notice.

7 years agoAdd automated test for viper-tests.el
Phillip Lord [Mon, 23 May 2016 09:39:26 +0000 (10:39 +0100)]
Add automated test for viper-tests.el

7 years agoFix viper undo breakage from undo-boundary changes
Phillip Lord [Sat, 21 May 2016 09:06:12 +0000 (10:06 +0100)]
Fix viper undo breakage from undo-boundary changes

* lisp/simple.el (undo-auto-disable-boundaries): New variable
* lisp/emulation/viper-init.el (viper-undo-in-complex-command,
  viper-undo-needs-adjustment): Rename
  variable to reflect new purpose,
  (viper-buffer-undo-list-mark): Remove
* lisp/emulation/viper-cmd.el (viper-set-complex-command-for-undo):
  Add undo using `undo-boundary', disable default undo-boundary
  addition.
* lisp/emulation/viper-cmd.el
  (viper-complete-complex-command-for-undo,viper-adjust-undo):
  Change function name, remove old undo list manipulation.
* lisp/emulation/viper-cmd.el (viper-undo,viper-repeat,
  viper-change-state-to-vi,viper-change-state):
  Update for function name change.

Addresses Bug #22295

7 years agoFix reference to obsolete fn ps-eval-switch
Kaushal Modi [Mon, 23 May 2016 00:48:33 +0000 (17:48 -0700)]
Fix reference to obsolete fn ps-eval-switch

lpr-eval-switch is functionally the same as ps-eval-switch,
which was obsoleted in 2cdeb903c57126d3ad5f0cbd72e182584b76ee29.
So use that instead (Bug#19717).
* lisp/printing.el (pr-switches): Use lpr-eval-switch instead of
ps-eval-switch.

7 years agoDo not trash symlinks to init file
Paul Eggert [Mon, 23 May 2016 00:29:58 +0000 (17:29 -0700)]
Do not trash symlinks to init file

If the user’s init file is a symbolic link, do not break the link
when initializing the package system.  Problem reported by Jackson
Hamilton (Bug#23050).
* lisp/emacs-lisp/package.el (package--ensure-init-file):
Bind find-file-visit-truename when visiting the init file, and
save and restore the buffer name the way cus-edit does in a
similar situation (Bug#454).

7 years agoDon't print the "decomposition" line for control chars in what-cursor-position
Alan Mackenzie [Sun, 22 May 2016 21:02:34 +0000 (21:02 +0000)]
Don't print the "decomposition" line for control chars in what-cursor-position

This is a temporary workaround for bug #23594, where the decomposition line
for linefeed corrupted the display on a Linux virtual terminal.

* lisp/descr-text.el (describe-char): Remove `decomposition' from the list of
character code properties printed for control characters.

7 years agoBring back xterm pasting with middle mouse
Paul Eggert [Sun, 22 May 2016 20:38:53 +0000 (13:38 -0700)]
Bring back xterm pasting with middle mouse

Problem reported by Jan Synáček.
Solution suggested by Stefan Monnier (Bug#23519).
* lisp/isearch.el (isearch-mode-map): Add a binding for xterm-paste.
(xterm--pasted-text): New decl.
(isearch-xterm-paste): New function.
* lisp/term/xterm.el (xterm--pasted-text): New function,
taken from xterm-paste internals.
(xterm-paste): Use it.