]> git.eshelyaron.com Git - emacs.git/log
emacs.git
5 years ago* etc/HISTORY: Add Emacs 26.3 release release date. emacs-26.3 emacs-26.3-rc1
Nicolas Petton [Wed, 21 Aug 2019 22:40:13 +0000 (00:40 +0200)]
* etc/HISTORY: Add Emacs 26.3 release release date.

5 years agoBump Emacs version to 26.3
Nicolas Petton [Wed, 21 Aug 2019 22:38:54 +0000 (00:38 +0200)]
Bump Emacs version to 26.3

* README:
* configure.ac:
* msdos/sed2v2.inp:
* nt/README.W32: Bump Emacs version.

5 years ago; ChangeLog.3 update
Nicolas Petton [Wed, 21 Aug 2019 22:38:06 +0000 (00:38 +0200)]
; ChangeLog.3 update

5 years ago* etc/AUTHORS: Update.
Nicolas Petton [Wed, 21 Aug 2019 22:15:11 +0000 (00:15 +0200)]
* etc/AUTHORS: Update.

5 years ago* ; ChangeLog.3 update
Nicolas Petton [Wed, 21 Aug 2019 22:13:37 +0000 (00:13 +0200)]
* ; ChangeLog.3 update

5 years ago* etc/NEWS: Delete temporary markup.
Nicolas Petton [Wed, 21 Aug 2019 20:52:46 +0000 (22:52 +0200)]
* etc/NEWS: Delete temporary markup.

5 years agoFix process filter documentation (Bug#13400)
Noam Postavsky [Sat, 27 Jul 2019 03:20:37 +0000 (23:20 -0400)]
Fix process filter documentation (Bug#13400)

* doc/lispref/processes.texi (Asynchronous Processes): Note that input
may read when sending data as well.
(Output from Processes): Note that functions which send data may also
trigger reading from processes.
(Input to Processes, Filter Functions): Note that filter functions may
be called recursively.

5 years agoFix query-replace-regexp undo feature
Tino Calancha [Mon, 19 Aug 2019 15:32:09 +0000 (17:32 +0200)]
Fix query-replace-regexp undo feature

Ensure that non-regexp strings used with `looking-at' are quoted.
* lisp/replace.el (perform-replace): Quote regexp (Bug#37073).
* test/lisp/replace-tests.el (replace-tests-perform-replace-regexp-flag):
New variable.
(replace-tests-with-undo): Use it.
(query-replace-undo-bug37073): Add tests.

5 years agoSupport the new Japanese era name
Eli Zaretskii [Sun, 18 Aug 2019 16:36:31 +0000 (19:36 +0300)]
Support the new Japanese era name

* admin/unidata/NormalizationTest.txt:
* admin/unidata/UnicodeData.txt: Add U+32FF SQUARE ERA NAME REIWA.
Do not merge to master.

* test/lisp/international/ucs-normalize-tests.el
(ucs-normalize-tests--failing-lines-part1)
(ucs-normalize-tests--failing-lines-part2): Update.  Do not
merge to master.

* etc/NEWS: Mention the change.

5 years agoFix a typo in char-width-table
Eli Zaretskii [Sun, 18 Aug 2019 15:23:06 +0000 (18:23 +0300)]
Fix a typo in char-width-table

* lisp/international/characters.el (char-width-table): Fix a
typo in zero-width characters.

5 years agoMinor update in admin/notes/unicode
Eli Zaretskii [Sat, 17 Aug 2019 15:13:58 +0000 (18:13 +0300)]
Minor update in admin/notes/unicode

* admin/notes/unicode: Mention changes to be done in
setup-default-fontset in fontset.el.  (Bug#14461)

5 years agoFix lisp indent infloop on unfinished strings (Bug#37045)
Noam Postavsky [Fri, 16 Aug 2019 11:26:40 +0000 (07:26 -0400)]
Fix lisp indent infloop on unfinished strings (Bug#37045)

* lisp/emacs-lisp/lisp-mode.el (lisp-indent-calc-next): Stop trying to
skip over strings if we've hit the end of buffer.
* test/lisp/emacs-lisp/lisp-mode-tests.el
(lisp-indent-unfinished-string): New test.

5 years agoImprove commentary in composite.el
Eli Zaretskii [Sat, 17 Aug 2019 11:21:47 +0000 (14:21 +0300)]
Improve commentary in composite.el

* lisp/composite.el (compose-gstring-for-graphic)
(compose-gstring-for-terminal): Add comments that explain
Unicode General Category mnemonics in human-readable terms.
(Bug#14461)

5 years ago; Improve commentary in xdisp.c
Eli Zaretskii [Sat, 17 Aug 2019 08:02:52 +0000 (11:02 +0300)]
; Improve commentary in xdisp.c

* src/xdisp.c: Add to the commentary the description of
stop_charpos, and how it is used during iteration.

5 years agoFix markup in dired-x.texi
Eli Zaretskii [Fri, 16 Aug 2019 13:45:57 +0000 (16:45 +0300)]
Fix markup in dired-x.texi

* doc/misc/dired-x.texi (Omitting Variables)
(Local Variables, Shell Command Guessing)
(Advanced Cleaning Variables, Special Marking Function): Fix
markup and indexing.  (Bug#14212)

5 years ago; Fix typo in a doc string of speedbar.el
Eli Zaretskii [Fri, 16 Aug 2019 06:39:51 +0000 (09:39 +0300)]
; Fix typo in a doc string of speedbar.el

* lisp/speedbar.el (speedbar-supported-extension-expressions):
Fix a typo in the doc string.  (Bug#37041)

5 years ago* src/callproc.c (Fcall_process): Doc fix.
Eli Zaretskii [Sat, 10 Aug 2019 19:19:31 +0000 (22:19 +0300)]
* src/callproc.c (Fcall_process): Doc fix.

5 years agoImprove documentation of features that use the fringes
Eli Zaretskii [Sat, 10 Aug 2019 09:48:03 +0000 (12:48 +0300)]
Improve documentation of features that use the fringes

* doc/emacs/display.texi (Fringes): Add cross-reference to
where indicate-empty-lines is described.
(Useless Whitespace): Add an @anchor for a more accurate
cross-reference in "Fringes".

5 years agoFix docstrings in pong
Mauro Aranda [Wed, 7 Aug 2019 14:55:54 +0000 (11:55 -0300)]
Fix docstrings in pong

* lisp/play/pong.el (pong-move-left pong-move-right): Refer to the
right bats and directions of movement.  (Bug#36959)

5 years agoImprove doc strings of 'append-to-buffer' and friends
Eli Zaretskii [Fri, 9 Aug 2019 07:31:39 +0000 (10:31 +0300)]
Improve doc strings of 'append-to-buffer' and friends

* lisp/simple.el (append-to-buffer, prepend-to-buffer)
(copy-to-buffer): Doc fixes.

5 years agoFix octave-mode ElDoc support
Mauro Aranda [Tue, 6 Aug 2019 15:45:28 +0000 (12:45 -0300)]
Fix octave-mode ElDoc support

* lisp/progmodes/octave.el (octave-eldoc-function-signatures): Fix the
regexp used, so no match happens when there is no defined function FN.
Also, tweak the regexp to support GNU Octave 4.2.x and newer.  (Bug#36459)

5 years agoAvoid Groff hanging on MS-Windows when invoked by "M-x man"
Eli Zaretskii [Thu, 8 Aug 2019 13:17:51 +0000 (16:17 +0300)]
Avoid Groff hanging on MS-Windows when invoked by "M-x man"

* lisp/man.el (Man-build-man-command): On MS-Windows, redirect
stdin of 'man' to the null device, to make sure Groff exits
immediately after formatting the man page.

5 years agoIgnore pending_signals when checking for quits.
Philipp Stephani [Wed, 2 Jan 2019 21:22:18 +0000 (22:22 +0100)]
Ignore pending_signals when checking for quits.

pending_signals is often set if no quit is pending.  This results in
bugs in module code if the module returns but no quit is actually
pending.

* src/emacs-module.c (module_should_quit): Use QUITP macro to check
whether the caller should quit.

* src/eval.c: Remove obsolete comment.

5 years agoFix nnmail-expiry-wait docs and custom :types
Basil L. Contovounesios [Fri, 2 Aug 2019 12:54:09 +0000 (15:54 +0300)]
Fix nnmail-expiry-wait docs and custom :types

* doc/misc/gnus.texi (Group Parameters, Expiring Mail):
* lisp/gnus/gnus-cus.el (gnus-group-parameters): Clarify
descriptions of nnmail-expiry, nnmail-expiry-wait, and
nnmail-expiry-wait-function.
* lisp/gnus/nnmail.el (nnmail-expiry-wait)
(nnmail-expiry-wait-function): Clarify docstrings and fix custom
:types (bug#36850).

5 years ago* lisp/simple.el (kill-do-not-save-duplicates): Doc fix. (Bug#36827)
Eli Zaretskii [Sat, 3 Aug 2019 11:20:34 +0000 (14:20 +0300)]
* lisp/simple.el (kill-do-not-save-duplicates): Doc fix.  (Bug#36827)

5 years agoImprove documentation of debugging Lisp syntax error
Eli Zaretskii [Sat, 3 Aug 2019 09:41:35 +0000 (12:41 +0300)]
Improve documentation of debugging Lisp syntax error

* doc/lispref/debugging.texi (Syntax Errors, Excess Open)
(Excess Close): Name the commands invoked by the key
sequences.  Add cross-references to appropriate sections of
the Emacs manual.  (Bug#21385)

(cherry picked from commit faafd467a374c9398ee4668cdc173611d35693ed)

5 years ago; Auto-commit of loaddefs files.
Glenn Morris [Thu, 1 Aug 2019 13:08:11 +0000 (06:08 -0700)]
; Auto-commit of loaddefs files.

5 years ago; * doc/lispref/positions.texi (List Motion): Fix last change.
Eli Zaretskii [Tue, 30 Jul 2019 14:50:32 +0000 (17:50 +0300)]
; * doc/lispref/positions.texi (List Motion): Fix last change.

5 years agoAdd index for "\( in strings" (Bug#25195)
Noam Postavsky [Sun, 28 Jul 2019 16:15:33 +0000 (12:15 -0400)]
Add index for "\( in strings" (Bug#25195)

* doc/emacs/programs.texi (Left Margin Paren): Add index for "\( in
strings".
* doc/lispref/positions.texi (List Motion): Add index, and cross
reference.

5 years agoFix doc-string of 'fit-window-to-buffer' (Bug#36848)
Martin Rudalics [Tue, 30 Jul 2019 07:23:22 +0000 (09:23 +0200)]
Fix doc-string of 'fit-window-to-buffer' (Bug#36848)

* lisp/window.el (fit-window-to-buffer): Fix doc-string.

Suggested by Drew Adams <drew.adams@oracle.com>

5 years agoUpdate view-mode docstring
Tino Calancha [Fri, 26 Jul 2019 15:18:19 +0000 (17:18 +0200)]
Update view-mode docstring

Not all the kill commands save the text in the kill ring
by default (e.g. `kill-rectangle').
It is more precise to just say that the kill commands save
the text and do not change the buffer (Bug#36741).
* lisp/view.el (view-mode): Update docstring.

5 years ago; * lisp/term.el: Add missing / to esc seq commentary.
Noam Postavsky [Fri, 26 Jul 2019 02:51:28 +0000 (22:51 -0400)]
; * lisp/term.el: Add missing / to esc seq commentary.

5 years agoFix subproc listening when setting filter to non-t (Bug#36591)
Noam Postavsky [Thu, 25 Jul 2019 00:33:18 +0000 (20:33 -0400)]
Fix subproc listening when setting filter to non-t (Bug#36591)

* src/process.c (Fset_process_filter): Call add_process_read_fd
according to the state of process filter before it's updated.  This
restores the correct functioning as it was before 2016-02-16 "Allow
setting the filter masks later".  Inline the set_process_filter_masks
call instead of fixing it that function, because it is also called
from connect_network_socket, and we don't want to change the behavior
of that function so close to release.
* test/src/process-tests.el (set-process-filter-t): New test.

5 years ago* etc/NEWS.25: Belatedly announce rcirc-reconnect-delay.
Noam Postavsky [Thu, 25 Jul 2019 03:15:07 +0000 (23:15 -0400)]
* etc/NEWS.25: Belatedly announce rcirc-reconnect-delay.

5 years agoMention term.el's \032 dir tracking in commentary (Bug#19524)
Noam Postavsky [Thu, 25 Jul 2019 02:02:59 +0000 (22:02 -0400)]
Mention term.el's \032 dir tracking in commentary (Bug#19524)

* lisp/term.el: Mention both forms of directory tracking in
commentary.  Remove obsolete ChangeLog comments.  Move more relevant
summary comments to the top.

5 years agoRemove upload functionality of package-x from the elisp manual
Stefan Kangas [Sun, 14 Jul 2019 03:59:46 +0000 (05:59 +0200)]
Remove upload functionality of package-x from the elisp manual

Suggested by Stefan Monnier.
Ref: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=19537#8

* doc/lispref/package.texi (Package Archives): Don't document
package-x upload functions in the elisp manual, since they are not
very commonly used.  (Bug#19537)
* lisp/emacs-lisp/package-x.el (package-archive-upload-base)
(package-upload-buffer, package-upload-file): Add to the doc strings
any details removed from the elisp manual that would otherwise be
missing.

5 years ago* etc/AUTHORS: Update.
Nicolas Petton [Thu, 25 Jul 2019 20:50:07 +0000 (22:50 +0200)]
* etc/AUTHORS: Update.

5 years agoClarify Gravatar docs
Basil L. Contovounesios [Mon, 22 Jul 2019 20:14:18 +0000 (21:14 +0100)]
Clarify Gravatar docs

For discussion, see the following thread:
https://lists.gnu.org/archive/html/emacs-devel/2019-07/msg00528.html
* doc/misc/gnus.texi (X-Face): Fix cross-reference.
(Gravatars):
* lisp/gnus/gnus-gravatar.el (gnus-gravatar-too-ugly):
* lisp/image/gravatar.el (gravatar-cache-ttl, gravatar-rating)
(gravatar-size): Clarify user option descriptions.
(gravatar-retrieve, gravatar-retrieve-synchronously): Document
return value.

5 years ago* doc/lispref/display.texi (Defining Faces): Say a face can't be undefined.
Alan Mackenzie [Mon, 22 Jul 2019 14:57:41 +0000 (14:57 +0000)]
* doc/lispref/display.texi (Defining Faces): Say a face can't be undefined.

5 years agoHandle completely undecoded input in term (Bug#29918)
Noam Postavsky [Wed, 17 Jul 2019 11:20:20 +0000 (07:20 -0400)]
Handle completely undecoded input in term (Bug#29918)

* lisp/term.el (term-emulate-terminal): Avoid errors if the whole
decoded string is eight-bit characters.  Don't attempt to save the
string for next iteration in that case.
* test/lisp/term-tests.el (term-decode-partial)
(term-undecodable-input): New tests.

5 years ago* doc/misc/forms.texi (Control File Format): Fix a doc error.
N. Jackson [Mon, 15 Jul 2019 22:22:44 +0000 (18:22 -0400)]
* doc/misc/forms.texi (Control File Format): Fix a doc error.

(Bug#36693)

Copyright-paperwork-exempt: yes

5 years agoFix typo in package-alist docstring
Basil L. Contovounesios [Wed, 17 Jul 2019 14:02:21 +0000 (15:02 +0100)]
Fix typo in package-alist docstring

Pointed out by Michael Heerdegen <michael_heerdegen@web.de>.
* lisp/emacs-lisp/package.el (package-alist): Fix docstring
grammar (bug#17403).

5 years ago* doc/lispref/text.texi (Mode-Specific Indent): Fix a typo (bug#36646).
Markus Triska [Sun, 14 Jul 2019 07:31:26 +0000 (09:31 +0200)]
* doc/lispref/text.texi (Mode-Specific Indent): Fix a typo (bug#36646).

5 years ago; Another minor change in 'bidi-display-reordering's doc string.
Eli Zaretskii [Sat, 13 Jul 2019 11:24:15 +0000 (14:24 +0300)]
; Another minor change in 'bidi-display-reordering's doc string.

5 years agoImprove doc string of 'bidi-display-reordering'
Eli Zaretskii [Sat, 13 Jul 2019 11:21:41 +0000 (14:21 +0300)]
Improve doc string of 'bidi-display-reordering'

* src/buffer.c (syms_of_buffer) <bidi-display-reordering>:
Further doc fix.

5 years agoAdd warning to bidi-display-reordering doc string
Stefan Kangas [Sat, 13 Jul 2019 10:11:19 +0000 (12:11 +0200)]
Add warning to bidi-display-reordering doc string

This explanation was given by Eli Zaretskii on emacs-devel.
For discussion, see:
https://lists.gnu.org/archive/html/emacs-devel/2019-07/msg00294.html

* src/buffer.c (syms_of_buffer): Add warning to doc string of
bidi-display-reordering to explain that it should only be used for
debugging.

5 years agoRaise required librsvg version so as to match the current use
YAMAMOTO Mitsuharu [Fri, 12 Jul 2019 00:03:39 +0000 (09:03 +0900)]
Raise required librsvg version so as to match the current use

* configure.ac: Set RSVG_REQUIRED to 2.14.0 as rsvg_handle_get_dimensions
needs it.

5 years ago* lisp/net/tramp-sh.el (tramp-inline-compress-start-size): Set nil on w32.
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.

5 years ago* lisp/progmodes/verilog-mode.el: One more ELPA Version:
Stefan Monnier [Tue, 9 Jul 2019 13:27:07 +0000 (09:27 -0400)]
* lisp/progmodes/verilog-mode.el: One more ELPA Version:

5 years ago; * doc/emacs/killing.texi (Secondary Selection): Fix last change.
Eli Zaretskii [Sat, 6 Jul 2019 18:33:45 +0000 (21:33 +0300)]
; * doc/emacs/killing.texi (Secondary Selection): Fix last change.

5 years ago* lisp/svg.el, lisp/progmodes/ada-mode.el: Fix bug#36360.
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

5 years agoMinor copyedit of "Font Lock" in user manual
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)

5 years agoImprove description of image descriptors
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)

5 years ago; * src/lread.c (Fread): Make the comment wording more accurate.
Eli Zaretskii [Sat, 6 Jul 2019 08:40:49 +0000 (11:40 +0300)]
; * src/lread.c (Fread): Make the comment wording more accurate.

5 years agoImprove documentation of secondary selections
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)

5 years ago* src/fns.c (Fmapconcat): Doc fix. (Bug#36418)
Eli Zaretskii [Sat, 6 Jul 2019 07:31:06 +0000 (10:31 +0300)]
* src/fns.c (Fmapconcat): Doc fix.  (Bug#36418)

5 years agoAvoid crash inside CFCharacterSetIsLongCharacterMember (Bug#36507)
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.

5 years agoFix python.el docstring (Bug#36458)
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.

5 years ago; Add thing-at-point-looking-at test (Bug#35708)
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.

5 years ago; Fix typo, insure -> ensure in ChangeLogs
Noam Postavsky [Thu, 30 May 2019 12:16:46 +0000 (08:16 -0400)]
; Fix typo, insure -> ensure in ChangeLogs

5 years ago* lisp/hi-lock.el (hi-lock-line-face-buffer): Doc fix. (Bug36448)
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)

5 years ago; Auto-commit of loaddefs files.
Glenn Morris [Mon, 1 Jul 2019 13:08:24 +0000 (06:08 -0700)]
; Auto-commit of loaddefs files.

5 years agoFix typo in doc string of file-exists-p (bug#36408)
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.

5 years ago* test/lisp/url/url-file-tests.el (url-file): Fix for POSIX filenames.
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.

5 years agoFix typo in windows.texi
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)

5 years agoClarify & update (elisp) Writing Emacs Primitives
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)

5 years agoClarify a subtle issue in the Internals chapter of lispref
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)

5 years agoFix sgml-mode handling of quotes within parens (Bug#36347)
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.

5 years ago; * lisp/frame.el: Enhance add-variable-watcher commentary.
Noam Postavsky [Tue, 25 Jun 2019 22:57:30 +0000 (18:57 -0400)]
; * lisp/frame.el: Enhance add-variable-watcher commentary.

5 years agoRename 'make-symbolic-link' argument NEWNAME to LINKNAME
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.

5 years agoCheck that length of data returned by sysctl is non-zero
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.

5 years ago* test/lisp/progmodes/python-tests.el (python-virt-bin): Doc fix.
Juanma Barranquero [Mon, 17 Jun 2019 01:12:45 +0000 (03:12 +0200)]
* test/lisp/progmodes/python-tests.el (python-virt-bin): Doc fix.

5 years agoFix Python tests depending on system-type
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.

5 years agoFix problem with wdired test when symlinks cannot be created.
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.

5 years agoImprove wording of documentation of click events
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)

5 years agoBackport: Fix typo in regexp-opt example code
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).

5 years agoRemove outdated comment in winner.el (Bug#36185)
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.

5 years agoFix accidential change in tramp-tests; do not merge with master
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.

5 years agotramp-test42-auto-load: Add expected-result.
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.

5 years ago* test/lisp/url/url-file-tests.el (url-file): Use file:///, not file://.
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://.

5 years agoFix doc of srecompile-compile-split-code (Bug#36200)
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.

5 years agoMake sure Gnus imap group names are decoded before searching
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.

5 years agoRemove failing test erroneously added in backport
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>.

5 years ago* lisp/net/sieve-manage.el (sieve-manage-parse-capability): Doc fix.
Juanma Barranquero [Fri, 14 Jun 2019 00:24:52 +0000 (02:24 +0200)]
* lisp/net/sieve-manage.el (sieve-manage-parse-capability): Doc fix.

5 years ago; * lisp/ldefs-boot.el: Update. emacs-26.2.90
Nicolas Petton [Wed, 12 Jun 2019 11:56:27 +0000 (13:56 +0200)]
; * lisp/ldefs-boot.el: Update.

5 years agoBump Emacs version to 26.2.90
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.

5 years ago* etc/AUTHORS: Update.
Nicolas Petton [Wed, 12 Jun 2019 11:00:06 +0000 (13:00 +0200)]
* etc/AUTHORS: Update.

5 years ago; ChangeLog.3 update
Nicolas Petton [Wed, 12 Jun 2019 10:58:53 +0000 (12:58 +0200)]
; ChangeLog.3 update

5 years agoFix description of 'display-buffer-in-previous-window' again (Bug#36161)
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.

5 years agoConsistently use @minus{} for negative arguments
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)

5 years agoFix doc of 'display-buffer-in-previous-window' (Bug#36161)
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).

5 years agolisp/*.el: Minor docstring fixes
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.

5 years agoAvoid assertion violation when comparing with main-thread
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.

5 years agoRevert "Don't mark main_thread (Bug#36155)"
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.

5 years agoDon't mark main_thread (Bug#36155)
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.

5 years agoMore quotation fixes (Bug#35885)
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.

5 years ago; * src/keyboard.c (tool_bar_items): Fix a typo. (Bug#36143)
Stefan Kangas [Sun, 9 Jun 2019 03:02:39 +0000 (05:02 +0200)]
; * src/keyboard.c (tool_bar_items): Fix a typo.  (Bug#36143)

5 years agoMinor copyedits in efaq-w32
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>

5 years agoTiny improvement of documentation of major mode conventions
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.

5 years ago* nt/addpm.c (main): Fix buffer overflow
Juanma Barranquero [Sat, 8 Jun 2019 07:02:45 +0000 (09:02 +0200)]
* nt/addpm.c (main): Fix buffer overflow