]> git.eshelyaron.com Git - emacs.git/log
emacs.git
2 years agoPort alternate signal stack to upcoming glibc 2.34 emacs-26
Paul Eggert [Tue, 9 Mar 2021 19:22:59 +0000 (11:22 -0800)]
Port alternate signal stack to upcoming glibc 2.34

* src/sysdep.c (sigsegv_stack): Increase size to 64 KiB and align
it to max_align_t.  This copies from Gnulib’s c-stack.c, and works
around a portability bug in draft glibc 2.34, which no longer
defines SIGSTKSZ when _GNU_SOURCE is defined.

(cherry picked from commit f97e07ea807cc6d38774a3888a15091b20645ac6)

5 years agoRevert "Call vc-setup-buffer in vc-hg-log-incoming and vc-hg-log-outgoing"
Dmitry Gutov [Wed, 27 Nov 2019 12:16:33 +0000 (14:16 +0200)]
Revert "Call vc-setup-buffer in vc-hg-log-incoming and vc-hg-log-outgoing"

This reverts commit 52e2682f015d70b0945d9037686eec5fb8761571.

5 years agoCall vc-setup-buffer in vc-hg-log-incoming and vc-hg-log-outgoing
Andrii Kolomoiets [Wed, 27 Nov 2019 12:13:12 +0000 (14:13 +0200)]
Call vc-setup-buffer in vc-hg-log-incoming and vc-hg-log-outgoing

* lisp/vc/vc-hg.el (vc-hg-log-incoming, vc-hg-log-outgoing):
Call vc-setup-buffer.

5 years agoFix rcirc not to interpret nil as nickname (bug#37344)
Leo Liu [Mon, 7 Oct 2019 10:52:33 +0000 (18:52 +0800)]
Fix rcirc not to interpret nil as nickname (bug#37344)

* lisp/net/rcirc.el (rcirc-send-privmsg): Type check `target'.
(rcirc-cmd-me): Send CTCP only when `target' exists.

5 years agoFix trig simplification crash (bug#33052)
Mattias Engdegård [Wed, 10 Jul 2019 17:24:58 +0000 (19:24 +0200)]
Fix trig simplification crash (bug#33052)

* lisp/calc/calc-alg.el (calcFunc-sec, calcFunc-csc, calcFunc-cot):
Check that `math-known-sin' and `math-known-tan' succeeded before
using their value in arithmetic.
* test/lisp/calc/calc-tests.el (calc-test-trig): Add regression tests.
Backport from master.

5 years agoFix linear equation system solving in Calc (bug#35374)
Mattias Engdegård [Sun, 22 Sep 2019 13:03:02 +0000 (15:03 +0200)]
Fix linear equation system solving in Calc (bug#35374)

* lisp/calc/calcalg2.el (math-try-solve-for):
To solve Ax^n=0 where A is a nonzero constant and x the variable to
solve for, solve x^n=0 instead of solving A=0 (which obviously fails)
or something equally stupid.
* test/lisp/calc/calc-tests.el (calc-test-solve-linear-system): New.

5 years agoBackport: Fix an assignment to free variable warning
Tino Calancha [Tue, 17 Sep 2019 16:07:50 +0000 (18:07 +0200)]
Backport: Fix an assignment to free variable warning

It fixes a bug introduced by commit
'query-replace-regexp undo: Update next-replacement after undo'
(30c4f35a6fc8a6507930923766c3126ac1c2063f)

See https://lists.gnu.org/archive/html/emacs-devel/2019-09/msg00364.html
* lisp/replace.el(perform-replace): Rename variable
to next-replacement-replaced.

(cherry picked from commit cbc10ec71e9f189e8d6fd5c6927aec4872e0fd96)

5 years agoquery-replace-regexp undo: Update next-replacement after undo
Tino Calancha [Mon, 9 Sep 2019 06:21:18 +0000 (08:21 +0200)]
query-replace-regexp undo: Update next-replacement after undo

* lisp/replace.el (perform-replace):
Rename the local binding to not shadow next-replacement.
Update next-replacement after undo (Bug#37287).

* test/lisp/replace-tests.el (query-replace-undo-bug37287): Add test.
(query-replace-undo-bug37073): Tweak this test.

5 years agoAmend the menu caption for page "Display Property" in the Elisp manual.
Alan Mackenzie [Sat, 7 Sep 2019 18:15:40 +0000 (18:15 +0000)]
Amend the menu caption for page "Display Property" in the Elisp manual.

* doc/lispref/display.texi (Emacs Display): Replace a content-free menu
caption with one mentioning images, margins and text size.

5 years agoAdd description of chinese-sisheng
Robert Pluim [Thu, 22 Aug 2019 14:14:26 +0000 (16:14 +0200)]
Add description of chinese-sisheng

* doc/emacs/mule.texi (Input Methods): Add description of
chinese-sisheng method for entering characters using pīnyīn.

5 years agoFix non-deterministic process test
Noam Postavsky [Fri, 23 Aug 2019 00:48:19 +0000 (20:48 -0400)]
Fix non-deterministic process test

* test/src/process-tests.el (set-process-filter-t): Don't assume
subprocess output will come in a single chunk, keep waiting for more
data until next "prompt" is read from subprocess.

(cherry picked from commit aa49aa884053d0e8b33efe265f2aade19d1f3f3d)

5 years agoClarify the use of left/right-margin-width in determining current margin width
Alan Mackenzie [Sat, 31 Aug 2019 14:32:13 +0000 (14:32 +0000)]
Clarify the use of left/right-margin-width in determining current margin width

* doc/lispref/display.texi (Display-Margins):  Clarify that
left/right-margin-width can not be used to determine the current margin width,
and that window-margins must be used instead.

5 years ago; Bump Emacs version to 26.3.50
Eli Zaretskii [Fri, 30 Aug 2019 07:04:23 +0000 (10:04 +0300)]
; Bump Emacs version to 26.3.50

* README:
* etc/NEWS:
* configure.ac:
* msdos/sed2v2.inp:
* nt/README.W32: Bump Emacs version to 26.3.50.

5 years ago; Remove empty NEWS sections
Glenn Morris [Thu, 29 Aug 2019 17:59:53 +0000 (10:59 -0700)]
; Remove empty NEWS sections

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.