1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-28 07:45:00 +00:00

Merge from origin/emacs-25

d08afa1 * etc/AUTHORS: Update the AUTHORS file
2668500 ;; * ChangeLog.2: ChangeLog update.
7acfaea ; ChangeLog fixes
97d28b4 * admin/authors.el (authors-valid-file-names): Addition.
9ab52f6 * admin/authors.el: Additions.
0e646c7 Warn about Cairo-related problems
bc4c07f Don't let completion break `declare' handling
66f95e0 Adjust match data before calling after-change-funs
52cf0d5 Do not show string-rectangle preview if minibuffer is empty
6a3d031 * etc/PROBLEMS: Add entry about selection problems under Plas...

# Conflicts:
#	ChangeLog.2
#	src/lisp.h
This commit is contained in:
Paul Eggert 2016-08-05 14:10:30 -07:00
commit 0274862f39
13 changed files with 974 additions and 286 deletions

View File

@ -1,3 +1,625 @@
2016-08-05 Nicolas Petton <nicolas@petton.fr>
* admin/authors.el (authors-valid-file-names): Addition.
2016-08-05 Eli Zaretskii <eliz@gnu.org>
Warn about Cairo-related problems
* etc/NEWS: Warn about known problems in the Cairo build.
(Bug#23925)
2016-08-05 Paul Pogonyshev <pogonyshev@gmail.com>
Don't let completion break `declare' handling
* lisp/progmodes/elisp-mode.el (elisp-completion-at-point): Fix to not alter
`defun-declarations-alist' by side effect (Bug #23648).
2016-08-05 Noam Postavsky <npostavs@gmail.com>
Adjust match data before calling after-change-funs
It's important to adjust the match data in between calling
before-change-functions and after-change-functions, so that buffer
change hooks will always see match-data consistent with buffer content.
(Bug #23917)
* src/insdel.c (replace_range): Add new parameter ADJUST_MATCH_DATA, if
true call update_search_regs. Update all callers (except
Freplace_match) to pass 0 for the new parameter.
* src/search.c (update_search_regs): New function, extracted from
Freplace_match.
(Freplace_match): Remove match data adjustment code, pass 1 for
ADJUST_MATCH_DATA to replace_range instead.
2016-08-05 Mark Oteiza <mvoteiza@udel.edu>
Do not show string-rectangle preview if minibuffer is empty
* lisp/rect.el (rectangle--string-preview): Remove condition that sets
preview string to the default replacement string.
2016-08-05 Achim Gratz <Stromeko@nexgo.de>
* etc/PROBLEMS: Add entry about selection problems under Plasma 5.
Bug#24013
2016-08-05 Paul Eggert <eggert@cs.ucla.edu>
Port to glibc 2.24 (pre-release) + ppc64
Backport from master (Bug#24033).
Inspired by a suggestion by Florian Weimer in:
https://sourceware.org/ml/libc-alpha/2016-07/msg00425.html
* src/emacs.c (main) [__PPC64__]:
Special case for __PPC64__, which needs ASLR disabled in
dumped Emacs too.
2016-08-05 Katsumi Yamaoka <yamaoka@jpl.org>
* lisp/net/shr.el (shr-fill-line): Withdraw the last commit (4157159).
* lisp/net/shr.el (shr-fill-line):
Preserve text properties in folded lines (bug#24034).
2016-08-05 Robert Cochran <robert-git@cochranmail.com> (tiny change)
Expand FIXME near definition of fboundp
This expansion of the FIXME is so that future developers are aware of
the potential problems of aliasing fboundp to symbol-function without
taking backwards compatibility into account.
* src/data.c (fboundp): Note potential backwards compatibility issues in
FIXME.
2016-08-05 Noam Postavsky <npostavs@gmail.com>
kill-rectangle should mention killed-rectangle
* lisp/rect.el (kill-rectangle): Mention `killed-rectangle' in docstring
and warning message, rather than kill ring (Bug#19773).
2016-08-05 Eli Zaretskii <eliz@gnu.org>
Avoid assertion violations in nhexl-mode
* src/bidi.c (bidi_resolve_neutral): Convert an assertion to real
code executed in all builds. (Bug#24001)
2016-08-05 Fredrik Bergroth <fbergroth@gmail.com> (tiny change)
Use memmove instead of memcpy on overlapping regions
* src/editfns.c (Ftranspose_regions): Regions may overlap, so
use memmove instead of memcpy (bug#19213).
This is a backport from trunk.
(cherry picked from commit 354f9f0fc6cc05ed98883447f9b2f37943d79160)
2016-08-05 Noam Postavsky <npostavs@gmail.com>
Document buffer-swap-text+save-excursion interaction
* doc/lispref/buffers.texi (Swapping Text):
* src/buffer.c (Fbuffer_swap_text): Add warning about interaction of
`buffer-swap-text' and `save-excursion' (Bug #4655).
2016-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
Fix eieio vs cl-generic incompatibilities found in Rudel (bug#23947)
* lisp/emacs-lisp/cl-generic.el (cl-generic-apply): New function.
* lisp/emacs-lisp/eieio-compat.el (eieio--defmethod): Fix incorrect
mapping between cl-no-applicable-method and EIEIO's no-applicable-method.
* lisp/emacs-lisp/eieio-core.el (eieio--class-precedence-c3):
`class' is not a symbol but a class object.
2016-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
Include cl-generic in package--builtin-versions (bug#22817)
* lisp/emacs-lisp/cl-generic.el (package--builtin-versions):
Add ourselves manually. Don't merge since there's a better fix on master.
2016-08-05 Michael Albinus <michael.albinus@gmx.de>
Improve timing in `tramp-test29-environment-variables'
* test/automated/tramp-tests.el
(tramp-test--shell-command-to-string-asynchronously):
Add additional `accept-process-output' call.
(tramp-test29-environment-variables): Remove additional sleep calls.
2016-08-05 Michael Albinus <michael.albinus@gmx.de>
Add test for handling environment variables in Tramp
* test/automated/tramp-tests.el
(tramp-test--shell-command-to-string-asynchronously): New defun.
(tramp-test29-environment-variables): New test.
(tramp-test30-vc-registered)
(tramp-test31-make-auto-save-file-name)
(tramp-test32-special-characters)
(tramp-test32-special-characters-with-stat)
(tramp-test32-special-characters-with-perl)
(tramp-test32-special-characters-with-ls, tramp-test33-utf8)
(tramp-test33-utf8-with-stat, tramp-test33-utf8-with-perl)
(tramp-test33-utf8-with-ls)
(tramp-test34-asynchronous-requests)
(tramp-test35-recursive-load, tramp-test36-unload): Rename.
2016-08-05 Glenn Morris <rgm@gnu.org>
* lisp/emacs-lisp/package.el (describe-package-1)
(package-status-external): Fix face references. (Bug#23927)
2016-08-05 Stephen Berman <stephen.berman@gmx.net>
Improve documentation of search functions
Make the documentation of the search functions more accurate,
complete, and uniform; in particular, extend the description of
the effect when the 'count' parameter is a negative number to all
of these functions.
* src/search.c (Fsearch_backward, Fsearch_forward)
(Fre_search_backward, Fre_search_forward)
(Fposix_search_backward, Fposix_search_forward):
* lisp/isearch.el (word-search-backward, word-search-forward)
(word-search-backward-lax, word-search-forward-lax): Improve doc
strings as described above.
* doc/lispref/searching.texi (String Search, Regexp Search)
(POSIX Regexps): Use 'count' instead of 'repeat' as the name of
the fourth parameter of the *-search-{forward,backward} functions
and improve documentation as described above.
2016-08-05 Michael Albinus <michael.albinus@gmx.de>
Delete environment variables in Tramp when needed
* lisp/net/tramp-sh.el (tramp-get-env-with-u-option): New defun.
(tramp-sh-handle-start-file-process)
(tramp-sh-handle-process-file, ): Use it. (Bug#23952)
2016-08-05 Eli Zaretskii <eliz@gnu.org>
Add "New in Emacs 25" section to the FAQ
* doc/misc/efaq.texi (Latest version of Emacs): Update for later
versions.
(New in Emacs 25): New node.
(Status of Emacs): Add it to the menu.
2016-08-05 Eli Zaretskii <eliz@gnu.org>
Fix 'vertical-motion' in non-interactive sessions
* src/indent.c (Fvertical_motion): Don't return uninitialized
value in non-interactive session. This fixes random errors in
batch mode, see
http://lists.gnu.org/archive/html/emacs-devel/2016-06/msg00609.html
and
http://lists.gnu.org/archive/html/emacs-devel/2016-07/msg00500.html
for the details.
2016-08-05 Andreas Schwab <schwab@linux-m68k.org>
Fix memory leak in imagemagick-types
* src/image.c (Fimagemagick_types): Use AcquireExceptionInfo to
avoid memory leak.
2016-08-05 Eli Zaretskii <eliz@gnu.org>
Update ELisp manual to match 'string-collate-equalp' doc string
* doc/lispref/strings.texi (Text Comparison): Remove reference to
sorting from the description of 'string-collate-equalp'. (Bug#23902)
2016-08-05 Noam Postavsky <npostavs@gmail.com>
Clarify docstring of find-feature-regexp
* lisp/emacs-lisp/find-func.el (find-feature-regexp): Explain that `%s'
is optional (Bug #23520).
2016-08-05 Noam Postavsky <npostavs@gmail.com>
Add details to cl-lib defining macros' docstrings
* lisp/emacs-lisp/cl-macs.el (cl-defun, cl-defmacro): Add terse summary
of supported arglist forms (Bug #22462).
2016-08-05 Eli Zaretskii <eliz@gnu.org>
Clarify doc string of 'save-buffer'
* lisp/files.el (save-buffer): Clarify that backups might not be
made even if this command is invoked with 2 or 3 "C-u"s.
(Bug#3702)
2016-08-05 Eli Zaretskii <eliz@gnu.org>
Un-confuse doc string of 'string-collate-equalp'
* src/fns.c (Fstring_collate_equalp): Remove confusing text from
doc string. (Bug#23902)
2016-08-05 Eli Zaretskii <eliz@gnu.org>
Clarify documentation of 'mouse-on-link-p'
* lisp/mouse.el (mouse-on-link-p): Clarify the form of the POS
argument. (Bug#23899)
2016-08-05 Phillip Lord <phillip.lord@russet.org.uk>
Fix missing undo-boundary on revert-buffer.
* lisp/simple.el (undo-auto--undoable-change-no-timer): New function.
* src/fileio.c (insert-buffer-contents): Call
undo-auto--undoably-changed-buffers before changes.
Addresses Bug#23785.
Do not merge to master as c98bc98 also addresses the same bug.
2016-08-05 Martin Rudalics <rudalics@gmx.at>
Amend last addition to etc/PROBLEMS
* etc/PROBLEMS: Mention GTK+ problem with unexpected frame widenings
2016-08-05 Paul Eggert <eggert@cs.ucla.edu>
Fix open-network-stream responsiveness
Problem reported by Christer Ekholm (Bug#23864).
Backport from master.
* src/process.c (wait_reading_process_output):
Fix typo introduced in 2015-07-06T02:19:13Z!eggert@cs.ucla.edu
when wait == INFINITY and got_output_end_time is invalid.
In this case the code should break, not continue.
2016-08-05 Phillip Lord <phillip.lord@russet.org.uk>
Fix missing point information in undo
* src/undo.c (record_insert): Use record_point instead of
prepare_record, and do so unconditionally.
(prepare_record): Do not record first change.
(record_point): Now conditional on state before the last command.
(record_delete): Call record_point unconditionally.
(record_property_change): Use prepare_record.
(record_marker_adjustments): Use prepare_record.
Addresses Bug# 21722
2016-08-05 Eli Zaretskii <eliz@gnu.org>
Avoid crashes when buffer modification hooks clobber match data
* src/search.c (Freplace_match): Error out if buffer modification
hooks triggered by buffer changes in replace_range, upcase-region,
and upcase-initials-region clobber the match data needed to be
adjusted for the replacement. (Bug#23869)
2016-08-05 Noam Postavsky <npostavs@gmail.com>
Note combine-and-quote-strings doesn't shell quote
* doc/lispref/processes.texi (Shell Arguments):
* lisp/subr.el (combine-and-quote-strings): Add a note that
combine-and-quote-strings doesn't protect arguments against shell
evaluation (Bug #20333).
2016-08-05 Noam Postavsky <npostavs@gmail.com>
Explain when package-initialize isn't called
* doc/lispref/os.texi (Startup Summary): Explain that package-initialize
is not called when options -q, -Q, or --batch were passed (Bug #19151).
2016-08-05 Noam Postavsky <npostavs@gmail.com>
Fix escaping in sh-indent-after-continuation docstr
* lisp/progmodes/sh-script.el (sh-indent-after-continuation): Properly
escape backslashes in docstring (Bug#23046).
2016-08-05 Eli Zaretskii <eliz@gnu.org>
Clarify the documentation of back-references in replacements
* doc/emacs/search.texi (Regexp Replace): Clarify that \D starts
with \1, not \0.
* lisp/replace.el (query-replace-regexp)
(query-replace-regexp-eval, replace-regexp): Doc fix (Bug#23884)
2016-08-05 Noam Postavsky <npostavs@gmail.com>
Clarify lexical binding with symbol args behavior
* doc/lispref/variables.texi (Lexical Binding): Clarify that symbol
arguments always refer to dynamic values (Bug #23781). Remove mention
of obsolete restriction regarding lexical binding for defun and
defmacro, this no longer applies since 61b108cc 2012-05-29 "*
lisp/emacs-lisp/byte-run.el (defmacro, defun): Move from C...".
2016-08-05 Michael Albinus <michael.albinus@gmx.de>
* lisp/net/tramp-sh.el (tramp-remote-path): Doc fix.
2016-08-05 Eli Zaretskii <eliz@gnu.org>
* lisp/net/tramp-sh.el (tramp-remote-path): Doc fix. (Bug#23865)
2016-08-05 Eli Zaretskii <eliz@gnu.org>
Avoid assertion violations when rendering some fonts
* src/dispextern.h (FONT_TOO_HIGH): Don't consider a font "too
high" if its pixel_size value is zero. This avoids assertion
violations at the end of x_produce_glyphs.
2016-08-05 Noam Postavsky <npostavs@gmail.com>
Document more details of package activation
* doc/emacs/package.texi (Package Installation): Explain that package
activation adds to load-path (Bug #21704).
2016-08-05 Noam Postavsky <npostavs@gmail.com>
Fixup warning message regarding HOME a bit more
* src/w32.c (init_environment): The manual section title is "Windows
HOME" (Bug #11612). Move newline so warning fits in 80 character lines.
2016-08-05 Eli Zaretskii <eliz@gnu.org>
* lisp/leim/quail/indian.el ("bengali-probhat"): Change indicator to BngPB.
2016-08-05 Michael Albinus <michael.albinus@gmx.de>
Fix input method "probhat" for Bengali
Author: উৎসব রায় <uroybd@gmail.com>
* lisp/leim/quail/indian.el ("bengali-probhat"): Fix entry.
2016-08-05 Noam Postavsky <npostavs@gmail.com>
Add to elisp-completion-at-point's docstring
* lisp/progmodes/elisp-mode.el (elisp-completion-at-point): Document
position dependent behavior (Bug #19854).
2016-08-05 Noam Postavsky <npostavs@gmail.com>
Eli Zaretskii <eliz@gnu.org>
Give more helpful warning about setting HOME
* src/w32.c (init_environment): Improve warning message that pops when
Emacs sets HOME according to existence of C:\.emacs (Bug #11612).
2016-08-05 Eli Zaretskii <eliz@gnu.org>
Fix slow redisplay in term-mode
* lisp/term.el (term-mode): Move the setting of
bidi-paragraph-direction from 'ansi-term' to here, since term-mode
is also affected. Do not merge to master, since there the problem
is solved in bidi.c by changing the regexps that delimit a
paragraph. (Bug#23801)
2016-08-05 উৎসব রায় <uroybd@gmail.com>
New input method "probhat" for Bengali
* lisp/leim/quail/indian.el ("probhat"): New input method.
(Bug#23822)
* etc/NEWS: Mention the new input method.
2016-08-05 Noam Postavsky <npostavs@gmail.com>
Drew Adams <drew.adams@oracle.com>
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).
2016-08-05 Eli Zaretskii <eliz@gnu.org>
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'.
2016-08-05 Dmitry Gutov <dgutov@yandex.ru>
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).
2016-08-05 Katsumi Yamaoka <yamaoka@jpl.org>
* lisp/gnus/mm-decode.el (mm-convert-shr-links):
Mask keys that launch `widget-button-click' (bug#22157).
2016-08-05 Dmitry Gutov <dgutov@yandex.ru>
Unset GIT_DIR when calling Git commands
* lisp/vc/vc-git.el (vc-git--call, vc-git-command):
Unset GIT_DIR (bug#23769).
2016-08-05 Phillip Lord <phillip.lord@russet.org.uk>
Ensure undo-boundary after insert-file-contents.
* src/fileio.c: Record undoable change during insert-file-contents.
Addresses Bug #23785.
2016-08-05 Eli Zaretskii <eliz@gnu.org>
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)
2016-08-05 Eli Zaretskii <eliz@gnu.org>
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)
2016-08-05 Glenn Morris <rgm@gnu.org>
* admin/authors.el (authors-ignored-files, authors-valid-file-names)
(authors-renamed-files-alist): Additions.
* admin/authors.el (authors-aliases, authors-fixed-case): Additions.
2016-08-05 Noam Postavsky <npostavs@gmail.com>
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).
2016-08-05 Eli Zaretskii <eliz@gnu.org>
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)
2016-08-05 Glenn Morris <rgm@gnu.org>
* doc/misc/cl.texi (Usage): Add some more details.
2016-08-05 Noam Postavsky <npostavs@gmail.com>
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).
2016-08-05 Paul Eggert <eggert@cs.ucla.edu>
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)
2016-08-05 Stephen Berman <stephen.berman@gmx.net>
Fix last todo-mode change
* lisp/calendar/todo-mode.el (todo-read-category): Return the
keymap in order to use its defined key bindings.
2016-08-05 Stephen Berman <stephen.berman@gmx.net>
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).
2016-08-05 Stephen Berman <stephen.berman@gmx.net>
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.
2016-08-05 Glenn Morris <rgm@gnu.org>
* src/alloc.c (ALIGN): Avoid error on DragonFly BSD. (Bug#23764)
* lisp/emacs-lisp/nadvice.el (advice--make-docstring):
Avoid mangling autoloads with unspecified arguments. (Bug#21299)
2016-08-05 Glenn Morris <rgm@gnu.org>
* lisp/help-fns.el (describe-function-1): Avoid reporting advised
autoloads as aliases. (Bug#21299)
2016-08-05 Stephen Berman <stephen.berman@gmx.net>
Minor grammar fix (bug#23746)
* doc/lispref/processes.texi (Synchronous Processes):
Another minor grammar fix (bug#23746).
2016-08-05 Stephen Berman <stephen.berman@gmx.net>
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).
2016-08-05 Eli Zaretskii <eliz@gnu.org>
* doc/lispref/processes.texi (Process Buffers): Minor rewording. (Bug#23446)
2016-08-05 Eli Zaretskii <eliz@gnu.org>
Add cross-reference to ELisp manual
* doc/lispref/commands.texi (Classifying Events): Add
cross-reference to "Motion Events". (Bug#23756)
2016-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
2016-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
* lisp/emacs-lisp/macroexp.el (macroexp--expand-all): Fix (bug#19704)
@ -169,11 +791,11 @@
Correct cl-flet usage (Bug#22317)
* mh-compat.el: Rename mh-cl-flet to mh-flet and convert alias to
* lisp/mh-e/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):
* lisp/mh-e/mh-thread.el (mh-thread-set-tables):
* lisp/mh-e/mh-show.el (mh-gnus-article-highlight-citation):
* lisp/mh-e/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.
@ -274,7 +896,7 @@
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
* lisp/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
@ -1572,7 +2194,7 @@
org-map-entries: Fix org-agenda-prepare-buffers call
* lisp/org.el (org-map-entries): Check that buffer-file-name is non-nil
* lisp/org/org.el (org-map-entries): Check that buffer-file-name is non-nil
before passing to org-agenda-prepare-buffers.
This is a backport of commit 44c8cd7136e3fcd1e6bfa08895cac437b7a691fa
@ -2202,7 +2824,7 @@
Prevent bootstrap autoload backup files
* lisp/emacs-lisp/autoload (autoload-find-generated-file): Suppress
* lisp/emacs-lisp/autoload.el (autoload-find-generated-file): Suppress
backups in newly created file.
(autoload-ensure-default-file): Function split into two.
@ -2514,10 +3136,10 @@
The arguments BEG and END were unused, and are now removed.
* display.texi (Xwidgets): Document the change
* xwidget.el (make-xwidget, xwidget-insert)
* doc/emacs/display.texi (Xwidgets): Document the change
* lisp/xwidget.el (make-xwidget, xwidget-insert)
(xwidget-webkit-new-session): Reflect changed arguments
* xwidget.c (Fmake_xwidget, syms_of_xwidget): Reflect changed arguments
* src/xwidget.c (Fmake_xwidget, syms_of_xwidget): Reflect changed arguments
2016-06-19 Eli Zaretskii <eliz@gnu.org>
@ -2752,7 +3374,7 @@
* lisp/emacs-lisp/map.el (map-put): Do not bind the evaluated place
expression to a new symbol.
* test/lisp/emacs-lisp/map-tests.el: Add a regression test.
* test/automated/map-tests.el: Add a regression test.
2016-06-19 Eli Zaretskii <eliz@gnu.org>
@ -2805,7 +3427,7 @@
Fix display of Indic scripts
* ftfont.c (ftfont_shape_by_flt): For combining characters out
* src/ftfont.c (ftfont_shape_by_flt): For combining characters out
of the range U+300...U+36F, use the "combining" FLT only with
non-OTF fonts.
@ -2953,7 +3575,7 @@
Fix an Isearch var to be a string (Bug#23038)
* isearch.el (isearch--describe-regexp-mode): The `description' var
* lisp/isearch.el (isearch--describe-regexp-mode): The `description' var
needs to always be a string. Add the missing default case for the
cond form that ensures that.
@ -3353,7 +3975,7 @@
Simplify "Visit New File" to "New File"
* doc/emacs/files.texi,lisp/menu-bar.el (menu-bar-file-menu),
* doc/emacs/files.texi, lisp/menu-bar.el (menu-bar-file-menu),
lisp/startup.el(normal-mouse-start-screen,
normal-no-mouse-startup-screen): Change label "Visit New File" to "New
File".
@ -3438,7 +4060,7 @@
Update Emacs manual section related to character folding
* search.texi: Character folding is not on by default.
* doc/emacs/search.texi: Character folding is not on by default.
2016-06-19 Eli Zaretskii <eliz@gnu.org>
@ -36756,6 +37378,7 @@
This file records repository revisions from
commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to
2016-08-05faead6df626b3737c10f98e9c4964232aa6b9 (inclusive).
2016-06-19d77d8dbd5b051bb681bacaee4a6faffbbdde9 (inclusive).
2016-03-04a00c6cfb5f3cafbad92bd4584a0f50343a568 (inclusive).
2016-02-15decb15e0496cec0c48d980c88a5a9d7cc00da (inclusive).

View File

@ -652,6 +652,7 @@ Changes to files in this list are not listed.")
"ebuild.bat" "install.bat" "fast-install.bat"
"debug.bat.in" "emacs.bat.in" "addsection.c"
"inc/sys/dir.h" "inc/gettext.h"
"time.h"
".gdbinit-union"
"alloca.s"
"make-delta"
@ -750,11 +751,20 @@ Changes to files in this list are not listed.")
"getopt_.h" "getopt_int.h" "gettext.h" "leditcfns.c" "loadst.c"
"make-path.c" "qsort.c" "sorted-doc.c" "tcp.c" "timer.c" "wakeup.c"
"yow.c" "grep-changelog" "grep-changelog.1"
;; semantic files now removed from the repository
"semantic/bovine/c-by.el" "semantic/bovine/make-by.el"
"semantic/bovine/scm-by.el" "semantic/wisent/javat-wy.el"
"semantic/wisent/js-wy.el" "semantic/wisent/python-wy.el"
"srecode/srt-wy.el"
;; etc/
"emacsclient.c" "etags.c" "hexl.c" "make-docfile.c" "movemail.c"
"test-distrib.c" "testfile"
"tpu-edt.doc" ; see below
"lisp/obsolete/vc-mcvs.el"
"obsolete/vc-mcvs.el"
"nnwarchive.el"
"nnultimate.el"
"nnslashdot.el"
"webmail.el"
)
"File names which are valid, but no longer exist (or cannot be found)
in the repository.")
@ -892,6 +902,14 @@ in the repository.")
("major.texi" . "modes.texi")
("msdog-xtra.texi" . "msdos-xtra.texi")
("msdog.texi" . "msdos.texi")
;; Moved from lisp/gnus/ to lisp/calendar/
("time-date.el" . "calendar/time-date.el")
;; Moved from lisp/gnus/ to lisp/mail/
("binhex.el" . "mail/binhex.el")
("uudecode.el" . "mail/uudecode.el")
;; Moved from lisp/gnus/ to lisp/net/
("imap.el" . "net/imap.el")
("rfc2104.el" . "net/rfc2104.el")
;; And from emacs/ to misc/ and back again.
("ns-emacs.texi" . "macos.texi")
("overrides.texi" . "gnus-overrides.texi")
@ -909,7 +927,6 @@ in the repository.")
("lisp/character-fold.el" . "lisp/char-fold.el")
("test/automated/character-fold-tests.el" . "test/automated/char-fold-tests.el")
("images/gnus/mail_send.xpm" . "mail-send.xpm") ; still in images/gnus
;; Renamed within same directory.
("schema/xhtml-basic-form.rnc" . "xhtml-bform.rnc" )
("schema/xhtml-basic-table.rnc" . "xhtml-btable.rnc")
("schema/xhtml-list.rnc" . "xhtml-lst.rnc")

File diff suppressed because it is too large Load Diff

View File

@ -601,8 +601,10 @@ file names into backslashes. It no longer does that.
** New configure option --with-cairo.
This builds Emacs with Cairo drawing. As a side effect, it provides
support for built-in printing, when Emacs was built with GTK+.
Cairo drawing is an experimental feature in Emacs, and subject to
change in future releases.
The Emacs Cairo drawing is experimental and still has some known
display problems. We encourage more testing of this build and
reporting any problems you find, but it is not recommended for
production.
+++
** New configure option --with-modules.

View File

@ -1039,6 +1039,28 @@ while, Emacs may print a message:
A workaround is to not use 'klipper'. Upgrading 'klipper' to the one
coming with KDE 3.3 or later also solves the problem.
*** KDE / Plasma 5: Emacs exhausts memory and needs to be killed
This problem occurs when large selections contain mixed line endings
(i.e. the buffer has LF line endings, but in some parts CRLF is used).
The source of the problem is currently under investigation, older
versions of Emacs up to 24.5 just hang for a few seconds and then
return with the message "Timed out waiting for property-notify event"
as described in the previous note. As a workaround, go to the
settings dialog for the Clipboard widget and select the option "Ignore
Selection".
Note: Plasma 5 has replaced the separate klipper process from earlier
KDE versions with functionality directly integrated into plasmashell,
so even if you've previously did not use klipper this will affect you.
Also, all configuration you might have done to klipper is not used by
the new Clipboard widget / plasmoid since it uses its own settings.
You can hide the Clipboard widget by removing its entry from the
system tray settings "Extra Items", but it's not clear if the
underlying functionality in plasmashell gets fully disabled as well.
At least a restart of plasmashell is required for the clipboard
history to be cleared.
*** CDE: Frames may cover dialogs they created when using CDE.
This can happen if you have "Allow Primary Windows On Top" enabled which

View File

@ -6026,7 +6026,7 @@
2014-11-01 Michael R. Mauger <michael@mauger.com>
* sql.el (sql-mode-oracle-font-lock-keywords): Correct regexp
* progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Correct regexp
syntax, add new keywords, and parse longer keywords first.
(sql-redirect-one): Protect against empty command.
(sql-mode, sql-interactive-mode): Set `custom-mode-group' property
@ -6034,7 +6034,7 @@
2014-11-01 Michael R. Mauger <michael@mauger.com>
* sql.el (sql-interactive-mode, sql-stop): Correct fix for
* progmodes/sql.el (sql-interactive-mode, sql-stop): Correct fix for
Bug#16814 with let-bind of comint-input-ring variables around read
and save functions.

View File

@ -539,9 +539,9 @@ functions are annotated with \"<f>\" via the
(delete-dups
;; FIXME: We should include some
;; docstring with each entry.
(append
macro-declarations-alist
defun-declarations-alist)))))
(append macro-declarations-alist
defun-declarations-alist
nil))))) ; Copy both alists.
((and (or `condition-case `condition-case-unless-debug)
(guard (save-excursion
(ignore-errors

View File

@ -410,9 +410,6 @@ With a prefix (or a FILL) argument, also fill too short lines."
(defun rectangle--string-preview ()
(when rectangle-preview
(let ((str (minibuffer-contents)))
(when (equal str "")
(setq str (or (car-safe minibuffer-default)
(if (stringp minibuffer-default) minibuffer-default))))
(when str (setq str (propertize str 'face 'rectangle-preview)))
(with-selected-window rectangle--string-preview-window
(unless (or (null rectangle--string-preview-state)

View File

@ -447,7 +447,7 @@ internal_self_insert (int c, EMACS_INT n)
string = concat2 (string, tem);
}
replace_range (PT, PT + chars_to_delete, string, 1, 1, 1);
replace_range (PT, PT + chars_to_delete, string, 1, 1, 1, 0);
Fforward_char (make_number (n));
}
else if (n > 1)

View File

@ -3244,7 +3244,7 @@ Both characters must have the same length of multi-byte form. */)
/* replace_range is less efficient, because it moves the gap,
but it handles combining correctly. */
replace_range (pos, pos + 1, string,
0, 0, 1);
0, 0, 1, 0);
pos_byte_next = CHAR_TO_BYTE (pos);
if (pos_byte_next > pos_byte)
/* Before combining happened. We should not increment
@ -3457,7 +3457,7 @@ It returns the number of characters changed. */)
/* This is less efficient, because it moves the gap,
but it should handle multibyte characters correctly. */
string = make_multibyte_string ((char *) str, 1, str_len);
replace_range (pos, pos + 1, string, 1, 0, 1);
replace_range (pos, pos + 1, string, 1, 0, 1, 0);
len = str_len;
}
else
@ -3498,7 +3498,7 @@ It returns the number of characters changed. */)
{
string = Fmake_string (make_number (1), val);
}
replace_range (pos, pos + len, string, 1, 0, 1);
replace_range (pos, pos + len, string, 1, 0, 1, 0);
pos_byte += SBYTES (string);
pos += SCHARS (string);
cnt += SCHARS (string);

View File

@ -1340,7 +1340,9 @@ adjust_after_insert (ptrdiff_t from, ptrdiff_t from_byte,
/* Replace the text from character positions FROM to TO with NEW,
If PREPARE, call prepare_to_modify_buffer.
If INHERIT, the newly inserted text should inherit text properties
from the surrounding non-deleted text. */
from the surrounding non-deleted text.
If ADJUST_MATCH_DATA, then adjust the match data before calling
signal_after_change. */
/* Note that this does not yet handle markers quite right.
Also it needs to record a single undo-entry that does a replacement
@ -1351,7 +1353,8 @@ adjust_after_insert (ptrdiff_t from, ptrdiff_t from_byte,
void
replace_range (ptrdiff_t from, ptrdiff_t to, Lisp_Object new,
bool prepare, bool inherit, bool markers)
bool prepare, bool inherit, bool markers,
bool adjust_match_data)
{
ptrdiff_t inschars = SCHARS (new);
ptrdiff_t insbytes = SBYTES (new);
@ -1508,6 +1511,9 @@ replace_range (ptrdiff_t from, ptrdiff_t to, Lisp_Object new,
MODIFF++;
CHARS_MODIFF = MODIFF;
if (adjust_match_data)
update_search_regs (from, to, from + SCHARS (new));
signal_after_change (from, nchars_del, GPT - from);
update_compositions (from, GPT, CHECK_BORDER);
}

View File

@ -3530,7 +3530,7 @@ extern void adjust_markers_for_delete (ptrdiff_t, ptrdiff_t,
ptrdiff_t, ptrdiff_t);
extern void adjust_markers_bytepos (ptrdiff_t, ptrdiff_t,
ptrdiff_t, ptrdiff_t, int);
extern void replace_range (ptrdiff_t, ptrdiff_t, Lisp_Object, bool, bool, bool);
extern void replace_range (ptrdiff_t, ptrdiff_t, Lisp_Object, bool, bool, bool, bool);
extern void replace_range_2 (ptrdiff_t, ptrdiff_t, ptrdiff_t, ptrdiff_t,
const char *, ptrdiff_t, ptrdiff_t, bool);
extern void syms_of_insdel (void);
@ -4019,6 +4019,8 @@ extern Lisp_Object make_temp_name (Lisp_Object, bool);
/* Defined in search.c. */
extern void shrink_regexp_cache (void);
extern void restore_search_regs (void);
extern void update_search_regs (ptrdiff_t oldstart,
ptrdiff_t oldend, ptrdiff_t newend);
extern void record_unwind_save_match_data (void);
struct re_registers;
extern struct re_pattern_buffer *compile_pattern (Lisp_Object,

View File

@ -2712,16 +2712,23 @@ since only regular expressions have distinguished subexpressions. */)
/* The functions below modify the buffer, so they could trigger
various modification hooks (see signal_before_change and
signal_after_change), which might clobber the match data we need
to adjust after the replacement. If that happens, we error out. */
signal_after_change). If these hooks clobber the match data we
error out since otherwise this will result in confusing bugs. */
ptrdiff_t sub_start = search_regs.start[sub];
ptrdiff_t sub_end = search_regs.end[sub];
unsigned num_regs = search_regs.num_regs;
newpoint = search_regs.start[sub] + SCHARS (newtext);
/* Replace the old text with the new in the cleanest possible way. */
replace_range (search_regs.start[sub], search_regs.end[sub],
newtext, 1, 0, 1);
newpoint = search_regs.start[sub] + SCHARS (newtext);
newtext, 1, 0, 1, 1);
/* Update saved data to match adjustment made by replace_range. */
{
ptrdiff_t change = newpoint - sub_end;
if (sub_start >= sub_end)
sub_start += change;
sub_end += change;
}
if (case_action == all_caps)
Fupcase_region (make_number (search_regs.start[sub]),
@ -2736,26 +2743,6 @@ since only regular expressions have distinguished subexpressions. */)
|| search_regs.num_regs != num_regs)
error ("Match data clobbered by buffer modification hooks");
/* Adjust search data for this change. */
{
ptrdiff_t oldend = search_regs.end[sub];
ptrdiff_t oldstart = search_regs.start[sub];
ptrdiff_t change = newpoint - search_regs.end[sub];
ptrdiff_t i;
for (i = 0; i < search_regs.num_regs; i++)
{
if (search_regs.start[i] >= oldend)
search_regs.start[i] += change;
else if (search_regs.start[i] > oldstart)
search_regs.start[i] = oldstart;
if (search_regs.end[i] >= oldend)
search_regs.end[i] += change;
else if (search_regs.end[i] > oldstart)
search_regs.end[i] = oldstart;
}
}
/* Put point back where it was in the text. */
if (opoint <= 0)
TEMP_SET_PT (opoint + ZV);
@ -3096,6 +3083,27 @@ restore_search_regs (void)
}
}
/* Called from replace-match via replace_range. */
void
update_search_regs (ptrdiff_t oldstart, ptrdiff_t oldend, ptrdiff_t newend)
{
/* Adjust search data for this change. */
ptrdiff_t change = newend - oldend;
ptrdiff_t i;
for (i = 0; i < search_regs.num_regs; i++)
{
if (search_regs.start[i] >= oldend)
search_regs.start[i] += change;
else if (search_regs.start[i] > oldstart)
search_regs.start[i] = oldstart;
if (search_regs.end[i] >= oldend)
search_regs.end[i] += change;
else if (search_regs.end[i] > oldstart)
search_regs.end[i] = oldstart;
}
}
static void
unwind_set_match_data (Lisp_Object list)
{