emacs.git
19 months ago; * doc/lispref/parsing.texi (Parsing Program Source): Improve indexing.
Eli Zaretskii [Fri, 17 May 2024 16:03:39 +0000 (19:03 +0300)]
; * doc/lispref/parsing.texi (Parsing Program Source): Improve indexing.

19 months ago; Improve documentation of 'set-fontset-font'
Eli Zaretskii [Fri, 17 May 2024 07:18:35 +0000 (10:18 +0300)]
; Improve documentation of 'set-fontset-font'

* doc/lispref/display.texi (Fontsets):
* src/fontset.c (Fset_fontset_font): Doc fix (bug#70993).

19 months ago; * doc/emacs/search.texi (Word Search): Add index entry.
Eli Zaretskii [Thu, 16 May 2024 15:42:43 +0000 (18:42 +0300)]
; * doc/emacs/search.texi (Word Search): Add index entry.

19 months ago; * src/window.c (Fwindow_scroll_bars): Doc fix.
Eli Zaretskii [Mon, 13 May 2024 05:00:38 +0000 (08:00 +0300)]
; * src/window.c (Fwindow_scroll_bars): Doc fix.

19 months ago; Fix doc strings of two scroll-bar functions.
Eli Zaretskii [Sat, 11 May 2024 05:29:22 +0000 (08:29 +0300)]
; Fix doc strings of two scroll-bar functions.

* lisp/scroll-bar.el (toggle-horizontal-scroll-bar): Fix typo and
wording.  (Bug#70864).
(toggle-scroll-bar): Fix wording.

19 months ago; * doc/emacs/frames.texi (Scroll Bars): Improve formatting.
Eli Zaretskii [Fri, 10 May 2024 05:52:33 +0000 (08:52 +0300)]
; * doc/emacs/frames.texi (Scroll Bars): Improve formatting.

19 months ago; * lisp/textmodes/ispell.el (ispell-message): Add commentary.
Eli Zaretskii [Thu, 9 May 2024 17:44:52 +0000 (20:44 +0300)]
; * lisp/textmodes/ispell.el (ispell-message): Add commentary.

19 months ago; * etc/PROBLEMS: Document macOS problems with Emacs.clr (bug#70836).
Eli Zaretskii [Thu, 9 May 2024 06:05:22 +0000 (09:05 +0300)]
; * etc/PROBLEMS: Document macOS problems with Emacs.clr (bug#70836).

19 months ago; * doc/misc/auth.texi (The Unix password store): Fix variable name.
Illia Ostapyshyn [Fri, 3 May 2024 17:27:15 +0000 (19:27 +0200)]
; * doc/misc/auth.texi (The Unix password store): Fix variable name.

(Bug#70767)

Copyright-paperwork-exempt: yes

19 months ago; Advertise scroll bars some more
Eli Zaretskii [Wed, 8 May 2024 13:44:05 +0000 (16:44 +0300)]
; Advertise scroll bars some more

* doc/emacs/display.texi (Scrolling, Horizontal Scrolling):
Mention the scroll bars as alternative means of scrolling.

19 months agoAvoid errors in 'image-dired-tag-thumbnail'
Eli Zaretskii [Wed, 8 May 2024 13:13:27 +0000 (16:13 +0300)]
Avoid errors in 'image-dired-tag-thumbnail'

* lisp/image/image-dired.el (image-dired-tag-thumbnail)
(image-dired-tag-thumbnail-remove): Move here from
image-dired-tags.el.  (Bug#70821)

19 months ago; * doc/lispref/commands.texi (Event Mod): Add motivation (bug#70596).
Eli Zaretskii [Thu, 2 May 2024 09:20:09 +0000 (12:20 +0300)]
; * doc/lispref/commands.texi (Event Mod): Add motivation (bug#70596).

19 months ago; Update description of 'mail-mode'
Eli Zaretskii [Tue, 30 Apr 2024 13:04:26 +0000 (16:04 +0300)]
; Update description of 'mail-mode'

* doc/emacs/sending.texi (Mail Methods): More accurate description
of mail-mode's deficiencies.

19 months agoFix last change
Eli Zaretskii [Sat, 27 Apr 2024 19:12:14 +0000 (22:12 +0300)]
Fix last change

* test/lisp/progmodes/csharp-mode-tests.el
(csharp-ts-mode-test-indentation): If need to skip the tree-sitter
test, do so silently.  (Bug#70345)

19 months ago; Skip 'csharp-ts-mode' test if grammar is missing
john muhl [Sat, 27 Apr 2024 14:55:42 +0000 (09:55 -0500)]
; Skip 'csharp-ts-mode' test if grammar is missing

* test/lisp/progmodes/csharp-mode-tests.el
(csharp-ts-mode-test-indentation): Skip test instead of
failing.  (Bug#70345)

19 months agoFix a typo in Introduction to Emacs Lisp (bug#70571).
Brad Howes [Thu, 25 Apr 2024 16:39:02 +0000 (18:39 +0200)]
Fix a typo in Introduction to Emacs Lisp (bug#70571).

Copyright-paperwork-exempt: yes

19 months agoFix last change
Eli Zaretskii [Thu, 25 Apr 2024 15:59:25 +0000 (18:59 +0300)]
Fix last change

* test/lisp/progmodes/csharp-mode-tests.el
(csharp-ts-mode-test-indentation): Move the test to here.
* test/lisp/progmodes/csharp-ts-mode-tests.el: Remove file.
* test/lisp/progmodes/csharp-ts-mode-resources/indent.erts: Move
to test/lisp/progmodes/csharp-mode-resources/indent-ts.erts.

19 months agoFix indentation of if/else in 'csharp-ts-mode' (bug#70345)
Jacob Leeming [Mon, 22 Apr 2024 08:49:15 +0000 (09:49 +0100)]
Fix indentation of if/else in 'csharp-ts-mode' (bug#70345)

* lisp/progmodes/csharp-mode.el (csharp-ts-mode--indent-rules):
Fix indentation rules for 'if' and 'else'.

* test/lisp/progmodes/csharp-ts-mode-tests.el:
* test/lisp/progmodes/csharp-ts-mode-resources/indent.erts: New
test files.

Copyright-paperwork-exempt: yes

19 months ago; * etc/PROBLEMS: Document crashes due to tree-sitter ABI (bug#70438).
Eli Zaretskii [Thu, 25 Apr 2024 09:39:36 +0000 (12:39 +0300)]
; * etc/PROBLEMS: Document crashes due to tree-sitter ABI (bug#70438).

19 months ago* build-aux/make-info-dir: Avoid bashism (bug#70484).
Ulrich Müller [Tue, 23 Apr 2024 05:37:17 +0000 (07:37 +0200)]
* build-aux/make-info-dir: Avoid bashism (bug#70484).

19 months agoImprove documentation of selection and navigation in *xref* buffers
Eli Zaretskii [Tue, 23 Apr 2024 07:40:50 +0000 (10:40 +0300)]
Improve documentation of selection and navigation in *xref* buffers

* doc/emacs/maintaining.texi (Looking Up Identifiers): More
detailed description of 'xref-auto-jump-to-first-definition'.
Improve indexing.  Describe the use of 'next-error' and
'previous-error' in conjunction with the *xref* buffer.
(Identifier Search): More detailed description of
'xref-auto-jump-to-first-xref'.  Describe the use of 'next-error'
and 'previous-error'.

19 months agoFix Widget manual typos, markup and omissions (bug#70502)
Stephen Berman [Mon, 22 Apr 2024 09:32:10 +0000 (11:32 +0200)]
Fix Widget manual typos, markup and omissions (bug#70502)

* doc/misc/widget.texi (Widgets and the Buffer): Correct typos and
texinfo markup, add equivalent key bindings and make minor changes
in wording.
(Customization): Correct names of two faces and add documentation
of remaining widget faces.

19 months ago; Document bookmark fringe mark in the user manual
Eli Zaretskii [Mon, 22 Apr 2024 07:37:18 +0000 (10:37 +0300)]
; Document bookmark fringe mark in the user manual

* doc/emacs/regs.texi (Bookmarks): Document
'bookmark-fringe-mark'.

19 months agoFix python-ts-mode built-in functions and attributes (bug#70478)
Prateek Sharma [Fri, 19 Apr 2024 20:36:17 +0000 (02:06 +0530)]
Fix python-ts-mode built-in functions and attributes (bug#70478)

* lisp/progmodes/python.el (python--treesit-settings): Change the
treesitter query to fetch the correct type of node for built-in
functions and attributes and highlight them with corresponding
font-lock face.

19 months agoFix markup and indexing in the Calendar chapter of user manual
Eli Zaretskii [Sun, 21 Apr 2024 16:49:14 +0000 (19:49 +0300)]
Fix markup and indexing in the Calendar chapter of user manual

* doc/emacs/calendar.texi (Calendar Unit Motion)
(Scroll Calendar, Writing Calendar Files, Holidays)
(Sunrise/Sunset, Lunar Phases, Calendar Systems)
(To Other Calendar, Displaying the Diary, Date Formats)
(Adding to Diary, Special Diary Entries): Fix markup, style, and
indexing.

19 months agoFix the user manual for `calendar-time-zone-style'
Gautier Ponsinet [Sun, 21 Apr 2024 13:39:49 +0000 (15:39 +0200)]
Fix the user manual for `calendar-time-zone-style'

* doc/emacs/calendar.texi (Sunrise/Sunset): Refer to the
variable `calendar-time-zone-style' explicitly.  (Bug#70498)

19 months agoAvoid assertion violations in 'push_prefix_prop'
Eli Zaretskii [Sun, 21 Apr 2024 13:06:34 +0000 (16:06 +0300)]
Avoid assertion violations in 'push_prefix_prop'

* src/xdisp.c (push_prefix_prop): Set the
'string_from_prefix_prop_p' flag for any valid value of the
'line-prefix' or 'wrap-prefix' property/variable.  (Bug#70495)

19 months agoRemove ert-equal-including-properties from manual
Basil L. Contovounesios [Sat, 20 Apr 2024 14:01:49 +0000 (16:01 +0200)]
Remove ert-equal-including-properties from manual

* doc/misc/ert.texi (Useful Techniques): Mention only
equal-including-properties in place of the now obsolete
ert-equal-including-properties.

19 months ago; Document 'filtered-frame-list'
Eli Zaretskii [Sat, 20 Apr 2024 11:52:02 +0000 (14:52 +0300)]
; Document 'filtered-frame-list'

* doc/lispref/frames.texi (Finding All Frames): Document
'filtered-frame-list'.

20 months ago; Improve wording in documentation of 'not and 'null'
Eli Zaretskii [Mon, 15 Apr 2024 11:52:03 +0000 (14:52 +0300)]
; Improve wording in documentation of 'not and 'null'

* doc/lispref/control.texi (Combining Conditions):
* doc/lispref/lists.texi (List-related Predicates): Clarify
wording of 'not' vs 'null'.  (Bug#70392)

20 months ago* lisp/dnd.el (dnd-handle-movement): Avoid errors (bug#70311).
Eli Zaretskii [Sun, 14 Apr 2024 10:16:29 +0000 (13:16 +0300)]
* lisp/dnd.el (dnd-handle-movement): Avoid errors (bug#70311).

20 months ago* doc/misc/calc.texi: Improve indexing.
Stefan Kangas [Sat, 13 Apr 2024 21:45:28 +0000 (23:45 +0200)]
* doc/misc/calc.texi: Improve indexing.

20 months ago; Tweak "(emacs)Bug Reference" formatting/wording.
Basil L. Contovounesios [Sat, 13 Apr 2024 08:36:50 +0000 (10:36 +0200)]
; Tweak "(emacs)Bug Reference" formatting/wording.

20 months agoFix display of vscrolled windows
Eli Zaretskii [Thu, 11 Apr 2024 15:34:53 +0000 (18:34 +0300)]
Fix display of vscrolled windows

* src/xdisp.c (redisplay_window): Fix condition for resetting the
window's vscroll.  (Bug#70038)

20 months ago; * doc/emacs/files.texi (Backup): Clarify "saving" (bug#70326).
Eli Zaretskii [Wed, 10 Apr 2024 19:31:57 +0000 (22:31 +0300)]
; * doc/emacs/files.texi (Backup): Clarify "saving" (bug#70326).

20 months ago; Improve documentation of 'world-clock'
Eli Zaretskii [Wed, 10 Apr 2024 13:52:21 +0000 (16:52 +0300)]
; Improve documentation of 'world-clock'

* lisp/time.el (zoneinfo-style-world-list)
(legacy-style-world-list): Doc fixes.

20 months ago* doc/emacs/misc.texi (emacsclient Options): Suggest forwarding sockets.
Peter Oliver [Wed, 10 Apr 2024 08:42:39 +0000 (10:42 +0200)]
* doc/emacs/misc.texi (emacsclient Options): Suggest forwarding sockets.

(Bug#66667)

20 months agoUpdate go-ts-mode to support latest tree-sitter-go grammar
Yuan Fu [Tue, 9 Apr 2024 03:20:25 +0000 (20:20 -0700)]
Update go-ts-mode to support latest tree-sitter-go grammar

tree-sitter-go changed method_spec to method_elem in
https://github.com/tree-sitter/tree-sitter-go/commit/b82ab803d887002a0af11f6ce63d72884580bf33

* lisp/progmodes/go-ts-mode.el:
(go-ts-mode--method-elem-supported-p): New function.
(go-ts-mode--font-lock-settings): Conditionally use method_elem or
method_spec in the query.

20 months agoFix c++-ts-mode defun navigation (bug#65885)
Yuan Fu [Tue, 9 Apr 2024 04:07:11 +0000 (21:07 -0700)]
Fix c++-ts-mode defun navigation (bug#65885)

* lisp/progmodes/c-ts-mode.el (c-ts-base-mode): Add BOL and EOL marker
in the regexp.

20 months ago; Fix last change.
Eli Zaretskii [Sun, 7 Apr 2024 07:33:14 +0000 (10:33 +0300)]
; Fix last change.

20 months ago; * etc/PROBLEMS: An entry about focus issues with XFCE (bug#70046).
Eli Zaretskii [Sun, 7 Apr 2024 07:32:47 +0000 (10:32 +0300)]
; * etc/PROBLEMS: An entry about focus issues with XFCE (bug#70046).

20 months ago; * doc/emacs/misc.texi (emacsclient Options): Fix typo. (Bug#70238)
Michael Albinus [Sun, 7 Apr 2024 07:15:42 +0000 (09:15 +0200)]
; * doc/emacs/misc.texi (emacsclient Options): Fix typo.  (Bug#70238)

20 months ago; * src/filelock.c (Flock_file): Doc fix (bug#70216).
Eli Zaretskii [Sun, 7 Apr 2024 06:24:58 +0000 (09:24 +0300)]
; * src/filelock.c (Flock_file): Doc fix (bug#70216).

20 months ago; * etc/PROBLEMS: Entry about slow mouse-wheel with GTK3 (bug#70002).
Eli Zaretskii [Sat, 6 Apr 2024 09:14:26 +0000 (12:14 +0300)]
; * etc/PROBLEMS: Entry about slow mouse-wheel with GTK3 (bug#70002).

20 months ago; * doc/lispref/tips.texi (Documentation Tips): Improve (bug#70163).
Eli Zaretskii [Thu, 4 Apr 2024 13:28:31 +0000 (16:28 +0300)]
; * doc/lispref/tips.texi (Documentation Tips): Improve (bug#70163).

20 months ago; Update admin/make-tarball.txt
Eli Zaretskii [Thu, 4 Apr 2024 12:23:49 +0000 (15:23 +0300)]
; Update admin/make-tarball.txt

* admin/make-tarball.txt: Add text about preparing bundled
packages for an emergency release.  Suggested by Michael Albinus
<michael.albinus@gmx.de>.

20 months ago; * etc/PROBLEMS: Add an entry about WebKitGTK (bug#66068).
Eli Zaretskii [Mon, 1 Apr 2024 12:24:47 +0000 (15:24 +0300)]
; * etc/PROBLEMS: Add an entry about WebKitGTK (bug#66068).

20 months agoAdapt Tramp versio (don't merge)
Michael Albinus [Sun, 31 Mar 2024 12:13:14 +0000 (14:13 +0200)]
Adapt Tramp versio (don't merge)

* doc/misc/trampver.texi:
* lisp/net/trampver.el: Change version to "2.6.3".
(customize-package-emacs-version-alist):
Adapt Tramp version integrated in Emacs 29.3.

20 months agoFix warning-suppress for list type "warning type"
Xuan Wang [Fri, 29 Mar 2024 00:34:23 +0000 (20:34 -0400)]
Fix warning-suppress for list type "warning type"

Per the documentation of 'warning-suppress-types' and the
implementation of 'warning-suppress-p', a warning type can
be either a symbol or a list of symbols.  The previous
implementation could generate wrong 'warning-suppress-types':

  old behavior:
  type              warning-suppress-types
  pkg           ->    '((pkg))                  Correct
  (pkg subtype) ->    '(((pkg subtype)))        Incorrect

Now we check whether type is a cons cell first.  (Should not
use listp here, as listp returns t for nil.)

  new behavior:
  type              warning-suppress-types
  pkg           ->    '((pkg))                Correct
  (pkg subtype) ->    '((pkg subtype))        Correct

* lisp/emacs-lisp/warnings.el (warnings-suppress): Fix saving
warning types in 'warning-suppress-types'.  (Bug#70063)

Copyright-paperwork-exempt: yes

20 months agoMake object init more robust (bug#69571)
Theodor Thornhill [Sun, 31 Mar 2024 08:43:44 +0000 (10:43 +0200)]
Make object init more robust (bug#69571)

* lisp/progmodes/csharp-mode.el (csharp-guess-basic-syntax): Make the
regex same as before, but conditionally check other heuristics rather
than crazy regex shenanigans.

20 months agoAvoid errors in Info-search-case-sensitively in DIR buffers
Eli Zaretskii [Sat, 30 Mar 2024 07:00:02 +0000 (10:00 +0300)]
Avoid errors in Info-search-case-sensitively in DIR buffers

* lisp/info.el (Info-search): Don't run the "try other subfiles"
code if there are no subfiles.  This happens, for example, in DIR
files.  (Bug#70058)

20 months agoAdd test for previous change (bug#70023)
Theodor Thornhill [Thu, 28 Mar 2024 18:02:09 +0000 (19:02 +0100)]
Add test for previous change (bug#70023)

* test/lisp/progmodes/typescript-ts-mode-resources/indent.erts: Add
test.

20 months agoAdd typescript-ts-mode indentation for interface bodies (bug#70023)
Noah Peart [Wed, 27 Mar 2024 05:44:48 +0000 (22:44 -0700)]
Add typescript-ts-mode indentation for interface bodies (bug#70023)

* lisp/progmodes/typescript-ts-mode.el
(typescript-ts-mode--indent-rules): Add indentation rule for
interface bodies.

20 months ago* Don't install unnecessary trampolines (bug#69573) (don't merge)
Andrea Corallo [Tue, 26 Mar 2024 07:20:54 +0000 (08:20 +0100)]
* Don't install unnecessary trampolines (bug#69573) (don't merge)

* lisp/emacs-lisp/comp.el (comp-subr-trampoline-install):
Check that subr-name actually matches the target subr.

20 months agoImprove documentation of <Delete> in user manual
Eli Zaretskii [Mon, 25 Mar 2024 19:49:55 +0000 (21:49 +0200)]
Improve documentation of <Delete> in user manual

* doc/emacs/basic.texi (Erasing): Document that <Delete> deletes
entire grapheme clusters.

20 months agoFix documentation of 'other-window-for-scrolling'
Eli Zaretskii [Mon, 25 Mar 2024 13:12:42 +0000 (15:12 +0200)]
Fix documentation of 'other-window-for-scrolling'

* src/window.c (Fother_window_for_scrolling): More accurate
documentation of how "the other" window is looked for.  Suggested
by Karthik Chikmagalur <karthikchikmagalur@gmail.com>.

20 months agoBump Emacs version to 29.3.50
Eli Zaretskii [Sun, 24 Mar 2024 14:38:01 +0000 (10:38 -0400)]
Bump Emacs version to 29.3.50

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

20 months agoUpdate files for Emacs 29.3
Eli Zaretskii [Sun, 24 Mar 2024 13:37:03 +0000 (09:37 -0400)]
Update files for Emacs 29.3

* ChangeLog.4:
* etc/AUTHORS:
* etc/HISTORY: Update for Emacs 29.3.

20 months ago* lisp/ldefs-boot.el: Regenerate.
Eli Zaretskii [Sun, 24 Mar 2024 13:36:24 +0000 (09:36 -0400)]
* lisp/ldefs-boot.el: Regenerate.

20 months agoBump Emacs version to 29.3
Eli Zaretskii [Sun, 24 Mar 2024 13:05:17 +0000 (09:05 -0400)]
Bump Emacs version to 29.3

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

20 months agoorg--confirm-resource-safe: Fix prompt when prompting in non-file Org buffers
Ihor Radchenko [Fri, 23 Feb 2024 09:56:58 +0000 (12:56 +0300)]
org--confirm-resource-safe: Fix prompt when prompting in non-file Org buffers

* lisp/org/org.el (org--confirm-resource-safe): When called from
non-file buffer, do not put stray "f" in the prompt.

20 months agoorg-file-contents: Consider all remote files unsafe
Ihor Radchenko [Tue, 20 Feb 2024 11:59:20 +0000 (14:59 +0300)]
org-file-contents: Consider all remote files unsafe

* lisp/org/org.el (org-file-contents): When loading files, consider all
remote files (like TRAMP-fetched files) unsafe, in addition to URLs.

20 months agoorg-latex-preview: Add protection when `untrusted-content' is non-nil
Ihor Radchenko [Tue, 20 Feb 2024 09:47:24 +0000 (12:47 +0300)]
org-latex-preview: Add protection when `untrusted-content' is non-nil

* lisp/org/org.el (org--latex-preview-when-risky): New variable
controlling how to handle LaTeX previews in Org files from untrusted
origin.
(org-latex-preview): Consult `org--latex-preview-when-risky' before
generating previews.

This patch adds a layer of protection when LaTeX preview is requested
for an email attachment, where `untrusted-content' is set to non-nil.

20 months ago* lisp/gnus/mm-view.el (mm-display-inline-fontify): Mark contents untrusted.
Ihor Radchenko [Tue, 20 Feb 2024 09:44:30 +0000 (12:44 +0300)]
* lisp/gnus/mm-view.el (mm-display-inline-fontify): Mark contents untrusted.

20 months ago* lisp/files.el (untrusted-content): New variable.
Ihor Radchenko [Tue, 20 Feb 2024 09:43:51 +0000 (12:43 +0300)]
* lisp/files.el (untrusted-content): New variable.

The new variable is to be used when buffer contents comes from untrusted
source.

20 months agoorg-macro--set-templates: Prevent code evaluation
Ihor Radchenko [Tue, 20 Feb 2024 09:19:46 +0000 (12:19 +0300)]
org-macro--set-templates: Prevent code evaluation

* lisp/org/org-macro.el (org-macro--set-templates): Get rid of any
risk to evaluate code when `org-macro--set-templates' is called as a
part of major mode initialization.  This way, no code evaluation is
ever triggered when user merely opens the file or when
`mm-display-org-inline' invokes Org major mode to fontify mime part
preview in email messages.

20 months ago* admin/authors.el (authors-aliases): Add ignored authors.
Eli Zaretskii [Sun, 24 Mar 2024 12:36:44 +0000 (08:36 -0400)]
* admin/authors.el (authors-aliases): Add ignored authors.

20 months ago* etc/NEWS: Update for Emacs 29.3
Eli Zaretskii [Sun, 24 Mar 2024 12:19:29 +0000 (08:19 -0400)]
* etc/NEWS: Update for Emacs 29.3

20 months ago; * lisp/keymap.el (key-parse): Fix processing of "[TAB]". (Bug#69893)
Eli Zaretskii [Thu, 21 Mar 2024 20:12:40 +0000 (22:12 +0200)]
; * lisp/keymap.el (key-parse): Fix processing of "[TAB]".  (Bug#69893)

20 months ago; Improve documentation of 'backup-by-copying'
Eli Zaretskii [Thu, 21 Mar 2024 19:35:24 +0000 (21:35 +0200)]
; Improve documentation of 'backup-by-copying'

* doc/emacs/files.texi (Backup Copying): Recommend
'backup-by-copying' for files on file-hosting services.  (Bug#69930)

20 months ago* Fix missing `comp-files-queue' update (bug#63415).
Andrea Corallo [Wed, 17 May 2023 13:28:46 +0000 (15:28 +0200)]
* Fix missing `comp-files-queue' update (bug#63415).

* lisp/emacs-lisp/comp.el (native--compile-async): Update
`comp-files-queue' for real.

20 months agoClarify description of format-spec truncation
Basil L. Contovounesios [Sun, 17 Mar 2024 12:04:32 +0000 (13:04 +0100)]
Clarify description of format-spec truncation

* doc/lispref/strings.texi (Custom Format Strings): Mention that
precision specifier affects both '<' and '>' truncation (bug#69822).
* lisp/format-spec.el (format-spec, format-spec--do-flags): Use same
terminology as 'format', especially when referring to its behavior.

20 months agoMore accurate documentation of 'rmail-mail-new-frame'
Eli Zaretskii [Thu, 21 Mar 2024 08:55:59 +0000 (10:55 +0200)]
More accurate documentation of 'rmail-mail-new-frame'

* doc/emacs/rmail.texi (Rmail Reply): More accurate documentation
of the effects of 'rmail-mail-new-frame'.  (Bug#69738)

20 months ago; * lisp/calendar/calendar.el: Remove extra space.
Juri Linkov [Thu, 21 Mar 2024 07:49:34 +0000 (09:49 +0200)]
; * lisp/calendar/calendar.el: Remove extra space.

20 months agoFix documentation of M-SPC in user manual
Eli Zaretskii [Wed, 20 Mar 2024 12:45:24 +0000 (14:45 +0200)]
Fix documentation of M-SPC in user manual

* doc/emacs/killing.texi (Deletion): Fix documentation of
'cycle-spacing'.  (Bug#69905)

20 months ago; * lisp/emacs-lisp/cl-macs.el (cl-labels): Fix stray diff marker.
Robert Pluim [Wed, 20 Mar 2024 08:33:37 +0000 (09:33 +0100)]
; * lisp/emacs-lisp/cl-macs.el (cl-labels): Fix stray diff marker.

21 months ago* admin/notes/bugtracker: Minor copyedit.
Michael Albinus [Sun, 17 Mar 2024 12:25:35 +0000 (13:25 +0100)]
* admin/notes/bugtracker: Minor copyedit.

21 months ago; * admin/notes/bugtracker: Minor copyedit.
Eli Zaretskii [Sun, 17 Mar 2024 08:47:41 +0000 (10:47 +0200)]
; * admin/notes/bugtracker: Minor copyedit.

21 months agoTweak regexp for object initializers in csharp-mode (bug#69571)
Theodor Thornhill [Sat, 16 Mar 2024 19:28:10 +0000 (20:28 +0100)]
Tweak regexp for object initializers in csharp-mode (bug#69571)

* lisp/progmodes/csharp-mode.el (csharp-guess-basic-syntax): Add
handling to not consider ended statements as object init openers.
* test/lisp/progmodes/csharp-mode-resources/indent.erts: New test
resources.
* test/lisp/progmodes/csharp-mode-tests.el: Add test for this particular
issue.

21 months ago`term-mode': mention the keymap to add keybindings to
Konstantin Kharlamov [Sat, 16 Mar 2024 10:24:34 +0000 (13:24 +0300)]
`term-mode': mention the keymap to add keybindings to

A user typically expects a keymap for mode `foo' to be called
`foo-mode-map'.  term-mode has `term-mode-map' too, but for
user-defined bindings to have effect they have to be put to
`term-raw-map' instead.  So let's mention that.
* lisp/term.el (term-mode) (term-mode-map) (term-raw-map): Mention
the keymaps to add keybindings to for `term-mode'.  (Bug#69786)

21 months agoFix 'shortdoc-copy-function-as-kill'
Eli Zaretskii [Sat, 16 Mar 2024 11:07:52 +0000 (13:07 +0200)]
Fix 'shortdoc-copy-function-as-kill'

* lisp/emacs-lisp/shortdoc.el (shortdoc-copy-function-as-kill):
Fix handling of functions with no arguments.  (Bug#69720)

21 months agoImprove documentation of 'edebug-print-*' variables
Eli Zaretskii [Sat, 16 Mar 2024 10:42:16 +0000 (12:42 +0200)]
Improve documentation of 'edebug-print-*' variables

* lisp/emacs-lisp/edebug.el (edebug-print-length)
(edebug-print-level): Fix doc strings and customization labels.
Suggested by Matt Trzcinski <matt@excalamus.com>.  (Bug#69745)

21 months ago; Fix 'usage:' keyword in Ffile_name_concat doc.
Basil L. Contovounesios [Fri, 15 Mar 2024 23:19:43 +0000 (00:19 +0100)]
; Fix 'usage:' keyword in Ffile_name_concat doc.

21 months ago; * CONTRIBUTE: Ask not to use non-ASCII unless necessary.
Eli Zaretskii [Fri, 15 Mar 2024 11:29:31 +0000 (13:29 +0200)]
; * CONTRIBUTE: Ask not to use non-ASCII unless necessary.

21 months ago; * src/lread.c (maybe_swap_for_eln): Clarify warning message.
Eli Zaretskii [Thu, 14 Mar 2024 19:08:36 +0000 (21:08 +0200)]
; * src/lread.c (maybe_swap_for_eln): Clarify warning message.

21 months ago; Fix bibtex-biblatex-field-alist docstring typo.
Basil L. Contovounesios [Tue, 12 Mar 2024 21:47:45 +0000 (22:47 +0100)]
; Fix bibtex-biblatex-field-alist docstring typo.

21 months ago; * doc/lispref/control.texi (Conditionals): Add missing paren (bug#69742).
Arash Esbati [Tue, 12 Mar 2024 11:53:32 +0000 (12:53 +0100)]
; * doc/lispref/control.texi (Conditionals): Add missing paren (bug#69742).

21 months agoFix 'with-sqlite-transaction'
F. Jason Park [Mon, 11 Mar 2024 03:13:42 +0000 (20:13 -0700)]
Fix 'with-sqlite-transaction'

* lisp/sqlite.el (with-sqlite-transaction): Tuck misplaced body
of else form back into feature-test control structure whence it
escaped.  (Bug#67142)

* test/lisp/sqlite-tests.el: New file to accompany
test/src/sqlite-tests.el.

21 months ago; * doc/emacs/files.texi (Image Mode): Fix typo (bug#69671).
Eli Zaretskii [Sat, 9 Mar 2024 09:40:27 +0000 (11:40 +0200)]
; * doc/emacs/files.texi (Image Mode): Fix typo (bug#69671).

21 months ago; Improve documentation of 'minibuffer-allow-text-properties'
Eli Zaretskii [Fri, 8 Mar 2024 13:06:37 +0000 (15:06 +0200)]
; Improve documentation of 'minibuffer-allow-text-properties'

* doc/lispref/minibuf.texi (Text from Minibuffer): Document the
default value of 'minibuffer-allow-text-properties'.

21 months ago; Improve documentation of image properties
Eli Zaretskii [Thu, 7 Mar 2024 08:11:44 +0000 (10:11 +0200)]
; Improve documentation of image properties

* lisp/image.el (create-image, image-property): Add to do strings
link to description of image properties in ELisp manual.

* doc/lispref/display.texi (Defining Images): Fix example and add
cross-reference to where image properties are described.
(Image Descriptors): Add index entry.

21 months ago; * src/composite.c (composition_compute_stop_pos): Add comment.
Eli Zaretskii [Mon, 4 Mar 2024 15:09:29 +0000 (17:09 +0200)]
; * src/composite.c (composition_compute_stop_pos): Add comment.

21 months ago; * src/buffer.c (Fmake_indirect_buffer): Doc fix.
Eli Zaretskii [Fri, 1 Mar 2024 08:32:32 +0000 (10:32 +0200)]
; * src/buffer.c (Fmake_indirect_buffer): Doc fix.

21 months agoFix typos in vnvni.el.
Dan Jacobson [Fri, 1 Mar 2024 04:44:44 +0000 (12:44 +0800)]
Fix typos in vnvni.el.

* lisp/leim/quail/vnvni.el ("vietnamese-vni"): Fix typos.  (Bug#69485)

Copyright-paperwork-exempt: yes

21 months ago; * lisp/vc/vc.el (vc-clone): Fix wording of doc string.
Eli Zaretskii [Tue, 27 Feb 2024 13:11:58 +0000 (15:11 +0200)]
; * lisp/vc/vc.el (vc-clone): Fix wording of doc string.

21 months agoAvoid assertion violations in bidi.c
Eli Zaretskii [Tue, 27 Feb 2024 11:12:15 +0000 (13:12 +0200)]
Avoid assertion violations in bidi.c

* src/bidi.c (bidi_resolve_brackets): Move assertion about
'resolved_level' to where it belongs.  This avoids unnecessary
aborts when the character is not a bracket type and doesn't need
BPA resolution.  (Bug#69421)

21 months ago* lisp/files.el (hack-one-local-variable): Use `set-auto-mode-0`
Stefan Monnier [Sun, 25 Feb 2024 16:35:44 +0000 (11:35 -0500)]
* lisp/files.el (hack-one-local-variable): Use `set-auto-mode-0`

This fixes bug#69373.

21 months agoFix infinite recursion in gdb-mi.el
Eli Zaretskii [Sat, 24 Feb 2024 13:12:57 +0000 (15:12 +0200)]
Fix infinite recursion in gdb-mi.el

* lisp/progmodes/gdb-mi.el: (gdb-clear-partial-output)
(gdb-clear-inferior-io):  Set inhibit-read-only, to avoid
signaling errors in process filter.  (Bug#69327)

21 months agoFix 'help-quick-toggle'
Eli Zaretskii [Sat, 24 Feb 2024 09:59:30 +0000 (11:59 +0200)]
Fix 'help-quick-toggle'

* lisp/help.el (help-quick-sections): Fix "kill-region" command.
Add a doc string.  (Bug#69345)

21 months ago; * admin/authors.el (authors-aliases): Fix last change.
Eli Zaretskii [Sat, 24 Feb 2024 07:32:06 +0000 (09:32 +0200)]
; * admin/authors.el (authors-aliases): Fix last change.