]> git.eshelyaron.com Git - emacs.git/log
emacs.git
2 years agoPort alternate signal stack to upcoming glibc 2.34 emacs-27
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)

3 years agoERC: Track: Clarify documentation on tracked buffers and add references
Olivier Certner [Thu, 14 Jan 2021 17:20:26 +0000 (18:20 +0100)]
ERC: Track: Clarify documentation on tracked buffers and add references

* lisp/erc/erc-track.el (erc-modified-channels-alist): Clarify what
the list contains.  Add references to variables and functions involved
in displaying tracked buffers from this list.
(erc-make-mode-line-buffer-name): Describe exactly the algorithm, and
reference custom variables that influence it.

3 years agoERC: Track: Fix documentation of structure of 'erc-modified-channels-alist'
Olivier Certner [Wed, 13 Jan 2021 16:39:54 +0000 (17:39 +0100)]
ERC: Track: Fix documentation of structure of 'erc-modified-channels-alist'

* lisp/erc/erc-track.el (erc-modified-channels-alist): Fix the
docstring: each element is a dotted list where the last cdr is
sometimes a proper list, making the element only sometimes a proper
list.

3 years ago; * doc/lispref/files.texi (Changing Files): Fix xref to file-modes.
Stephen Gildea [Sat, 11 Sep 2021 03:21:34 +0000 (20:21 -0700)]
; * doc/lispref/files.texi (Changing Files): Fix xref to file-modes.

'file-modes' is in node "Testing Accessibility", not "File Attributes".

3 years ago; Fix grammar in efaq.texi on Emacs vs XEmacs.
Basil L. Contovounesios [Wed, 8 Sep 2021 10:41:07 +0000 (12:41 +0200)]
; Fix grammar in efaq.texi on Emacs vs XEmacs.

3 years ago* doc/misc/efaq.texi: Misc copyedits.
Glenn Morris [Sun, 5 Sep 2021 22:50:50 +0000 (15:50 -0700)]
* doc/misc/efaq.texi: Misc copyedits.

Prefer mailing lists to newgroups.
(History of Emacs): Rename from "Status of Emacs".
Move XEmacs node here.
(Emacs for other operating systems): Merge all the "non-Unix"
systems into a single node.

3 years ago* doc/misc/efaq.texi (Reporting bugs): Refer to the Emacs manual.
Glenn Morris [Fri, 3 Sep 2021 15:45:16 +0000 (08:45 -0700)]
* doc/misc/efaq.texi (Reporting bugs): Refer to the Emacs manual.

That is better than having a separate, outdated text.

3 years agoFix "Finder" description for multi-file packages
Stephen Gildea [Thu, 26 Aug 2021 00:39:26 +0000 (17:39 -0700)]
Fix "Finder" description for multi-file packages

* lisp/finder.el (finder-compile-keywords):  Now that 'version' is
set for more files, it is no longer necessary to check that we have
a version when picking the file from which to take the description.
Doing so caused built-in packages (where the version is known) to have
their package description taken from the last .el file that matched the
file name pattern, usually the last source file in the sub-directory.

This bug was introduced in July 2019 and first released in Emacs 27.1.

Thanks to Michael Albinus for reviewing this patch.

3 years ago; * test/lisp/files-tests.el: Add tests for save-some-buffers
Tino Calancha [Fri, 20 Aug 2021 16:07:04 +0000 (18:07 +0200)]
; * test/lisp/files-tests.el: Add tests for save-some-buffers

; Do not merge to master.

3 years agoC++ Mode: Don't confuse the pointer operator -> with the type indicating ->
Alan Mackenzie [Sun, 15 Aug 2021 19:43:58 +0000 (19:43 +0000)]
C++ Mode: Don't confuse the pointer operator -> with the type indicating ->

This fixes bug #47468.

* lisp/progmodes/cc-engine.el (c-looking-at-inexpr-block): While searching
backwards for "->" which is a type indicating operator, disallow also commas.

3 years agoCC Mode: Fix unstable fontification of doc strings.
Alan Mackenzie [Sun, 15 Aug 2021 18:08:25 +0000 (18:08 +0000)]
CC Mode: Fix unstable fontification of doc strings.

Also optimize a loop over several line doc-comments.

* lisp/progmodes/cc-fonts.el (c-font-lock-doc-comments): New variable
comment-mid, used as the starting point for applying c-doc-face-name in a
line comments.  In block comments, apply this face not from `comment-beg' but
from `region-beg', no earlier than the start of the fontification region.

3 years agoERC right stamps: also use latest buffer's window's width (Bug#44140)
Olivier Certner [Tue, 6 Jul 2021 10:35:43 +0000 (12:35 +0200)]
ERC right stamps: also use latest buffer's window's width (Bug#44140)

* lisp/erc/erc-stamp.el (erc-insert-timestamp-right): Use latest
buffer's window's width to position the timestamp, if both
`erc-timestamp-right-column' and `erc-fill-column' are not set (or
`erc-fill-mode' is off).  This is what the documentation says, but was
not implemented.  Also fix the bug of using selected window's width
instead of the (or some) window showing the buffer.  The latest
window's width is saved in `erc-timestamp-last-window-width' and used
when the buffer is no more shown.  In case the buffer was never shown,
which I'm not sure can happen, either use `fill-column' if set, or
give up on aligning and just output the timestamp (modulo the kludge)
right after message text.  While here, fix the off by one calculation
of point start when the reference is the window's width.

3 years agoUnbreak ERC's Ibuffer filter (Bug#44100)
Olivier Certner [Tue, 6 Jul 2021 08:51:57 +0000 (10:51 +0200)]
Unbreak ERC's Ibuffer filter (Bug#44100)

* lisp/erc/erc-ibuffer.el (erc-modified): Don't use `length' on dotted
lists (and not even to test if there is more than one element, for
that matter).  Use `cdr' instead.

3 years ago; Auto-commit of loaddefs files.
Glenn Morris [Sun, 1 Aug 2021 13:12:18 +0000 (06:12 -0700)]
; Auto-commit of loaddefs files.

3 years ago; One more change in back.texi.
Eli Zaretskii [Sat, 24 Jul 2021 10:41:01 +0000 (13:41 +0300)]
; One more change in back.texi.

3 years ago; Yet another last-minute change in Emacs manual for printing
Eli Zaretskii [Sat, 24 Jul 2021 10:15:50 +0000 (13:15 +0300)]
; Yet another last-minute change in Emacs manual for printing

* doc/emacs/book-spine.texi:
* doc/emacs/back.texi: Minor copyedits.

3 years ago; * src/data.c (Fcar, Fcdr): Doc fix.
Eli Zaretskii [Wed, 14 Jul 2021 15:54:11 +0000 (18:54 +0300)]
; * src/data.c (Fcar, Fcdr): Doc fix.

3 years agoOne more minor update of the Emacs manual for 19th printing
Eli Zaretskii [Tue, 13 Jul 2021 12:03:59 +0000 (15:03 +0300)]
One more minor update of the Emacs manual for 19th printing

* doc/emacs/back.texi:
* doc/emacs/book-spine.texi:
* doc/emacs/emacs.texi: Last round of minor copyedits for 19th ed.

3 years ago; Fix let-alist Texinfo markup
Basil L. Contovounesios [Fri, 9 Jul 2021 13:37:50 +0000 (14:37 +0100)]
; Fix let-alist Texinfo markup

* doc/lispref/lists.texi (Association Lists): Use
@result (bug#34842).

3 years ago; * doc/emacs/mule.texi (International Chars): Mention 'describe-char'.
Eli Zaretskii [Thu, 8 Jul 2021 06:51:02 +0000 (09:51 +0300)]
; * doc/emacs/mule.texi (International Chars): Mention 'describe-char'.

3 years agoFix overfull hbox in Emacs manual
Eli Zaretskii [Tue, 6 Jul 2021 12:25:51 +0000 (15:25 +0300)]
Fix overfull hbox in Emacs manual

* doc/emacs/display.texi (Displaying Boundaries): Fix overfull
hbox.

3 years agoMinor copyedits of Emacs manual
Eli Zaretskii [Tue, 6 Jul 2021 11:57:19 +0000 (14:57 +0300)]
Minor copyedits of Emacs manual

* doc/emacs/book-spine.texi: Fix the author attribution.
(Bug#49405)
* doc/emacs/back.texi: Update text.

3 years agoUpdate IRC-related references to point to Libera.Chat
Amin Bandali [Sun, 4 Jul 2021 03:39:18 +0000 (23:39 -0400)]
Update IRC-related references to point to Libera.Chat

Per GNU and FSF's announcements [0, 1] of moving official IRC channels
to the Libera.Chat IRC network, as well as several Emacs-related
channels following suit [2], update IRC-related references to reflect
the migration.

[0]: https://lists.gnu.org/archive/html/info-gnu/2021-06/msg00005.html
[1]: https://lists.gnu.org/archive/html/info-gnu/2021-06/msg00007.html
[2]: https://lists.gnu.org/archive/html/info-gnu-emacs/2021-06/msg00000.html

3 years agoFix typo in c-macro-expand docstring
Daniel Martín [Sat, 3 Jul 2021 15:59:22 +0000 (17:59 +0200)]
Fix typo in c-macro-expand docstring

* lisp/progmodes/cmacexp.el (c-macro-expand): Fix typo.  (Bug#49356)

3 years ago; Auto-commit of loaddefs files.
Glenn Morris [Thu, 1 Jul 2021 13:11:38 +0000 (06:11 -0700)]
; Auto-commit of loaddefs files.

3 years ago; * doc/emacs/back.texi: Fix a typo.
Eli Zaretskii [Thu, 1 Jul 2021 08:31:05 +0000 (11:31 +0300)]
; * doc/emacs/back.texi: Fix a typo.

3 years agoUpdate doc/emacs/ for a new printing of the Emacs Manual book
Eli Zaretskii [Thu, 1 Jul 2021 08:28:05 +0000 (11:28 +0300)]
Update doc/emacs/ for a new printing of the Emacs Manual book

* doc/emacs/book-spine.texi: New file: the printed book spine.
* doc/emacs/back.texi: New file: the backcover text for the
printed book.
* doc/emacs/emacs.texi: Update ISBN.

3 years agoC++ Mode: Handle new keywords static_cast, etc., wrt angle brackets
Alan Mackenzie [Sun, 27 Jun 2021 12:59:18 +0000 (12:59 +0000)]
C++ Mode: Handle new keywords static_cast, etc., wrt angle brackets

* lisp/progmodes/cc-langs.el (c-<>-arglist-kwds): Add const_cast,
dynamic_cast, reinterpret_cast and static_cast into this lang const.

* lisp/progmodes/cc-engine.el (c-clear-<-pair-props, c-clear->-pair-props)
(c-clear-<-pair-props-if-match-after, c-clear->-pair-props-if-match-before)
(c-forward-<>-arglist-recur):
Invalidate caches with c-trunctate-lit-pos-cache.
(c-forward-<>-arglist-recur): If in a matching <...> expression, the < has a
syntax-table property, but the > not, remove that property.

3 years agoAnother improvement in documentation of "memory" profiler
Eli Zaretskii [Sat, 19 Jun 2021 13:08:50 +0000 (16:08 +0300)]
Another improvement in documentation of "memory" profiler

* lisp/profiler.el (profiler-start): Fix the doc string to better
explain what is "memory" profiler.

3 years agoImprove documentation of profiler
Eli Zaretskii [Sat, 19 Jun 2021 12:39:11 +0000 (15:39 +0300)]
Improve documentation of profiler

* doc/lispref/debugging.texi (Profiling): Stop misleading users
about what "memory" profiling really is.

3 years agoDocument 'ispell-program-name'
Eli Zaretskii [Tue, 15 Jun 2021 15:21:50 +0000 (18:21 +0300)]
Document 'ispell-program-name'

* doc/emacs/fixit.texi (Spelling): Document
'ispell-program-name'.  (Bug#49039)

3 years agoFix documentation of 'face-extend-p'
Eli Zaretskii [Sun, 13 Jun 2021 14:10:51 +0000 (17:10 +0300)]
Fix documentation of 'face-extend-p'

* doc/lispref/display.texi (Attribute Functions): Fix description
of 'face-extend-p'.  (Bug#48936)

3 years ago* src/xdisp.c (Fwindow_text_pixel_size): Plug memory leak. (Bug#48884)
Eli Zaretskii [Mon, 7 Jun 2021 12:03:06 +0000 (15:03 +0300)]
* src/xdisp.c (Fwindow_text_pixel_size): Plug memory leak.  (Bug#48884)

(cherry picked from commit 69a65212a233333ab0605374b4985ead23f4a541)

3 years ago; Fix typo in dynamic module functions docs.
Basil L. Contovounesios [Sun, 6 Jun 2021 06:52:01 +0000 (07:52 +0100)]
; Fix typo in dynamic module functions docs.

3 years ago; * src/composite.h: Improve comments for LGSTRING and LGLYPH.
Eli Zaretskii [Wed, 2 Jun 2021 14:50:57 +0000 (17:50 +0300)]
; * src/composite.h: Improve comments for LGSTRING and LGLYPH.

3 years ago; Auto-commit of loaddefs files.
Glenn Morris [Tue, 1 Jun 2021 13:12:39 +0000 (06:12 -0700)]
; Auto-commit of loaddefs files.

3 years agoImprove documentation of regexp ranges
Eli Zaretskii [Sun, 30 May 2021 10:20:02 +0000 (13:20 +0300)]
Improve documentation of regexp ranges

* doc/lispref/searching.texi (Regexp Special): Document the effect
of using octal escapes in regexp ranges.  (Bug#17758)

3 years agoImprove documentation of display tables
Eli Zaretskii [Fri, 21 May 2021 06:51:17 +0000 (09:51 +0300)]
Improve documentation of display tables

* doc/lispref/display.texi (Display Tables): Add a cross-reference
to the next section.

3 years ago* src/buffer.c (syms_of_buffer) <ctl-arrow>: Doc fix. (Bug#48539)
Eli Zaretskii [Fri, 21 May 2021 06:37:47 +0000 (09:37 +0300)]
* src/buffer.c (syms_of_buffer) <ctl-arrow>: Doc fix.  (Bug#48539)

3 years agoImprove documentation of Hexl mode
Eli Zaretskii [Tue, 11 May 2021 17:06:02 +0000 (20:06 +0300)]
Improve documentation of Hexl mode

* doc/emacs/misc.texi (Editing Binary Files): Explain that Hexl can
also be used for editing text, including non-ASCII text.

3 years ago; * etc/NEWS: Fix decoded-time-set-defaults typo.
Basil L. Contovounesios [Sun, 9 May 2021 13:46:27 +0000 (14:46 +0100)]
; * etc/NEWS: Fix decoded-time-set-defaults typo.

This was mistakenly applied to NEWS.27 on the master branch in
2021-05-09 "; Fix decoded-time-set-defaults typo in NEWS.27."
but that has now been reverted (bug#48298).

3 years agoFix compilation errors with latest w32 API headers
Eli Zaretskii [Sun, 9 May 2021 07:59:08 +0000 (10:59 +0300)]
Fix compilation errors with latest w32 API headers

* src/w32common.h: Rename OS_* to OS_SUBTYPE__*, as w32 API
headers started defining OS_NT, which breaks the use of the
enumeration.  All users changed.  (Bug#48303)

3 years agoImprove doc strings in log-edit.el
Eli Zaretskii [Fri, 7 May 2021 07:16:11 +0000 (10:16 +0300)]
Improve doc strings in log-edit.el

* lisp/vc/log-edit.el (log-edit-new-comment-index)
(log-edit-maximum-comment-ring-size, log-edit-previous-comment)
(log-edit-next-comment, log-edit-comment-search-backward)
(log-edit-comment-search-forward)
(log-edit-comment-to-change-log)
(log-edit-header-contents-regexp, log-edit-font-lock-gnu-style)
(log-edit, log-edit-mode, log-edit-fill-entry, log-edit-done)
(log-edit-kill-buffer, log-edit-insert-message-template)
(log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate)
(log-edit-rewrite-fixes, log-edit-add-to-changelog)
(log-edit-generate-changelog-from-diff)
(log-edit-insert-changelog, log-edit-narrow-changelog)
(log-edit-changelog-entry, log-edit-changelog-insert-entries)
(log-edit-extract-headers): Enhance and reword doc strings.

3 years ago; * etc/TODO (etc/DOC): Update the todo entries.
Eli Zaretskii [Thu, 6 May 2021 08:41:43 +0000 (11:41 +0300)]
; * etc/TODO (etc/DOC): Update the todo entries.

3 years agoFix code for newline-and-indent in skeleton language.
Philipp Stephani [Sun, 2 May 2021 18:57:38 +0000 (20:57 +0200)]
Fix code for newline-and-indent in skeleton language.

The code for this is the symbol 'n', which is usually spelled as '\n'
here, not the character ?\n.

* doc/misc/autotype.texi (Skeleton Language): Fix item for
newline-and-indent.

3 years ago* lisp/jka-compr.el (jka-compr-uninstall): Fix function reference.
Philipp Stephani [Sat, 1 May 2021 23:01:28 +0000 (01:01 +0200)]
* lisp/jka-compr.el (jka-compr-uninstall): Fix function reference.

3 years ago; Auto-commit of loaddefs files.
Glenn Morris [Sat, 1 May 2021 13:11:33 +0000 (06:11 -0700)]
; Auto-commit of loaddefs files.

3 years agoFix GUD overlay arrows in M-x gdb when debugging over Tramp. Don't merge
Jim Porter [Sat, 1 May 2021 10:05:37 +0000 (12:05 +0200)]
Fix GUD overlay arrows in M-x gdb when debugging over Tramp.   Don't merge

* lisp/progmodes/gdb-mi.el (gdb-frame-handler): Use local part of
file name when setting `gud-last-frame'.

3 years agoFix setting breakpoints in M-x gdb for remote files. Don't merge
Jim Porter [Sat, 1 May 2021 09:56:19 +0000 (11:56 +0200)]
Fix setting breakpoints in M-x gdb for remote files.  Don't merge

* lisp/progmodes/gdb-mi.el (gdb-jsonify-buffer): Fix modification
of GDB/MI "fullname" property for remote files

3 years agoImprove doc string of 'tab-width'.
Eli Zaretskii [Fri, 30 Apr 2021 10:48:13 +0000 (13:48 +0300)]
Improve doc string of 'tab-width'.

* src/buffer.c (syms_of_buffer) <tab-width>: Clarify doc string.
(Bug#48058)

3 years ago* lisp/emacs-lisp/elp.el: Doc fixes.
Stefan Kangas [Thu, 29 Apr 2021 15:17:50 +0000 (17:17 +0200)]
* lisp/emacs-lisp/elp.el: Doc fixes.

3 years ago* lisp/emacs-lisp/pp.el: Doc fixes.
Stefan Kangas [Thu, 29 Apr 2021 11:44:54 +0000 (13:44 +0200)]
* lisp/emacs-lisp/pp.el: Doc fixes.

3 years ago* admin/make-tarball.txt: Note to update more files on web page.
Stefan Kangas [Wed, 28 Apr 2021 13:22:11 +0000 (15:22 +0200)]
* admin/make-tarball.txt: Note to update more files on web page.

3 years ago* doc/misc/cl.texi (For Clauses): Minor copyedits.
Philipp Stephani [Sat, 24 Apr 2021 21:29:58 +0000 (23:29 +0200)]
* doc/misc/cl.texi (For Clauses): Minor copyedits.

3 years ago; * doc/lispref/files.texi (Directory Names): Add missing parenthesis
Philipp Stephani [Sat, 24 Apr 2021 21:22:44 +0000 (23:22 +0200)]
; * doc/lispref/files.texi (Directory Names): Add missing parenthesis

3 years agoMinor update for make-tarball.txt
Eli Zaretskii [Sat, 24 Apr 2021 12:17:40 +0000 (15:17 +0300)]
Minor update for make-tarball.txt

* admin/make-tarball.txt (UPDATING THE EMACS WEB PAGES AFTER A
RELEASE): Update and enhance the section to make it easier to find
the banner and verify the updated pages are in place.

3 years ago* doc/misc/cl.texi (Iteration Clauses): fix `never' clause typo
Jorge P. de Morais Neto [Thu, 22 Apr 2021 23:16:33 +0000 (20:16 -0300)]
* doc/misc/cl.texi (Iteration Clauses): fix `never' clause typo

This fixes bug#47962.

Copyright-paperwork-exempt: yes

3 years ago; Fix Texinfo in last change to minibuf.texi.
Basil L. Contovounesios [Tue, 20 Apr 2021 12:34:59 +0000 (13:34 +0100)]
; Fix Texinfo in last change to minibuf.texi.

3 years agoImprove filling-related documentation
Eli Zaretskii [Tue, 20 Apr 2021 12:12:10 +0000 (15:12 +0300)]
Improve filling-related documentation

* doc/emacs/text.texi (Auto Fill, Fill Commands): Mention special
line-breaking rules for CJK characters and the kinsoku rules.
(Bug#47856)

* lisp/textmodes/fill.el
(fill-separate-heterogeneous-words-with-space): Doc fix.

3 years ago; * doc/lispref/keymaps.texi (Easy Menu): Fix typo.
Philipp Stephani [Sat, 17 Apr 2021 21:13:57 +0000 (23:13 +0200)]
; * doc/lispref/keymaps.texi (Easy Menu): Fix typo.

3 years agoFix reference to "yanking" in the main Emacs manual
Daniel Martín [Sat, 17 Apr 2021 11:18:45 +0000 (13:18 +0200)]
Fix reference to "yanking" in the main Emacs manual

* doc/emacs/emacs.texi (Top): Yanking is alternatively known as
pasting, not copying.  (Bug#47839).

3 years agoImprove documentation of 'map-y-or-n-p'
Eli Zaretskii [Sat, 17 Apr 2021 08:24:04 +0000 (11:24 +0300)]
Improve documentation of 'map-y-or-n-p'

* lisp/emacs-lisp/map-ynp.el (map-y-or-n-p): Doc fix.  (Bug#47833)

* doc/lispref/minibuf.texi (Multiple Queries): Fix the wording in
the description of 'map-y-or-n-p'.

3 years agoFix typos in manuals
Eli Zaretskii [Tue, 13 Apr 2021 12:30:02 +0000 (15:30 +0300)]
Fix typos in manuals

* doc/misc/eshell.texi (Completion):
* doc/lispref/objects.texi (Mutability): Fix typos.  (Bug#47738)

3 years agoFix description of momentary message display
Eli Zaretskii [Sat, 10 Apr 2021 10:41:48 +0000 (13:41 +0300)]
Fix description of momentary message display

* doc/emacs/mini.texi (Basic Minibuffer): Update the description
of momentary message display while minibuffer is active.
(Bug#47689)

3 years agoFix broken links in autorevert.el
Damien Cassou [Tue, 6 Apr 2021 17:31:56 +0000 (19:31 +0200)]
Fix broken links in autorevert.el

* lisp/autorevert.el (global-auto-revert-non-file-buffers):
Fix broken links.  (Bug#47621)

3 years ago* lisp/international/ja-dic-cnv.el (skkdic-convert): Doc fix.
Glenn Morris [Mon, 5 Apr 2021 15:49:07 +0000 (08:49 -0700)]
* lisp/international/ja-dic-cnv.el (skkdic-convert): Doc fix.

3 years agoFix crash when using menus and tramp on NS
Alan Third [Sat, 2 Jan 2021 22:27:53 +0000 (22:27 +0000)]
Fix crash when using menus and tramp on NS

; Fixes bug#24472, bug#37557 and bug#37922.

* src/nsterm.m (ns_select): Don't drain outerpool in this function.

(cherry picked from commit f14869cd70e61b1908ec88a5e3d4bf21c7d538a0)

3 years agoImprove doc strings in replace.el
Eli Zaretskii [Sat, 3 Apr 2021 07:16:34 +0000 (10:16 +0300)]
Improve doc strings in replace.el

* lisp/replace.el (occur, list-matching-lines-prefix-face)
(list-matching-lines-jump-to-current-line): Doc fixes.

3 years agoFix hang in autorevert-tests.el
Michael Albinus [Sun, 28 Mar 2021 19:06:24 +0000 (21:06 +0200)]
Fix hang in autorevert-tests.el

* test/lisp/autorevert-tests.el (auto-revert--wait-for-revert):
Apply more robust check, whether file notification is used.

3 years agoRevert "Clarify dired-do-shell-command doc string"
Lars Ingebrigtsen [Sun, 28 Mar 2021 15:06:01 +0000 (17:06 +0200)]
Revert "Clarify dired-do-shell-command doc string"

This reverts commit cf607c262e15c873961fdfcced254e6f8e82f8d7.

The doc string already explains this.

(cherry picked from commit 01cf0eb75786834b7a0ee5be34be53f6e8e14c11)

3 years agoClarify dired-do-shell-command doc string
Lars Ingebrigtsen [Sun, 28 Mar 2021 14:01:53 +0000 (16:01 +0200)]
Clarify dired-do-shell-command doc string

* lisp/dired-aux.el (dired-do-shell-command): Mention what happens
to FILE-LIST (bug#47432).

(cherry picked from commit cf607c262e15c873961fdfcced254e6f8e82f8d7)

3 years agoDoc fixes for 'face-foreground' and 'face-background'.
Eli Zaretskii [Sun, 28 Mar 2021 13:26:21 +0000 (16:26 +0300)]
Doc fixes for 'face-foreground' and 'face-background'.

* lisp/faces.el (face-foreground, face-background): Clarify how a
face specified in INHERIT arg is used.  (Bug#47437)

3 years ago; * admin/make-tarball.txt: Minor addition to the Web pages section.
Eli Zaretskii [Fri, 26 Mar 2021 06:37:56 +0000 (09:37 +0300)]
; * admin/make-tarball.txt: Minor addition to the Web pages section.

3 years ago* admin/admin.el (set-version): Handle malformed NEWS markup.
Glenn Morris [Thu, 25 Mar 2021 18:48:13 +0000 (11:48 -0700)]
* admin/admin.el (set-version): Handle malformed NEWS markup.

3 years agoadmin.el fix for bug#47394
Glenn Morris [Thu, 25 Mar 2021 18:23:17 +0000 (11:23 -0700)]
admin.el fix for bug#47394

* admin/admin.el (manual-html-fix-index-2): Handle Texinfo 6.7.

3 years ago; * etc/NEWS: Fix typo.
Michael Albinus [Thu, 25 Mar 2021 17:52:44 +0000 (18:52 +0100)]
; * etc/NEWS: Fix typo.

3 years ago; * admin/make-tarball.txt: Another minor addition.
Eli Zaretskii [Thu, 25 Mar 2021 17:22:55 +0000 (19:22 +0200)]
; * admin/make-tarball.txt: Another minor addition.

3 years agoBump Emacs version past 27.2
Eli Zaretskii [Thu, 25 Mar 2021 17:12:25 +0000 (19:12 +0200)]
Bump Emacs version past 27.2

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

3 years ago* admin/make-tarball.txt: Improve and expand the instructions.
Eli Zaretskii [Thu, 25 Mar 2021 15:24:43 +0000 (17:24 +0200)]
* admin/make-tarball.txt: Improve and expand the instructions.

3 years agoFix preeditarea reporting wrong spot.
Amos Bird [Thu, 25 Mar 2021 06:50:46 +0000 (14:50 +0800)]
Fix preeditarea reporting wrong spot.

This patch adjust the x position of preeditarea with both left fringe
and left margin, which prevents IME preedit box (such as fcitx) from
placing at the wrong position in GUI emacs.
* src/xfns.c (xic_set_preeditarea): Adjust X for left margin width.
(Bug#47377)

3 years agoFix replace-buffer-contents undefined behavior
Paul Eggert [Mon, 22 Mar 2021 01:08:13 +0000 (18:08 -0700)]
Fix replace-buffer-contents undefined behavior

* src/editfns.c (Freplace_buffer_contents): Avoid undefined
behavior with competing side effects in parallel subexpressions.
Problem reported by Apple clang version 12.0.0 (clang-1200.0.32.29).

3 years agoFix filenotify-tests.el for Solaris (bug#47262), do not merge
Michael Albinus [Thu, 25 Mar 2021 14:36:33 +0000 (15:36 +0100)]
Fix filenotify-tests.el for Solaris (bug#47262), do not merge

* test/lisp/filenotify-tests.el (file-notify--test-read-event):
Check also for GFamDirectoryMonitor.
(file-notify--test-timeout): Increase cygwin timeout.
(file-notify--test-monitor): Use `alist-get'.
(file-notify--test-event-actions): New defun.
(file-notify--test-with-actions-explainer): Use it.
(file-notify--test-with-actions-check): Use it.  If
file-notify-debug is non-nil, trace received events instead of
checking them.
(file-notify-test03-events, file-notify-test05-file-validity)
(file-notify-test07-many-events, file-notify-test08-backup)
(file-notify-test09-watched-file-in-watched-dir):
Handle GFamFileMonitor and GFamDirectoryMonitor.

3 years ago; * ChangeLog.3: Update with the log of the last change. emacs-27.2 emacs-27.2-rc2
Eli Zaretskii [Fri, 19 Mar 2021 07:16:54 +0000 (03:16 -0400)]
; * ChangeLog.3: Update with the log of the last change.

3 years agoFix frame-inner-height in non-GUI builds
Basil L. Contovounesios [Thu, 18 Mar 2021 21:39:05 +0000 (21:39 +0000)]
Fix frame-inner-height in non-GUI builds

Include tab bar in frame's inner height in non-GUI builds that don't
define tab-bar-height.  This is consistent with the inclusion of the
menu bar in the calculated height.  It is also consistent with TTY
frames of GUI builds, for which tab-bar-height is always zero
anyway (bug#47234).  Fix suggested by Eli Zaretskii <eliz@gnu.org>.

* lisp/frame.el (frame-inner-height): Don't assume tab-bar-height is
defined in builds --without-x.

3 years agoPrepare the Emacs 27.2 release. emacs-27.2-rc1
Eli Zaretskii [Thu, 18 Mar 2021 12:43:54 +0000 (08:43 -0400)]
Prepare the Emacs 27.2 release.

* etc/HISTORY: Update for Emacs 27.2.

* README:
* configure.ac:
* nt/README.W32:
* msdos/sed2v2.inp: Set version to 27.2

3 years ago; * admin/make-tarball.txt: Advise to remove stale subdirectories.
Eli Zaretskii [Thu, 18 Mar 2021 10:49:02 +0000 (12:49 +0200)]
; * admin/make-tarball.txt: Advise to remove stale subdirectories.

3 years agoDocument that `buffer-string' retains text properties
Lars Ingebrigtsen [Thu, 18 Mar 2021 04:59:12 +0000 (05:59 +0100)]
Document that `buffer-string' retains text properties

* doc/lispref/text.texi (Buffer Contents): Mention text properties
in the `buffer-string' documentation.
* src/editfns.c (Fbuffer_string): Mention text properties in the
doc string (bug#47220).

(cherry picked from commit 60af754170f22f5d25510af069ed0ebfec95f992)

3 years agoRemove duplicate @table item from ELisp manual
Fabrice Bauzac [Tue, 16 Mar 2021 20:09:15 +0000 (21:09 +0100)]
Remove duplicate @table item from ELisp manual

* doc/lispref/objects.texi (Special Read Syntax): Remove duplicate
item "#@N" from the table of Special Read Syntax.  (Bug#47200)

3 years agoFix reference to 'diff-font-lock-syntax' in diff-mode documentation
Daniel Martín [Sun, 14 Mar 2021 01:25:53 +0000 (02:25 +0100)]
Fix reference to 'diff-font-lock-syntax' in diff-mode documentation

* doc/emacs/files.texi (Diff Mode): Add the omitted name of the
variable.  (Bug#47129)

3 years agoFix buffer overflow in xbm_scan (bug#47094)
Alan Third [Sat, 13 Mar 2021 21:59:59 +0000 (21:59 +0000)]
Fix buffer overflow in xbm_scan (bug#47094)

* src/image.c (xbm_scan): Ensure reading a string doesn't overflow the
buffer.

(cherry picked from commit ebc3b25409dd614c1814a0643960452683e37aa3)

3 years agoFix typos and omissions for (elisp)Button Buffer Commands
Matt Armstrong [Wed, 10 Mar 2021 17:24:43 +0000 (09:24 -0800)]
Fix typos and omissions for (elisp)Button Buffer Commands

* doc/lispref/display.texi (Button Buffer Commands): Minor
typo and omission fixes `backward-button' and
`forward-button'.  (Bug#47051)

3 years agoTeach Rmail about NBSP in "Re:"
Eli Zaretskii [Sat, 13 Mar 2021 09:22:01 +0000 (11:22 +0200)]
Teach Rmail about NBSP in "Re:"

* lisp/mail/rmail.el (rmail-simplified-subject)
(rmail-reply-regexp): Allow NBSP in "RE:" prefixes.

3 years agoRevert "* lisp/mouse.el: Fix mouse-1-clock-follows-mouse = double"
Stefan Monnier [Fri, 12 Mar 2021 19:30:47 +0000 (14:30 -0500)]
Revert "* lisp/mouse.el: Fix mouse-1-clock-follows-mouse = double"

This reverts commit 02a5cfce471613f671722b35536d2a78f17b0429.
That commit breaks because of a missing patch to `parse_modifiers_uncached`
in `src/keyboard.c`.  IOW, too risky for `emacs-27`.

Don't merge to `master`.

3 years ago* lisp/mouse.el: Fix mouse-1-clock-follows-mouse = double
Stefan Monnier [Thu, 11 Mar 2021 16:41:53 +0000 (11:41 -0500)]
* lisp/mouse.el: Fix mouse-1-clock-follows-mouse = double

This functionality was broken by commit 3d5e31eceb9dc1fb62b2b2,
the problem being that we end up considering as distinct the events
`down-double-mouse-1` and `double-down-mouse-1`.

Reported by Eyal Soha <eyalsoha@gmail.com>

(mouse--click-1-maybe-follows-link): Make sure the last element of
the list passed to `event-convert-list` is indeed a "basic" event.

3 years ago* lisp/emacs-lisp/gv.el (edebug-after): Don't run the getter in the setter
Stefan Monnier [Fri, 5 Mar 2021 17:39:27 +0000 (12:39 -0500)]
* lisp/emacs-lisp/gv.el (edebug-after): Don't run the getter in the setter

This fixes bug#46573 which was introduced by commit
d79cf638f278e50c22feb53d6ba556f5ce9d7853.
The new code is a middle ground, which makes sure the instrumentation
point is used (so the coverage checker won't have ghost unreachable
instrumentation points) yet without artificially running the getter
when we only need to run the setter.

3 years ago* doc/misc/tramp.texi (Remote shell setup): Fix reference. (Do not merge)
Masahiro Nakamura [Fri, 5 Mar 2021 16:42:46 +0000 (17:42 +0100)]
* doc/misc/tramp.texi (Remote shell setup): Fix reference. (Do not merge)

3 years agoFix initialization of 'while-no-input-ignore-events'
Eli Zaretskii [Fri, 5 Mar 2021 12:42:22 +0000 (14:42 +0200)]
Fix initialization of 'while-no-input-ignore-events'

* src/keyboard.c (syms_of_keyboard_for_pdumper): Don't reset
'while-no-input-ignore-events' after loading the dump file.
(Bug#46940)

3 years agoUpdate documentation of reading passwords
Eli Zaretskii [Thu, 4 Mar 2021 13:30:10 +0000 (15:30 +0200)]
Update documentation of reading passwords

* doc/emacs/mini.texi (Passwords): Update to match the modified
implementation.  (Bug#46902)  Add indexing.

3 years agoImprove the 'dired-do-kill-lines' doc string
Lars Ingebrigtsen [Tue, 2 Mar 2021 07:07:59 +0000 (08:07 +0100)]
Improve the 'dired-do-kill-lines' doc string

* lisp/dired-aux.el (dired-do-kill-lines): Document the FMT
parameter (bug#46867).

(cherry picked from commit b9cb3b904008a80c69ab433f4851377967b100db)

3 years ago; Auto-commit of loaddefs files.
Glenn Morris [Mon, 1 Mar 2021 14:13:59 +0000 (06:13 -0800)]
; Auto-commit of loaddefs files.