emacs.git
15 months agoFix Rmail base64 and qp decoding of MIME payloads
Eli Zaretskii [Mon, 2 Sep 2024 14:14:29 +0000 (17:14 +0300)]
Fix Rmail base64 and qp decoding of MIME payloads

* lisp/mail/rmailmm.el (rmail-mime-insert-decoded-text)
(rmail-mime-insert-html): Remove ^M characters left from DOS EOLs.
This is what 'rmail-decode-region' does for non-MIME messages.

15 months agoUpdate to Org 9.7.11
Kyle Meyer [Sun, 1 Sep 2024 21:51:22 +0000 (17:51 -0400)]
Update to Org 9.7.11

15 months ago; Fix recent changes in documentation
Eli Zaretskii [Sun, 1 Sep 2024 17:57:03 +0000 (20:57 +0300)]
; Fix recent changes in documentation

* doc/lispref/positions.texi (List Motion): Fix indexing.
* doc/emacs/mini.texi (Completion Options): Fix wording.

15 months ago* test/lisp/emacs-lisp/tabulated-list-tests.el: Add missing test.
Juri Linkov [Sun, 1 Sep 2024 17:17:03 +0000 (20:17 +0300)]
* test/lisp/emacs-lisp/tabulated-list-tests.el: Add missing test.

(tabulated-list-groups-with-path): Add test for tabulated-list-groups.

15 months ago; Small doc fixes
Juri Linkov [Sun, 1 Sep 2024 16:53:52 +0000 (19:53 +0300)]
; Small doc fixes

* doc/emacs/dired.texi (Operating on Files): Add indexed function
'dired-do-open' to the text.

* doc/emacs/mini.texi (Completion Options): Add indexed functions
'previous-line-completion' and 'next-line-completion' to the text.

* doc/lispref/minibuf.texi (Completion Variables): Remove self-reference.

* doc/lispref/positions.texi (List Motion): Add indexed function
'treesit-forward-sexp' to the text.  Add @vindex for
'forward-sexp-function'.

* etc/NEWS: Group tab-bar and tab-line items separately.
Move two Buffer-menu items to separate outline.

15 months ago; Reword some "allows Xing"
Sean Whitton [Sun, 1 Sep 2024 10:20:25 +0000 (11:20 +0100)]
; Reword some "allows Xing"

* doc/emacs/anti.texi (Antinews):
* etc/NEWS:
* etc/NEWS.29:
* lisp/tab-bar.el (tab-bar-select-restore-windows):
* lisp/vc/vc-git.el (vc-git-print-log-follow): Reword to avoid
"allows Xing".  This is reported to be better for non-native
readers.  Based on suggestions of Eli Zaretskii <eliz@gnu.org>.

15 months ago; More accurate text about how `equal` compares various objects
Mattias Engdegård [Sat, 31 Aug 2024 16:39:46 +0000 (18:39 +0200)]
; More accurate text about how `equal` compares various objects

* doc/lispref/objects.texi (Equality Predicates):
Attempt at improving the text further (bug#72888).

15 months agoMake 'python-shell--with-environment' respect buffer-local vars
Evgenii Klimov [Thu, 29 Aug 2024 22:36:12 +0000 (23:36 +0100)]
Make 'python-shell--with-environment' respect buffer-local vars

* lisp/progmodes/python.el (python-shell--with-environment):
Make `with-temp-buffer' respect buffer-local values of
`process-environment' and `exec-path', if set.  (Bug#72849)

15 months agoAvoid ANSI escape characters in Python output (bug#45938)
Evgenii Klimov [Sun, 25 Feb 2024 20:12:38 +0000 (20:12 +0000)]
Avoid ANSI escape characters in Python output (bug#45938)

* lisp/progmodes/python.el (python-shell-completion-native-setup):
Prevent Readline from emitting escape characters in comint output.

15 months agoFix handling of hook variables in 'use-package'
John Wiegley [Mon, 26 Aug 2024 18:47:25 +0000 (11:47 -0700)]
Fix handling of hook variables in 'use-package'

* lisp/use-package/use-package-core.el
(use-package-handler/:hook): Append "-hook" to the symbol's name
only if the named hook variable has no 'symbol-value'.
(Bug#72818)

15 months agoWork around Gnuplot bug in displaying plots
Eli Zaretskii [Sat, 31 Aug 2024 09:58:39 +0000 (12:58 +0300)]
Work around Gnuplot bug in displaying plots

* lisp/calc/calc-graph.el (calc-gnuplot-command): Prepend newline
to Gnuplot command.  Suggested by Visuwesh <visuweshm@gmail.com>.
(Bug#72778)

15 months agoRevert "* lisp/help-fns.el (help-definition-prefixes): Don't delete the hashtable"
Eli Zaretskii [Sat, 31 Aug 2024 09:51:59 +0000 (12:51 +0300)]
Revert "* lisp/help-fns.el (help-definition-prefixes): Don't delete the hashtable"

This reverts commit 45ae4de0e7ce99c88c62f940f605bca693b8e33f.
It did not fix a regression or even a user-visible bug, and
it caused bug#72787.

Do not merge to master.

15 months agoMake Python skeletons available in 'python-ts-mode' as well
kobarity [Sat, 24 Aug 2024 11:13:16 +0000 (20:13 +0900)]
Make Python skeletons available in 'python-ts-mode' as well

* lisp/progmodes/python.el (python-base-mode-abbrev-table):
Renamed from 'python-mode-abbrev-table' to be available for both
'python-mode' and 'python-ts-mode'.  (Bug#72298)

15 months agoMerge branch 'emacs-30' of git.savannah.gnu.org:/srv/git/emacs into emacs-30
Eli Zaretskii [Fri, 30 Aug 2024 17:33:11 +0000 (20:33 +0300)]
Merge branch 'emacs-30' of git.savannah.gnu.org:/srv/git/emacs into emacs-30

15 months ago; * etc/NEWS: Fix typos.
Michael Albinus [Fri, 30 Aug 2024 12:00:47 +0000 (14:00 +0200)]
; * etc/NEWS: Fix typos.

15 months agoMore accurate documentation of 'equal' in ELisp Reference
Eli Zaretskii [Fri, 30 Aug 2024 10:57:29 +0000 (13:57 +0300)]
More accurate documentation of 'equal' in ELisp Reference

* doc/lispref/objects.texi (Equality Predicates): Add lists and
conses.  (Bug#72888)

15 months ago; Fix some ungrammatical uses of "allows to"
Sean Whitton [Fri, 30 Aug 2024 10:43:35 +0000 (11:43 +0100)]
; Fix some ungrammatical uses of "allows to"

* doc/emacs/anti.texi (Antinews):
* etc/NEWS:
* etc/NEWS.29:
* lib/cdefs.h:
* lisp/tab-bar.el (tab-bar-select-restore-windows):
* lisp/vc/vc-git.el (vc-git-print-log-follow):
* m4/gnulib-common.m4 (gl_CHECK_FUNCS_SET_RESULTS):
(gl_CHECK_FUNCS_ANDROID): Fix ungrammatical uses of "allows to".

15 months agoSupport "/dev/null" as a target when creating Eshell handles
Jim Porter [Thu, 29 Aug 2024 02:12:29 +0000 (19:12 -0700)]
Support "/dev/null" as a target when creating Eshell handles

Previously, you could only use this when setting the handle afterwards.

Do not merge to master.

* lisp/eshell/esh-io.el (eshell-set-output-handle): Don't catch
'eshell-null-device' here...
(eshell-get-target): ... catch it here.

15 months agoFix redirecting Eshell output to symbols in some places
Jim Porter [Thu, 29 Aug 2024 01:53:03 +0000 (18:53 -0700)]
Fix redirecting Eshell output to symbols in some places

Do not merge to master.

* lisp/eshell/esh-io.el (eshell-output-object-to-target): Don't require
TARGET to be bound.

* lisp/eshell/em-script.el (eshell-execute-file): Quote the output/error
targets.

* test/lisp/eshell/em-script-tests.el (eshell-execute-file-output): New
variable.
(em-script-test/execute-file/output-file)
(em-script-test/execute-file/output-symbol): New tests.

* test/lisp/eshell/esh-io-tests.el (eshell-test-file-string): Move to...
* test/lisp/eshell/eshell-tests-helpers.el (eshell-test-file-string):
... here.

15 months ago; * lisp/progmodes/flymake.el: Fix "Maintainer" header
Philip Kaludercic [Thu, 29 Aug 2024 20:30:38 +0000 (22:30 +0200)]
; * lisp/progmodes/flymake.el: Fix "Maintainer" header

Functions such as 'lm-maintainer' assume there to be only a
single header, and won't return the second value.  By João's
request, this change fixes the issue by unmarking him as the
maintainer of Flymake.

See https://lists.gnu.org/archive/html/emacs-devel/2024-08/msg00943.html

15 months ago; * etc/AUTHORS: Update.
Eli Zaretskii [Thu, 29 Aug 2024 18:43:45 +0000 (14:43 -0400)]
; * etc/AUTHORS: Update.

15 months ago; Revert "; * admin/authors.el (authors-valid-file-names): Ignore Unicode files."
Eli Zaretskii [Thu, 29 Aug 2024 18:26:54 +0000 (21:26 +0300)]
; Revert "; * admin/authors.el (authors-valid-file-names): Ignore Unicode files."

This reverts commit 6734b60c0c325cf4e7e0614fe67ed24fafc9dd9a.
Existing files cannot be ignored.

15 months ago; Revert "Revert "; * admin/authors.el (authors-ignored-files): Add removed files.""
Eli Zaretskii [Thu, 29 Aug 2024 18:26:10 +0000 (21:26 +0300)]
; Revert "Revert "; * admin/authors.el (authors-ignored-files): Add removed files.""

This reverts commit 2d723a280b3846de9cad8561b971a44ec95c7961.
It mistakenly reverted the wrong commit.

15 months agoRevert "; * admin/authors.el (authors-ignored-files): Add removed files."
Eli Zaretskii [Thu, 29 Aug 2024 18:16:12 +0000 (21:16 +0300)]
Revert "; * admin/authors.el (authors-ignored-files): Add removed files."

This reverts commit d809d53afc007574b3054027ff2eaf6c8d66996c.
Not useful, for the same reason as the previously reverted
commit.

15 months agoRevert "; * admin/authors.el (authors-ignored-files): Ignore Unicode files."
Eli Zaretskii [Thu, 29 Aug 2024 18:15:08 +0000 (21:15 +0300)]
Revert "; * admin/authors.el (authors-ignored-files): Ignore Unicode files."

This reverts commit 0db53f14a2974de5209439326d4a9e4749462f42.
It doesn't help, since existing files are considered worthy
of mentioning regardless of the other lists.

15 months ago; * admin/authors.el (authors-ignored-files): Ignore Unicode files.
Eli Zaretskii [Thu, 29 Aug 2024 17:59:37 +0000 (20:59 +0300)]
; * admin/authors.el (authors-ignored-files): Ignore Unicode files.

15 months ago; * admin/authors.el (authors-valid-file-names): Ignore Unicode files.
Eli Zaretskii [Thu, 29 Aug 2024 17:37:29 +0000 (20:37 +0300)]
; * admin/authors.el (authors-valid-file-names): Ignore Unicode files.

15 months ago; * admin/authors.el (authors-ignored-files): Add removed files.
Eli Zaretskii [Thu, 29 Aug 2024 16:40:26 +0000 (19:40 +0300)]
; * admin/authors.el (authors-ignored-files): Add removed files.

15 months ago; * etc/NEWS: Announce VC-dir "Tracking" header. (bug#68183)
Kévin Le Gouguec [Thu, 22 Aug 2024 06:34:03 +0000 (08:34 +0200)]
; * etc/NEWS: Announce VC-dir "Tracking" header. (bug#68183)

15 months ago; * admin/authors.el (authors-aliases): Fix regexps.
Eli Zaretskii [Thu, 29 Aug 2024 16:22:11 +0000 (19:22 +0300)]
; * admin/authors.el (authors-aliases): Fix regexps.

15 months ago; * admin/MAINTAINERS: Spencer Baugh maintains flymake.el.
Eli Zaretskii [Thu, 29 Aug 2024 12:20:07 +0000 (15:20 +0300)]
; * admin/MAINTAINERS: Spencer Baugh maintains flymake.el.

15 months agoxwidget: Fix xwidget-at misinterpreting non-xwidget text-properties
George Huebner [Sun, 14 Jul 2024 06:46:07 +0000 (01:46 -0500)]
xwidget: Fix xwidget-at misinterpreting non-xwidget text-properties

'xwidget-open' wrongly assumed the the text-property at
min-position is an xwidget, if it exists; the fix is just
returning nil if the text-property isn't an xwidget.
* lisp/xwidget.el (xwidget-at): Use 'ignore-errors'.  (Bug#72848)

Copyright-paperwork-exempt: yes

15 months agoFix rare segfaults due to freed fontsets
Eli Zaretskii [Thu, 29 Aug 2024 09:56:27 +0000 (12:56 +0300)]
Fix rare segfaults due to freed fontsets

* src/xfaces.c (recompute_basic_faces): Force complete
recalculation of non-ASCII faces and their fontsets if any
non-ASCII faces are in the frame's face cache.  (Bug#72692)

15 months ago; * lisp/simple.el (use-region-beginning, use-region-end): Doc fix.
Eli Zaretskii [Thu, 29 Aug 2024 09:33:30 +0000 (12:33 +0300)]
; * lisp/simple.el (use-region-beginning, use-region-end): Doc fix.

15 months ago; Fix typos
Stefan Kangas [Wed, 28 Aug 2024 22:17:10 +0000 (00:17 +0200)]
; Fix typos

15 months agoEglot: fix completion highlighting (bug#72824)
Dmitry Gutov [Tue, 27 Aug 2024 23:20:33 +0000 (02:20 +0300)]
Eglot: fix completion highlighting (bug#72824)

* lisp/progmodes/eglot.el (eglot-completion-at-point):
Make sure to refer to 'completion-ignore-case' in the
'all-completions' method.

15 months ago; * admin/make-tarball.txt: Document gotcha.
Eli Zaretskii [Tue, 27 Aug 2024 12:50:14 +0000 (15:50 +0300)]
; * admin/make-tarball.txt: Document gotcha.

15 months agoDiscuss commit log messages on feature branches
Sean Whitton [Tue, 27 Aug 2024 04:22:01 +0000 (12:22 +0800)]
Discuss commit log messages on feature branches

* admin/notes/git-workflow (Long-lived feature branches): New
section, discussing commit log messages on feature branches.

15 months ago* admin/authors.el (authors-fixed-entries): Update docstring.
Sean Whitton [Tue, 27 Aug 2024 04:13:31 +0000 (12:13 +0800)]
* admin/authors.el (authors-fixed-entries): Update docstring.

15 months agoMore consistent treesit-forward-sexp around comments (bug#72525)
Yuan Fu [Tue, 27 Aug 2024 02:43:00 +0000 (19:43 -0700)]
More consistent treesit-forward-sexp around comments (bug#72525)

* lisp/treesit.el (treesit-forward-sexp): Check if point is strictly
inside a comment or string, only then use the default forward-sexp
function; otherwise use tree-sitter's forward-sexp routine.

15 months agoImprove php-ts-mode font lock and support latest grammar (bug#72796)
Vincenzo Pupillo [Sat, 24 Aug 2024 21:16:09 +0000 (23:16 +0200)]
Improve php-ts-mode font lock and support latest grammar (bug#72796)

* lisp/progmodes/php-ts-mode.el:
(php-ts-mode--language-source-alist): Update the parser version.
(php-ts-mode--parent-html-heuristic): Fix commentary.
(php-ts-mode--keywords): Add "exit" keyword.
(php-ts-mode--predefined-constant): Added math constant.
(php-ts-mode--font-lock-settings): New and improved rules.

15 months agoFix tree-sitter local parser overlay cleanup routine
Yuan Fu [Mon, 26 Aug 2024 00:59:51 +0000 (17:59 -0700)]
Fix tree-sitter local parser overlay cleanup routine

Sorry for sneaking in a sizable commit so late.  But I just found out
about this bug and it has to be fixed.  Before this change, we weren't
properly cleaning up overlays that store local parsers.  And in the case
of doxygen local parser in C files, the doxygen local parser overlay
sometimes bleeds out of comments and into other code, and interferes
with font-lock and indentation.

This commit adds a cleanup function that'll cleanup any overlays that
aren't being used.  I tested with doxygen in C files and everything
works smoothly now, including tricky tests like removing the ending "*/"
of a doxygen comment and adding it back.

The idea is simple, at the end of each call to (treesit-update-ranges
BEG END), we remove any overlay within BEG and END that wasn't touched
by the range setting code.

* lisp/treesit.el (treesit--cleanup-local-range-overlays): New function.
(treesit--update-ranges-local): Remove code for cleaning up zero-length
overlays since we have the cleanup function now.
(treesit-update-ranges): Wrap the function body inside a let form, which
defines modified-tick; and add a call to
treesit--cleanup-local-range-overlays at the very end.

15 months agoFix copyright years by hand (Bug#72809)
Stefan Kangas [Mon, 26 Aug 2024 00:46:02 +0000 (02:46 +0200)]
Fix copyright years by hand (Bug#72809)

These are dates that admin/update-copyright did not update.

15 months agoRevert a recent change that caused redisplay slowdown
Eli Zaretskii [Sun, 25 Aug 2024 18:43:59 +0000 (21:43 +0300)]
Revert a recent change that caused redisplay slowdown

* src/xfaces.c (recompute_basic_faces): Revert the change which
caused recalculation of all the faces, as it made cursor motion
too slow.  Reported by Juri Linkov <juri@linkov.net> (bug#72692).

15 months ago; * doc/lispref/display.texi (Low-Level Font): Fix wording (bug#72771).
Eli Zaretskii [Sun, 25 Aug 2024 17:47:51 +0000 (20:47 +0300)]
; * doc/lispref/display.texi (Low-Level Font): Fix wording (bug#72771).

15 months agoIndent ERT failure explanations rigidly
F. Jason Park [Fri, 9 Aug 2024 23:49:28 +0000 (16:49 -0700)]
Indent ERT failure explanations rigidly

This also affects the listing of `should' forms produced by hitting
the L key on a test button in an ERT buffer.

* lisp/emacs-lisp/ert.el (ert--pp-with-indentation-and-newline):
Indent the pretty-printed result to match the caller's current column
as a reference indentation.
* test/lisp/emacs-lisp/ert-tests.el
(ert--pp-with-indentation-and-newline): New test.  (Bug#72561)

15 months ago[Eglot] Stricter "expand common" behavior
Dmitry Gutov [Sun, 25 Aug 2024 15:23:51 +0000 (18:23 +0300)]
[Eglot] Stricter "expand common" behavior

* lisp/progmodes/eglot.el (eglot--dumb-tryc): Check that the
expanded string matches every completion strictly (bug#72705).
And in the fallback case, check whether the table matches the
original prefix at all.  Return nil otherwise.

* test/lisp/progmodes/eglot-tests.el
(eglot-test-stop-completion-on-nonprefix)
(eglot-test-try-completion-nomatch): Corresponding tests.

* etc/EGLOT-NEWS: New entry.

15 months agoeglot-tests.el: New tests for existing completion behavior
Dmitry Gutov [Sun, 25 Aug 2024 15:05:28 +0000 (18:05 +0300)]
eglot-tests.el: New tests for existing completion behavior

* test/lisp/progmodes/eglot-tests.el
(eglot-test-common-prefix-completion)
(eglot-test-try-completion-inside-symbol)
(eglot-test-rust-completion-exit-function): New tests.
(eglot--wait-for-rust-analyzer): New function.

15 months agoRemove dangerous HTML edit from admin.el
Eli Zaretskii [Sun, 25 Aug 2024 12:46:05 +0000 (15:46 +0300)]
Remove dangerous HTML edit from admin.el

* admin/admin.el (manual-html-fix-index-2): Avoid lax matches with
"<ul>" which could mistakenly edit unrelated parts of HTML.
(Bug#72761)

15 months ago; Fix bad references to other manuals
Eli Zaretskii [Sun, 25 Aug 2024 10:55:35 +0000 (13:55 +0300)]
; Fix bad references to other manuals

* doc/misc/bovine.texi (top, Optional Lambda Expression)
(Starting Rules, Bovine Grammar Rules, How Lexical Tokens Match):
* doc/misc/eudc.texi (Overview, Creating BBDB Records)
(Inline Query Expansion):
* doc/misc/dbus.texi (Top):
* doc/misc/efaq.texi (Top):
* doc/misc/wisent.texi (Wisent Semantic, Wisent Lex): Fix
cross-references to other manuals.  Remove redundant pointers from
Top node.  (Bug#72761)

(cherry picked from commit 7319f5e078b6c98379414a4601a269e6581ec206)

15 months ago; Mention in PROBLEMS issues with long popup menus
Eli Zaretskii [Sun, 25 Aug 2024 06:04:21 +0000 (09:04 +0300)]
; Mention in PROBLEMS issues with long popup menus

* etc/PROBLEMS: Problems with very long popup menus on Lucid
builds.  (Bug#72791)

15 months ago* etc/emacs_lldb.py (Lisp_Object): PVEC_COMPILED -> PVEC_CLOSURE
Mattias Engdegård [Sat, 24 Aug 2024 12:27:26 +0000 (14:27 +0200)]
* etc/emacs_lldb.py (Lisp_Object): PVEC_COMPILED -> PVEC_CLOSURE

15 months agoFix rare segfaults due to freed fontsets
Eli Zaretskii [Sat, 24 Aug 2024 09:07:02 +0000 (12:07 +0300)]
Fix rare segfaults due to freed fontsets

* src/xfaces.c (recompute_basic_faces): Force complete
recalculation of all the faces.  (Bug#72692)

15 months ago; Fix infloop in checkdoc-next-docstring
Eshel Yaron [Fri, 23 Aug 2024 15:15:32 +0000 (17:15 +0200)]
; Fix infloop in checkdoc-next-docstring

* lisp/emacs-lisp/checkdoc.el (checkdoc-next-docstring): Use
'beginning-of-defun-raw' instead of 'beginning-of-defun', as the latter
always moves back to beginning of line and thus is not guaranteed to
advance point when 'open-paren-in-column-0-is-defun-start' is non-nil.
(Bug#72759)

15 months agoAvoid putting a dead buffer in the minibuffer window (Bug#72487)
Martin Rudalics [Fri, 23 Aug 2024 08:27:12 +0000 (10:27 +0200)]
Avoid putting a dead buffer in the minibuffer window (Bug#72487)

* src/minibuf.c (minibuffer_unwind): Make sure that the buffer
referenced by the first element of the list of previous buffers
of the minibuffer window is live before assigning it to the
minibuffer window (Bug#72487).
* src/window.c (set_window_buffer): Assert that BUFFER is live.

15 months agoEglot: bump version to 1.17.30 and update EGLOT-NEWS
João Távora [Thu, 22 Aug 2024 16:27:20 +0000 (17:27 +0100)]
Eglot: bump version to 1.17.30 and update EGLOT-NEWS

This is a change specific to emacs-30.  Don't merge to master.

* lisp/progmodes/eglot.el (Version): Mark it 1.17.30.

* etc/EGLOT-NEWS (1.17.30): Fill in section.

15 months ago; * admin/authors.el (authors-aliases): Escape periods.
Eli Zaretskii [Thu, 22 Aug 2024 11:09:11 +0000 (14:09 +0300)]
; * admin/authors.el (authors-aliases): Escape periods.

15 months agoUpdate 'ldefs-boot.el' (don't merge)
Andrea Corallo [Tue, 20 Aug 2024 20:48:16 +0000 (22:48 +0200)]
Update 'ldefs-boot.el' (don't merge)

* lisp/ldefs-boot.el: Update.

15 months ago* doc/man/emacsclient.1: Bump date.
Andrea Corallo [Tue, 20 Aug 2024 20:46:40 +0000 (22:46 +0200)]
* doc/man/emacsclient.1: Bump date.

15 months agoBump Emacs version to 30.0.90
Andrea Corallo [Sun, 18 Aug 2024 10:22:38 +0000 (12:22 +0200)]
Bump Emacs version to 30.0.90

* nt/README.W32: Update version.
* msdos/sed2v2.inp: Likewise.
* configure.ac: Likewise.
* README: Likewise.

15 months agoUpdate Changelogs
Andrea Corallo [Tue, 20 Aug 2024 10:56:36 +0000 (12:56 +0200)]
Update Changelogs

* ChangeLog.4: Re-generate.
* ChangeLog.3: Fix some type and style.

15 months agoUpdate AUTHORS
Andrea Corallo [Sun, 18 Aug 2024 09:49:22 +0000 (11:49 +0200)]
Update AUTHORS

* etc/AUTHORS: Re-generate.
* admin/authors.el (authors-fixed-entries): Add entry.

15 months ago* admin/authors.el (authors-aliases, authors-ignored-files): Update.
Andrea Corallo [Tue, 20 Aug 2024 10:56:11 +0000 (12:56 +0200)]
* admin/authors.el (authors-aliases, authors-ignored-files): Update.

15 months ago* admin/authors.el: Pick-up version from emacs-29.
Andrea Corallo [Sun, 18 Aug 2024 10:35:15 +0000 (12:35 +0200)]
* admin/authors.el: Pick-up version from emacs-29.

15 months agoAdd missing :version tags in use-package
Stefan Kangas [Tue, 20 Aug 2024 18:11:08 +0000 (20:11 +0200)]
Add missing :version tags in use-package

* lisp/use-package/use-package-core.el (use-package-keywords)
(use-package-deferring-keywords, use-package-ignore-unknown-keywords)
(use-package-use-theme, use-package-verbose)
(use-package-check-before-init, use-package-always-defer)
(use-package-always-demand, use-package-defaults)
(use-package-merge-key-alist, use-package-hook-name-suffix)
(use-package-minimum-reported-time, use-package-inject-hooks)
(use-package-expand-minimally, use-package-form-regexp-eval)
(use-package-enable-imenu-support, use-package-compute-statistics):
* lisp/use-package/use-package-ensure.el (use-package-always-ensure)
(use-package-always-pin, use-package-ensure-function): Add missing
:version tags.

15 months agoSuppress shallow cloning on emba
Michael Albinus [Tue, 20 Aug 2024 17:23:48 +0000 (19:23 +0200)]
Suppress shallow cloning on emba

* test/infra/gitlab-ci.yml (variables): Set GIT_DEPTH to 0 in
order to avoid shallow cloning.

15 months agoCorrect Android failure to open an old CJK font
Po Lu [Tue, 20 Aug 2024 13:56:41 +0000 (21:56 +0800)]
Correct Android failure to open an old CJK font

* src/sfnt.c (sfnt_read_cmap_format_2): Properly compute
subtable count, and append the empty table at position 0.
(sfnt_lookup_glyph_2): Update commentary.

15 months ago* lisp/help-fns.el (help-definition-prefixes): Don't delete the hashtable
Stefan Monnier [Tue, 20 Aug 2024 12:09:54 +0000 (08:09 -0400)]
* lisp/help-fns.el (help-definition-prefixes): Don't delete the hashtable

Fixes bug#72511.

15 months ago; Fix documentation of secure-hash functions
Eli Zaretskii [Mon, 19 Aug 2024 14:51:50 +0000 (17:51 +0300)]
; Fix documentation of secure-hash functions

* src/fns.c (Fsecure_hash):
* doc/lispref/text.texi (Checksum/Hash):
* lisp/subr.el (sha1): Fix documentation wrt to the number of
bytes 'secure-hash' and its variants return when BINARY is
non-nil.  Reported by Pip Cet <pipcet@protonmail.com>.

15 months ago; * lisp/subr.el (sha1): Fix typo in docstring.
Ulrich Müller [Mon, 19 Aug 2024 13:49:47 +0000 (15:49 +0200)]
; * lisp/subr.el (sha1): Fix typo in docstring.

15 months ago; * etc/NEWS: Fix wording of last change.
Michael Albinus [Mon, 19 Aug 2024 07:37:55 +0000 (09:37 +0200)]
; * etc/NEWS: Fix wording of last change.

15 months agoUpdate to Org 9.7.10
Kyle Meyer [Mon, 19 Aug 2024 00:54:39 +0000 (20:54 -0400)]
Update to Org 9.7.10

16 months ago; * etc/NEWS: Announce 'shr-fill-text'.
Jim Porter [Sun, 18 Aug 2024 21:33:43 +0000 (14:33 -0700)]
; * etc/NEWS: Announce 'shr-fill-text'.

16 months ago; * lisp/emacs-lisp/compat.el: Fix header style.
Andrea Corallo [Sun, 18 Aug 2024 09:12:08 +0000 (11:12 +0200)]
; * lisp/emacs-lisp/compat.el: Fix header style.

16 months ago* test/infra/gitlab-ci.yml (.tree-sitter-template): Adapt changes.
Michael Albinus [Sun, 18 Aug 2024 09:29:05 +0000 (11:29 +0200)]
* test/infra/gitlab-ci.yml (.tree-sitter-template): Adapt changes.

16 months agoBump use-package version for Emacs 30.1
Stefan Kangas [Sun, 18 Aug 2024 09:18:04 +0000 (11:18 +0200)]
Bump use-package version for Emacs 30.1

* lisp/use-package/use-package.el: Bump version to 2.4.6.

16 months ago* Makefile.in (CHANGELOG_HISTORY_INDEX_MAX): Bump.
Andrea Corallo [Sat, 17 Aug 2024 16:42:43 +0000 (18:42 +0200)]
* Makefile.in (CHANGELOG_HISTORY_INDEX_MAX): Bump.

16 months ago; * admin/make-tarball.txt: Some clarifications.
Eli Zaretskii [Sun, 18 Aug 2024 04:56:57 +0000 (07:56 +0300)]
; * admin/make-tarball.txt: Some clarifications.

16 months agoAvoid rare crashes due to clobbering of input events
Eli Zaretskii [Sat, 17 Aug 2024 18:35:08 +0000 (21:35 +0300)]
Avoid rare crashes due to clobbering of input events

* src/keyboard.c (read_char): Declare C 'volatile', to prevent
clobbering it by setjmp/longjmp.  Do not merge to master.
(Bug#71744)

16 months agoFurther fix of reading and writing profiler data
Stefan Monnier [Sat, 17 Aug 2024 17:35:07 +0000 (13:35 -0400)]
Further fix of reading and writing profiler data

* lisp/profiler.el (profiler-report-make-entry-part): Print
strings as-is.  (Bug#72559)

16 months ago* Makefile.in (PREFERRED_BRANCH): Update to emacs-30.
Andrea Corallo [Sat, 17 Aug 2024 16:25:46 +0000 (18:25 +0200)]
* Makefile.in (PREFERRED_BRANCH): Update to emacs-30.

16 months ago; Eliminate more C++ comments
Po Lu [Sat, 17 Aug 2024 14:03:55 +0000 (22:03 +0800)]
; Eliminate more C++ comments

* lib-src/movemail.c:

* nt/preprep.c (main):

* src/unexw32.c (unexec): Convert C++-style comments to C.

16 months ago; Eliminate C++ comments and typo
Po Lu [Sat, 17 Aug 2024 14:01:03 +0000 (22:01 +0800)]
; Eliminate C++ comments and typo

* lib-src/etags.c (Rust_entries): Eliminate C++ comments and
typo.

16 months agoBackport ed305c4b98cda5c6d479310e4ba350a17d901e75 to emacs-30
Po Lu [Sat, 17 Aug 2024 08:19:06 +0000 (16:19 +0800)]
Backport ed305c4b98cda5c6d479310e4ba350a17d901e75 to emacs-30

* src/xterm.c (x_construct_mouse_click): `||' → `|'.
Typo found by clang 18.1.6 -Wbool-operation.  Do not
merge to master.

16 months agoFix a typo in Eglot manual
Eli Zaretskii [Sat, 17 Aug 2024 10:07:56 +0000 (13:07 +0300)]
Fix a typo in Eglot manual

* doc/misc/eglot.texi (Eglot and Buffers): Fix typo.  Patch by
david edmonds <edmonds.david.a@gmail.com>.  (Bug#72634)

16 months agoFix dumping of Lisp profiles
Stefan Monnier [Wed, 14 Aug 2024 12:48:43 +0000 (08:48 -0400)]
Fix dumping of Lisp profiles

* lisp/profiler.el (profiler-fixup-entry): New function.
(profiler-fixup-backtrace): Use it.  (Bug#72559)

16 months agoFix 'apropos-library' for 'define-symbol-props'
Stefan Monnier [Wed, 14 Aug 2024 12:47:40 +0000 (08:47 -0400)]
Fix 'apropos-library' for 'define-symbol-props'

* lisp/apropos.el (apropos-library): Sanitize data to avoid
signaling errors when 'define-symbol-props' is seen.  (Bug#72616)

16 months agoFix 'forward-comment' in 'toml-ts-mode'
Eli Zaretskii [Sat, 17 Aug 2024 09:29:31 +0000 (12:29 +0300)]
Fix 'forward-comment' in 'toml-ts-mode'

* lisp/textmodes/toml-ts-mode.el (toml-ts-mode--syntax-table): Fix
syntax of newline.  Patch from Jostein Kjønigsen
<jostein@secure.kjonigsen.net>.  (Bug#72489)

16 months agoDocument spell-checking of multiple languages
Eli Zaretskii [Sat, 17 Aug 2024 08:44:35 +0000 (11:44 +0300)]
Document spell-checking of multiple languages

* doc/emacs/fixit.texi (Spelling): Document spell-checking
multi-lingual text with Hunspell.

16 months agoApply --display kluge for PGTK too
Peter Oliver [Sun, 14 Jul 2024 20:50:33 +0000 (21:50 +0100)]
Apply --display kluge for PGTK too

* src/emacs.c (main): The --display option needs the same handling
with the PGTK backend as it does with the X11 backends.  (Bug#72118)

16 months ago; * admin/make-tarball.txt: Minor copyedits.
Eli Zaretskii [Fri, 16 Aug 2024 18:55:37 +0000 (21:55 +0300)]
; * admin/make-tarball.txt: Minor copyedits.

16 months ago; * doc/lispref/strings.texi (Text Comparison): Improve indexing.
Eli Zaretskii [Fri, 16 Aug 2024 11:05:20 +0000 (14:05 +0300)]
; * doc/lispref/strings.texi (Text Comparison): Improve indexing.

16 months ago* lisp/files.el (require-with-check): Improve error messages.
Pip Cet [Thu, 15 Aug 2024 16:28:07 +0000 (16:28 +0000)]
* lisp/files.el (require-with-check): Improve error messages.

16 months ago; * src/data.c (Fsubrp): Improve docstring.
Andrea Corallo [Thu, 15 Aug 2024 08:47:00 +0000 (10:47 +0200)]
; * src/data.c (Fsubrp): Improve docstring.

16 months agoImprove documentation of ERT
Eli Zaretskii [Thu, 15 Aug 2024 08:30:48 +0000 (11:30 +0300)]
Improve documentation of ERT

* doc/misc/ert.texi (Running Tests Interactively)
(Test Selectors):
* lisp/emacs-lisp/ert.el (ert-select-tests)
(ert-run-tests-interactively, ert-run-tests-batch): Improve and
clarify the documentation of the main ERT functions.

16 months agoDisambiguate minor-mode variable in its function docstring
Visuwesh [Wed, 14 Aug 2024 02:37:15 +0000 (08:07 +0530)]
Disambiguate minor-mode variable in its function docstring

* lisp/emacs-lisp/easy-mmode.el (easy-mmode--arg-docstring)
(easy-mmode--mode-docstring): Add "the variable" before the
GETTER if it is a symbol to properly link to minor-mode variable
in the *Help* buffer in the common case.  (bug#72405)

16 months agoFix project-dired keybinding in manual
Arash Esbati [Sun, 11 Aug 2024 19:28:43 +0000 (21:28 +0200)]
Fix project-dired keybinding in manual

* doc/emacs/maintaining.texi (Project File Commands): Fix the
keybinding for `project-dired'.  (Bug#72581)

16 months agoImprove documentation of time-parsing functions
Eli Zaretskii [Wed, 14 Aug 2024 08:35:48 +0000 (11:35 +0300)]
Improve documentation of time-parsing functions

* doc/lispref/os.texi (Time Parsing):
* lisp/calendar/iso8601.el (iso8601-parse):
* lisp/calendar/parse-time.el (parse-time-string): Document that
these functions don't care about the distinction between local
time and UTC.  (Bug#72570)

16 months ago; Backport gitlab-ci.yml from master (don't merge)
Michael Albinus [Wed, 14 Aug 2024 07:47:59 +0000 (09:47 +0200)]
; Backport gitlab-ci.yml from master (don't merge)

* test/infra/gitlab-ci.yml (.job-template): Remove cache:policy.
(.build-template, .test-template): Add job specific cache:policy.
(.tree-sitter-template): Adapt changes.

16 months ago(project-find-regexp): Fix the temporary value of DEFAULT-DIRECTORY
Dmitry Gutov [Tue, 13 Aug 2024 12:14:18 +0000 (15:14 +0300)]
(project-find-regexp): Fix the temporary value of DEFAULT-DIRECTORY

* lisp/progmodes/project.el (project-find-regexp): Make sure the
assigned value of DEFAULT-DIRECTORY ends with a slash.
read-directory-name returns the name without it in certain cases.