Michael Albinus [Wed, 10 Jul 2019 08:34:02 +0000 (10:34 +0200)]
* lisp/net/tramp-sh.el (tramp-inline-compress-start-size): Set nil on w32.
Stefan Monnier [Tue, 9 Jul 2019 13:27:07 +0000 (09:27 -0400)]
* lisp/progmodes/verilog-mode.el: One more ELPA Version:
Eli Zaretskii [Sat, 6 Jul 2019 18:33:45 +0000 (21:33 +0300)]
; * doc/emacs/killing.texi (Secondary Selection): Fix last change.
Stefan Monnier [Sat, 6 Jul 2019 16:16:24 +0000 (12:16 -0400)]
* lisp/svg.el, lisp/progmodes/ada-mode.el: Fix bug#36360.
Tell package.el their version number, for better behavior w.r.t the
versions available in GNU ELPA
Eli Zaretskii [Sat, 6 Jul 2019 14:25:46 +0000 (17:25 +0300)]
Minor copyedit of "Font Lock" in user manual
* doc/emacs/display.texi (Font Lock): Make the wording about
"enabling Font Lock" crystal clear. (Bug#36529)
Eli Zaretskii [Sat, 6 Jul 2019 12:32:20 +0000 (15:32 +0300)]
Improve description of image descriptors
* doc/lispref/display.texi (Image Descriptors): More accurate
description of where image files are looked up. (Bug#36523)
Eli Zaretskii [Sat, 6 Jul 2019 08:40:49 +0000 (11:40 +0300)]
; * src/lread.c (Fread): Make the comment wording more accurate.
Eli Zaretskii [Sat, 6 Jul 2019 08:30:35 +0000 (11:30 +0300)]
Improve documentation of secondary selections
* doc/emacs/killing.texi (Secondary Selection): Improve
wording. Mention that 'M-mouse-1' can be used to cancel
secondary selections. (Bug#36365)
Eli Zaretskii [Sat, 6 Jul 2019 07:31:06 +0000 (10:31 +0300)]
* src/fns.c (Fmapconcat): Doc fix. (Bug#36418)
YAMAMOTO Mitsuharu [Sat, 6 Jul 2019 05:24:34 +0000 (14:24 +0900)]
Avoid crash inside CFCharacterSetIsLongCharacterMember (Bug#36507)
* src/macfont.m (macfont_supports_charset_and_languages_p)
(macfont_has_char): Don't pass integers outside the Unicode codespace to
CFCharacterSetIsLongCharacterMember. Do not merge to master.
Noam Postavsky [Sat, 6 Jul 2019 01:34:16 +0000 (21:34 -0400)]
Fix python.el docstring (Bug#36458)
* lisp/progmodes/python.el (python-shell--prompt-calculated-output-regexp):
python-shell-set-prompt-regexp doesn't exist, presumably
python-shell-prompt-set-calculated-regexps was meant.
Noam Postavsky [Mon, 13 May 2019 12:39:00 +0000 (08:39 -0400)]
; Add thing-at-point-looking-at test (Bug#35708)
* test/lisp/thingatpt-tests.el (thing-at-point-looking-at): New test.
Noam Postavsky [Thu, 30 May 2019 12:16:46 +0000 (08:16 -0400)]
; Fix typo, insure -> ensure in ChangeLogs
Eli Zaretskii [Wed, 3 Jul 2019 12:55:10 +0000 (15:55 +0300)]
* lisp/hi-lock.el (hi-lock-line-face-buffer): Doc fix. (Bug36448)
Glenn Morris [Mon, 1 Jul 2019 13:08:24 +0000 (06:08 -0700)]
; Auto-commit of loaddefs files.
Stefan Kangas [Fri, 28 Jun 2019 00:08:14 +0000 (02:08 +0200)]
Fix typo in doc string of file-exists-p (bug#36408)
* src/fileio.c (Ffile_exists_p): Fix typo in doc string.
Juanma Barranquero [Fri, 28 Jun 2019 13:22:00 +0000 (15:22 +0200)]
* test/lisp/url/url-file-tests.el (url-file): Fix for POSIX filenames.
Stefan Kangas [Fri, 28 Jun 2019 01:16:57 +0000 (03:16 +0200)]
Fix typo in windows.texi
* doc/lispref/windows.texi (Window History): Fix typo. (Bug#36412)
Basil L. Contovounesios [Wed, 26 Jun 2019 21:13:34 +0000 (22:13 +0100)]
Clarify & update (elisp) Writing Emacs Primitives
* doc/lispref/internals.texi (Writing Emacs Primitives): Update some
of the sample code listings, fixing argument lists and parentheses.
Replace ... with @dots{}. Describe UNEVALLED special forms as
taking a single argument. (bug#36392)
Eli Zaretskii [Wed, 26 Jun 2019 15:02:26 +0000 (18:02 +0300)]
Clarify a subtle issue in the Internals chapter of lispref
* doc/lispref/internals.texi (Writing Emacs Primitives):
Clarify the issue with relocation of buffer or string text as
side effect of Lisp evaluation. (Bug#36392)
Noam Postavsky [Mon, 24 Jun 2019 01:27:43 +0000 (21:27 -0400)]
Fix sgml-mode handling of quotes within parens (Bug#36347)
* lisp/textmodes/sgml-mode.el (sgml-syntax-propertize): Use
syntax-ppss-table if set. This is only needed on the release branch,
on master the caller (syntax-propertize) already does this.
(sgml-mode): Set syntax-ppss-table to sgml-tag-syntax-table. This
correctly classifies parens as punctuation, so they won't confuse the
parser.
* test/lisp/textmodes/sgml-mode-tests.el (sgml-tests--quotes-syntax):
New test copied from master, with two cases added for this bug.
Noam Postavsky [Tue, 25 Jun 2019 22:57:30 +0000 (18:57 -0400)]
; * lisp/frame.el: Enhance add-variable-watcher commentary.
Juanma Barranquero [Fri, 21 Jun 2019 19:41:47 +0000 (21:41 +0200)]
Rename 'make-symbolic-link' argument NEWNAME to LINKNAME
* src/fileio.c (Fmake_symbolic_link): Fix docstring.
* doc/lispref/files.texi (Changing Files): Doc fix.
Robert Pluim [Wed, 19 Jun 2019 06:52:50 +0000 (08:52 +0200)]
Check that length of data returned by sysctl is non-zero
The length of the data returned by sysctl can be zero, which was not
checked for. This could cause crashes, e.g. when querying
non-existent processes. (Bug#36279)
* src/sysdep.c (list_system_processes) [DARWIN_OS || __FreeBSD__]:
(system_process_attributes) [__FreeBSD__]:
(system_process_attributes) [DARWIN_OS]:
* src/filelock.c (get_boot_time) [CTL_KERN && KERN_BOOTTIME]: Check
for zero length data returned by sysctl.
Juanma Barranquero [Mon, 17 Jun 2019 01:12:45 +0000 (03:12 +0200)]
* test/lisp/progmodes/python-tests.el (python-virt-bin): Doc fix.
Juanma Barranquero [Mon, 17 Jun 2019 00:48:21 +0000 (02:48 +0200)]
Fix Python tests depending on system-type
* test/lisp/progmodes/python-tests.el (python-virt-bin): New function.
(python-shell-calculate-exec-path-2)
(python-shell-calculate-exec-path-3)
(python-shell-calculate-exec-path-4)
(python-shell-with-environment-1, python-shell-with-environment-2):
Use it.
Juanma Barranquero [Sun, 16 Jun 2019 19:57:44 +0000 (21:57 +0200)]
Fix problem with wdired test when symlinks cannot be created.
* test/lisp/wdired-tests.el (wdired-test-symlink-name):
Skip test if 'make-symbolic-link' fails for whatever reason;
that's not what's being tested.
Eli Zaretskii [Sun, 16 Jun 2019 15:29:21 +0000 (18:29 +0300)]
Improve wording of documentation of click events
* doc/lispref/commands.texi (Click Events, Accessing Mouse):
Improve and clarify wording. (Bug#36232)
Mattias Engdegård [Sun, 31 Mar 2019 13:53:52 +0000 (15:53 +0200)]
Backport: Fix typo in regexp-opt example code
* doc/lispref/searching.texi (Regexp Functions):
Fix typo in example code (Bug#34596).
Stefan Kangas [Wed, 12 Jun 2019 17:58:28 +0000 (19:58 +0200)]
Remove outdated comment in winner.el (Bug#36185)
* lisp/winner.el: Remove outdated comment.
Michael Albinus [Sat, 15 Jun 2019 19:38:11 +0000 (21:38 +0200)]
Fix accidential change in tramp-tests; do not merge with master
* lisp/net/trampver.el: Change version to "2.3.5.26.3".
(customize-package-emacs-version-alist): Add Tramp version
integrated in Emacs 26.3.
* test/lisp/net/tramp-tests.el (tramp-test42-auto-load):
Add skip for w32.
Juanma Barranquero [Sat, 15 Jun 2019 05:23:25 +0000 (07:23 +0200)]
tramp-test42-auto-load: Add expected-result.
* test/lisp/net/tramp-tests.el (tramp-test42-auto-load):
Expect a failed result if remote file access is not enabled,
as it happens while doing the test on Windows.
Juanma Barranquero [Sat, 15 Jun 2019 03:29:03 +0000 (05:29 +0200)]
* test/lisp/url/url-file-tests.el (url-file): Use file:///, not file://.
Juanma Barranquero [Fri, 14 Jun 2019 23:37:27 +0000 (01:37 +0200)]
Fix doc of srecompile-compile-split-code (Bug#36200)
* lisp/cedet/srecode/compile.el (srecode-compile-split-code):
Remove leftover text from docstring.
Eric Abrahamsen [Thu, 13 Jun 2019 22:09:24 +0000 (15:09 -0700)]
Make sure Gnus imap group names are decoded before searching
do not merge (fix unnecessary in Emacs 27)
* lisp/gnus/nnir.el (nnir-run-imap): Ensure that non-ascii group names
have been fully decoded before passing them to imap search.
Eli Zaretskii [Fri, 14 Jun 2019 06:40:40 +0000 (09:40 +0300)]
Remove failing test erroneously added in backport
* test/src/thread-tests.el (threads-test-bug33073): Remove
test which cannot work on the emacs-26 branch. Do not merge
to master. Reported by Juanma Barranquero <lekktu@gmail.com>.
Juanma Barranquero [Fri, 14 Jun 2019 00:24:52 +0000 (02:24 +0200)]
* lisp/net/sieve-manage.el (sieve-manage-parse-capability): Doc fix.
Nicolas Petton [Wed, 12 Jun 2019 11:56:27 +0000 (13:56 +0200)]
; * lisp/ldefs-boot.el: Update.
Nicolas Petton [Wed, 12 Jun 2019 11:02:08 +0000 (13:02 +0200)]
Bump Emacs version to 26.2.90
* README:
* configure.ac:
* msdos/sed2v2.inp:
* nt/README.W32: Bump Emacs version.
Nicolas Petton [Wed, 12 Jun 2019 11:00:06 +0000 (13:00 +0200)]
* etc/AUTHORS: Update.
Nicolas Petton [Wed, 12 Jun 2019 10:58:53 +0000 (12:58 +0200)]
; ChangeLog.3 update
Martin Rudalics [Wed, 12 Jun 2019 09:02:02 +0000 (11:02 +0200)]
Fix description of 'display-buffer-in-previous-window' again (Bug#36161)
* lisp/window.el (display-buffer-in-previous-window): Make
doc-string more explicit (Bug#36161).
* doc/lispref/windows.texi (Buffer Display Action Functions):
Make description of 'display-buffer-in-previous-window' more
explicit.
(Buffer Display Action Alists): Mention
'display-buffer-in-previous-window' in description of
'reusable-frames' entry.
Eli Zaretskii [Tue, 11 Jun 2019 16:55:14 +0000 (19:55 +0300)]
Consistently use @minus{} for negative arguments
* doc/emacs/mark.texi (Marking Objects):
* doc/misc/gnus.texi (Selecting a Group):
* doc/emacs/programs.texi (Comment Commands):
* doc/emacs/killing.texi (Deletion):
* doc/emacs/display.texi (Recentering):
* doc/lispref/display.texi (Face Attributes):
* doc/lispref/searching.texi (String Search, Regexp Search):
Make the markup of "-N" use @minus{} uniformly. (Bug#35885)
Martin Rudalics [Tue, 11 Jun 2019 07:28:29 +0000 (09:28 +0200)]
Fix doc of 'display-buffer-in-previous-window' (Bug#36161)
* doc/lispref/windows.texi (Buffer Display Action Functions):
* lisp/window.el (display-buffer-in-previous-window): Tell
that 'display-buffer-in-previous-window' prefers
non-selected windows (Bug#36161).
Juanma Barranquero [Mon, 10 Jun 2019 21:47:01 +0000 (23:47 +0200)]
lisp/*.el: Minor docstring fixes
* lisp/subr.el (definition-prefixes): Reflow docstring.
* lisp/svg.el (svg-create): Doc fix to allow arg higlighting.
(svg-gradient, svg-rectangle): Improve docstring formatting.
Eli Zaretskii [Wed, 17 Oct 2018 15:19:47 +0000 (18:19 +0300)]
Avoid assertion violation when comparing with main-thread
* src/thread.c (unmark_main_thread): New function.
* src/lisp.h (unmark_main_thread): Prototype it.
* src/alloc.c (garbage_collect_1): Call it after sweeping.
(Bug#33073)
* test/src/thread-tests.el (threads-test-bug33073): New test.
Andreas Schwab [Mon, 10 Jun 2019 10:52:21 +0000 (12:52 +0200)]
Revert "Don't mark main_thread (Bug#36155)"
This reverts commit
1877b7b4d79b3434379fd5a4abd85906c25df00c.
Andreas Schwab [Mon, 10 Jun 2019 10:34:38 +0000 (12:34 +0200)]
Don't mark main_thread (Bug#36155)
* thread.c (mark_threads_callback): Don't mark main_thread.
Eli Zaretskii [Sun, 9 Jun 2019 08:28:36 +0000 (11:28 +0300)]
More quotation fixes (Bug#35885)
* doc/emacs/text.texi (Quotation Marks): Fix a typo.
* doc/emacs/modes.texi (Minor Modes): Fix another case of
showing quotations.
Stefan Kangas [Sun, 9 Jun 2019 03:02:39 +0000 (05:02 +0200)]
; * src/keyboard.c (tool_bar_items): Fix a typo. (Bug#36143)
Eli Zaretskii [Sat, 8 Jun 2019 15:48:33 +0000 (18:48 +0300)]
Minor copyedits in efaq-w32
* doc/misc/efaq-w32.texi (Grep, Recursive grep): More accurate
description of using 'findstr' as a poor-man's replacement for
'grep'. Reported by 范凯 <m_pupil@163.com>
Eli Zaretskii [Sat, 8 Jun 2019 08:24:47 +0000 (11:24 +0300)]
Tiny improvement of documentation of major mode conventions
* doc/lispref/modes.texi (Major Mode Conventions): More
accurate advice regarding customization of 'C-M-a' by major
modes.
Juanma Barranquero [Sat, 8 Jun 2019 07:02:45 +0000 (09:02 +0200)]
* nt/addpm.c (main): Fix buffer overflow
Eli Zaretskii [Fri, 7 Jun 2019 14:32:17 +0000 (17:32 +0300)]
Resurrect display-line-number-mode in client frames
* lisp/linum.el (linum-on): Mention bug#35726 in a comment.
* lisp/display-line-numbers.el
(display-line-numbers--turn-on): Don't check for daemon.
(Bug#35726)
Eli Zaretskii [Fri, 7 Jun 2019 12:59:50 +0000 (15:59 +0300)]
* src/fns.c (Fmapconcat): Doc fix. (Bug#35710)
Phillip Lord [Fri, 7 Jun 2019 10:37:56 +0000 (11:37 +0100)]
Fix typo
* nt/README.W32:
Eli Zaretskii [Thu, 6 Jun 2019 13:28:04 +0000 (16:28 +0300)]
* lisp/term/w32-win.el ([noname]): Bind to 'ignore'. (Bug#36083)
Eli Zaretskii [Wed, 5 Jun 2019 16:52:00 +0000 (19:52 +0300)]
Fix styling of Unicode codepoints in manuals
* doc/lispref/nonascii.texi (Character Properties):
* doc/lispref/display.texi (Glyphless Chars)
(Bidirectional Display):
* doc/emacs/search.texi (Lax Search):
* doc/emacs/text.texi (Quotation Marks):
* doc/emacs/basic.texi (Inserting Text): Canonicalize the
style of "U+NNNN CHARACTER NAME". (Bug#35885)
Eli Zaretskii [Tue, 4 Jun 2019 15:11:37 +0000 (18:11 +0300)]
Fix a few uses of quotes in user manual
* doc/emacs/text.texi (Quotation Marks):
* doc/emacs/display.texi (Text Display):
* doc/emacs/basic.texi (Inserting Text): Fix some more
quotes. (Bug#35885)
Eli Zaretskii [Mon, 3 Jun 2019 16:30:47 +0000 (19:30 +0300)]
More minor copyedits in the Emacs manual
* doc/emacs/basic.texi (Arguments):
* doc/emacs/display.texi (Recentering, Text Display):
* doc/emacs/regs.texi (Text Registers, Rectangle Registers):
* doc/emacs/mark.texi (Disabled Transient Mark): Fix
inaccuracies and typos. (Bug#35885)
Eli Zaretskii [Mon, 3 Jun 2019 16:11:42 +0000 (19:11 +0300)]
Fix minor issues in the Emacs manual
* doc/emacs/search.texi (Regexp Replace, Regexps):
* doc/emacs/kmacro.texi (Keyboard Macro Query)
(Save Keyboard Macro): Fix inaccuracies and typos.
(Bug#35885)
Martin Rudalics [Mon, 3 Jun 2019 08:36:00 +0000 (10:36 +0200)]
Try to improve text on atomic windows in Elisp manual
* doc/lispref/windows.texi (Deleting Windows): Mention how
'delete-window' and 'delete-other-windows' handle atomic
windows. Minor rewrite.
(Quitting Windows): Mention how 'quit-restore-window' handles
atomic windows and that it tries to avoid raising an error.
(Atomic Windows): Tell how to dissolve atomic windows.
Noam Postavsky [Sat, 1 Jun 2019 16:40:11 +0000 (12:40 -0400)]
Don't recommend insert-before-markers in process filters
See <https://lists.gnu.org/r/emacs-devel/2019-05/msg00062.html> and
Bug#35334.
* doc/lispref/processes.texi (Filter Functions): Go back to using
plain insert in the example filter. Add note about updating window
point.
Noam Postavsky [Sat, 1 Jun 2019 13:53:35 +0000 (09:53 -0400)]
Disable byte-compile-cond-use-jump-table (Bug#35770)
* lisp/emacs-lisp/bytecomp.el (byte-compile-cond-use-jump-table): Set
to nil by default.
Don't merge to master, the bug is already fixed there.
Noam Postavsky [Fri, 31 May 2019 12:24:56 +0000 (08:24 -0400)]
Allow macros autoloaded as functions during bytecomp (Bug#36022)
* lisp/emacs-lisp/bytecomp.el (byte-compile-callargs-warn): Don't pass
symbols which don't have a known definition to
byte-compile--function-signature, it fails to compile code which
previously compiled successfully (for example, gnus.el until
2019-06-01 "* lisp/gnus/gnus.el: Mark autoloaded macros as such" which
autoloads some macros as if they were functions).
Glenn Morris [Sat, 1 Jun 2019 18:33:25 +0000 (11:33 -0700)]
* lisp/gnus/gnus.el: Mark autoloaded macros as such.
This avoids a build failure.
Eli Zaretskii [Sat, 1 Jun 2019 15:52:11 +0000 (18:52 +0300)]
Speed up redisplay of HELLO
* etc/HELLO: Set 'inhibit-compacting-font-caches' non-nil
locally. (Bug#36032)
* lisp/files.el: Add 'inhibit-compacting-font-caches' to the
list of built-in variables for which we set up
'safe-local-variable' properties.
Eli Zaretskii [Sat, 1 Jun 2019 07:28:30 +0000 (10:28 +0300)]
Improve documentation of 'safe-local-variable' property
* doc/lispref/variables.texi (File Local Variables): Document
how to define 'safe-local-variable' properties for built-in
variables.
Stefan Monnier [Fri, 31 May 2019 04:54:05 +0000 (00:54 -0400)]
* lisp/emacs-lisp/package.el: Obey buffer-file-coding-system (bug#35739)
`url-insert-file-contents` saves in buffer-file-coding-system
the coding-system used to decode the contents. Preserve this
as the contents is moved from buffer to string to buffer, and use
it when saving the contents to file, so as to try and better preserve
the original byte sequence.
(package--buffer-string, package--cs): New functions.
(package--check-signature): Encode `string` if a coding-system
was specified in buffer-file-coding-system.
(package--download-one-archive, package-install-from-archive):
Obey and preserve the buffer-file-coding-system if specified.
Do not merge.
Noam Postavsky [Tue, 28 May 2019 00:36:41 +0000 (20:36 -0400)]
Warn about wrong number of args for subrs (Bug#35767)
* lisp/emacs-lisp/bytecomp.el (byte-compile-callargs-warn): Don't
assume byte-compile-fdefinition will return non-nil.
* test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-warn-wrong-args)
(bytecomp-warn-wrong-args-subr): New tests.
Noam Postavsky [Mon, 27 May 2019 23:05:56 +0000 (19:05 -0400)]
Use plain symbols for eieio type descriptors (Bug#29220)
Since Emacs 26, eieio objects use a class record (with circular
references) as the type descriptor of the object record. This causes
problems when reading back an object from a string, because the class
record is not `eq' to the canonical one (which means that read objects
don't satisfy the foo-p predicate).
* lisp/emacs-lisp/eieio.el (make-instance): As a (partial) fix, set
the record's type descriptor to a plain symbol for the type descriptor
when eieio-backward-compatibility is non-nil (the default).
* lisp/emacs-lisp/eieio-core.el (eieio--object-class): Call
eieio--class-object on the type tag when eieio-backward-compatibility
is non-nil.
(eieio-object-p): Use eieio--object-class instead of
eieio--object-class-tag.
* test/lisp/emacs-lisp/eieio-tests/eieio-test-persist.el
(eieio-test-persist-hash-and-vector)
(eieio-test-persist-interior-lists): Make into functions.
(eieio-persist-hash-and-vector-backward-compatibility)
(eieio-persist-hash-and-vector-no-backward-compatibility)
(eieio-test-persist-interior-lists-backward-compatibility)
(eieio-test-persist-interior-lists-no-backward-compatibility): New
tests which call them, eieio-backward-compatibility let-bound.
Paul Eggert [Thu, 30 May 2019 22:06:39 +0000 (15:06 -0700)]
Pacify GCC 9 -Wredundant-decls
* src/gmalloc.c (_fraghead) [!HYBRID_MALLOC]:
Make it static in this case, too. This avoids having both
‘extern struct list _fraghead[];’ and
‘static struct list _fraghead[BLOCKLOG];’, which
GCC 9 complains about.
Paul Eggert [Thu, 30 May 2019 22:06:39 +0000 (15:06 -0700)]
Pacify librsvg 2.45.1 and later
* src/image.c (svg_load_image): Pacify librsvg 2.45.1 and later,
and add a FIXME comment about the deprecated librsvg functions.
Backport from master.
Paul Eggert [Thu, 30 May 2019 22:06:39 +0000 (15:06 -0700)]
Simplify xd_signature to pacify GCC 9
* src/dbusbind.c (xd_signature): Use simpler way to set up
the subsignature. This also pacifies GCC 9 on Fedora 30 x86-64.
Backport from master.
Paul Eggert [Thu, 30 May 2019 22:06:39 +0000 (15:06 -0700)]
Pacify GCC when compiling unexelf.c on Fedora 30
* src/unexelf.c (unexec): Pacify GCC 9.
Paul Eggert [Thu, 30 May 2019 22:06:39 +0000 (15:06 -0700)]
Suppress GCC 9 “no longer supported” messages
* m4/manywarnings.m4 (gl_MANYWARN_ALL_GCC): Remove -Wchkp.
This suppresses a boatload of warnings of the form
“gcc: warning: switch ‘-Wchkp’ is no longer supported”.
when using GCC 9. Do not merge to master.
Stefan Kangas [Sun, 26 May 2019 10:04:56 +0000 (12:04 +0200)]
Fix docstring of bookmark-get-bookmark
* lisp/bookmark.el (bookmark-get-bookmark): Document optional
argument NOERROR. (bug#20148)
Noam Postavsky [Wed, 22 May 2019 00:33:09 +0000 (20:33 -0400)]
Avoid infloop in read-multiple-choice (Bug#32257)
* lisp/emacs-lisp/rmc.el (read-multiple-choice): When `read-char'
signals an error "Non-character input-event", call `read-event' to
take the non-character event out of the queue. Don't merge to master,
we just use `read-event' directly there, rather than this solution
which relies a particular error message.
Noam Postavsky [Sun, 26 May 2019 12:46:15 +0000 (08:46 -0400)]
; * doc/lispref/nonascii.texi (Explicit Encoding): Fix typo.
Eli Zaretskii [Sat, 25 May 2019 19:10:00 +0000 (22:10 +0300)]
Improve documentation of decoding into a unibyte buffer
* doc/lispref/nonascii.texi (Explicit Encoding): Document what
happens when DESTINATION of decoding is a unibyte buffer.
* src/coding.c (Fdecode_coding_region)
(Fdecode_coding_string): Document what happens if DESTINATION
is a unibyte buffer.
Mauro Aranda [Sat, 18 May 2019 20:35:04 +0000 (17:35 -0300)]
Remove redundants "See" before @xref or @pxref (Bug#35793)
* doc/lispref/control.texi (Control Structures):
* doc/lispref/modes.texi (Search-based Fontification):
* doc/misc/cc-mode.texi (Filling and Line Breaking Commands)
(Auto-newline Insertion, Other Special Indentations):
* doc/misc/dbus.texi (Errors and Events):
* doc/misc/dired-x.texi (Find File At Point):
* doc/misc/eudc.texi (Display of Query Results, Inline Query Expansion):
* doc/misc/gnus-faq.texi (FAQ 3-11):
* doc/misc/gnus.texi (Group Parameters, Posting Styles)
(Spam Package Introduction):
* doc/misc/org.texi (LaTeX fragments, Previewing LaTeX fragments):
* doc/misc/reftex.texi (Commands):
Remove redundant "See" before cross references.
* doc/lispref/functions.texi (Function Safety): Redundant "see" is in
ignored text, but remove it anyway.
* doc/lispref/positions.texi (Skipping Characters): Remove redundant
"See" before cross references. Change @xref to @pxref, which is
more suitable when at the end of a sentence.
Most of the redundants "See" found by Noam Postavsky.
Eli Zaretskii [Thu, 23 May 2019 14:36:06 +0000 (17:36 +0300)]
; * src/coding.c: Improve commentary. (Bug#34765)
Dario Gjorgjevski [Fri, 17 May 2019 09:46:54 +0000 (11:46 +0200)]
Fix customization type of recentf-max-saved-items
Change the customization type of recentf-max-saved-items to include
nil, as it is an allowed value (Bug#35771).
* lisp/recentf.el (recentf-max-saved-items): Change the customization
type in the defcustom.
Tom Levy [Tue, 21 May 2019 02:25:31 +0000 (14:25 +1200)]
Fix a typo in ELisp manual
* doc/lispref/sequences.texi (Sequence Functions): Fix a typo.
(Bug#35817)
Copyright-paperwork-exempt: yes
Noam Postavsky [Thu, 16 May 2019 00:29:38 +0000 (20:29 -0400)]
Add option to disable help completion autoloading (Bug#28607)
* lisp/help-fns.el (help-enable-completion-auto-load): New option.
(help--symbol-completion-table): Consult it.
* doc/emacs/building.texi (Lisp Libraries): Document it.
* etc/NEWS: Announce it.
* doc/lispref/loading.texi (Autoload by Prefix): New section.
(Autoload): Reference it.
Noam Postavsky [Sun, 19 May 2019 17:05:55 +0000 (13:05 -0400)]
Don't segfault on force-window-update of deleted window
* src/window.c (Fforce_window_update): Do nothing for deleted
windows (Bug#35784).
Mauro Aranda [Sun, 19 May 2019 14:36:26 +0000 (11:36 -0300)]
Fix typo in ELisp manual
* doc/lispref/variables.texi (Directory Local Variables): Fix typo in
dir-locals-set-class-variables description. (Bug#35799)
Mauro Aranda [Fri, 17 May 2019 13:00:01 +0000 (10:00 -0300)]
Remove repeated function call in picture.el
* lisp/textmodes/picture.el (picture-mode-map): Remove repeated
define-key call. (Bug#35772)
Basil L. Contovounesios [Sun, 19 May 2019 23:37:13 +0000 (00:37 +0100)]
; Fix mm-destroy-parts docstring typo
* lisp/gnus/mm-decode.el (mm-destroy-parts): Fix typo in docstring
copy-pasted from mm-remove-parts.
Basil L. Contovounesios [Sun, 19 May 2019 12:52:26 +0000 (13:52 +0100)]
Fix Hideshow key binding typo in Emacs manual
* doc/emacs/programs.texi (Hideshow): Add missing function and key
index entries. Fix hs-toggle-hiding binding typo. (bug#35798)
Eric Abrahamsen [Tue, 14 Nov 2017 05:40:17 +0000 (21:40 -0800)]
Backport: Fix name of gnus-summary-sort-by-mark(s)
* lisp/gnus/gnus-sum.el (gnus-summary-sort-by-marks): Needs the
"s", according to docs and keymap both. (bug#35765)
(cherry picked from commit
13248f7444630508cfc3b78a07e8d96613af11c8)
Eli Zaretskii [Fri, 17 May 2019 06:58:15 +0000 (09:58 +0300)]
Remove from docs references to obsolete MULE variables
* src/search.c (search_buffer): Remove obsolete text from a
comment.
* src/fns.c (Fstring_make_unibyte): Remove obsolete text from
a doc string.
Konstantin Kharlamov [Wed, 15 May 2019 21:25:53 +0000 (00:25 +0300)]
Do potentially destructive operations in prepare-commit-msg
* build-aux/git-hooks/prepare-commit-msg: If someone occasionally puts
Signed-off line, it will likely get there through -s option of git.
Exploit this fact to abort before a user got a chance to type commit
message. (Bug#35368)
Paul Eggert [Mon, 13 May 2019 19:43:13 +0000 (12:43 -0700)]
Backport: fix broken build on m68k
The GCC + valgrind fix caused the m68k build to fail (Bug#35711).
Simplify string allocation a bit to make similar problems less
likely in the future.
* src/alloc.c (sdata, SDATA_NBYTES, SDATA_DATA) [GC_CHECK_STRING_BYTES]:
Use the same implementation as with !GC_CHECK_STRING_BYTES,
as the special case is no longer needed.
(SDATA_ALIGN): New constant.
(SDATA_SIZE): Remove this macro, replacing with ...
(sdata_size): ... this new function. All uses changed.
Properly account for sizes and alignments even in the m68k case,
and even if GC_CHECK_STRING_BYTES is not defined.
Noam Postavsky [Mon, 6 May 2019 23:55:17 +0000 (19:55 -0400)]
Handle GNUTLS_E_AGAIN in emacs_gnutls_read (Bug#34341)
Don't merge to master, this has already been fixed there by 2019-01-15
"Fix unlikely races with GnuTLS, datagrams".
* src/gnutls.c (emacs_gnutls_read): Similar to emacs_gnutls_write,
when gnutls_record_recv returns GNUTLS_E_AGAIN set errno to EGAIN.
Neil Roberts [Fri, 10 May 2019 10:57:28 +0000 (12:57 +0200)]
Let dir locals for more specific modes override those from less
The list of dir local variables to apply is now sorted by the number
of parent modes of the mode used as the key in the association list.
That way when the variables are applied in order the variables from
more specific modes will override those from less specific modes.
If there are directory entries in the list then they are sorted in
order of name length. The list of modes for that dir is then
recursively sorted with the same mechanism. That way variables tied
to a particular subdirectory override those in in a parent directory.
Previously the behaviour didn’t seem to be well defined anyway and was
dependent on the order they appeared in the file. However this order
was changed in version 26.1 and it probably also depended on the
number of dir-local files that are merged.
Bug#33400
* lisp/files.el (dir-locals-get-sort-score, dir-locals-sort-variables)
(dir-locals-read-from-dir): Sort the dir locals so that more precise
modes and directory-specific entries have override lesser ones.
* doc/emacs/custom.texi (Directory Variables): Document the priority.
Eli Zaretskii [Sat, 11 May 2019 12:00:06 +0000 (15:00 +0300)]
Improve documentation of Hexl mode
* doc/emacs/misc.texi (Editing Binary Files): Clarify
"insertion". Improve wording. Add a few Hexl commands.
(Bug#35580)
Alan Mackenzie [Thu, 9 May 2019 16:27:03 +0000 (16:27 +0000)]
Fix description of (move-to-column <n> t) when column <n> is inside a tab
This fixes bug #35647. State that when indent-tabs-mode is non-nil, spaces
are inserted before the tab rather than the tab being replaced by spaces.
* doc/lispref/text.texi (columns)
* src/indent.c (move-to-column): Make the above documentation amendment.
Noam Postavsky [Sun, 5 May 2019 16:27:32 +0000 (12:27 -0400)]
; Fix smtpmail-stream-type docstring
* lisp/mail/smtpmail.el (smtpmail-stream-type): Remove redundant
docstring verbiage.
Noam Postavsky [Mon, 22 Apr 2019 02:44:50 +0000 (22:44 -0400)]
Recognize single quote attribute values in nxml and sgml (Bug#35381)
* lisp/textmodes/sgml-mode.el (sgml-specials): Add single quote.
(sgml-syntax-propertize-rules): Handle single quote.
* test/lisp/nxml/nxml-mode-tests.el (nxml-mode-font-lock-quotes): New
test.
* test/lisp/textmodes/sgml-mode-tests.el
(sgml-delete-tag-bug-8203-should-not-delete-apostrophe): Now passes.