emacs.git
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.

16 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.

16 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.

16 months agoTag test in typescript-ts-mode-tests.el as unstable
Michael Albinus [Tue, 13 Aug 2024 07:19:00 +0000 (09:19 +0200)]
Tag test in typescript-ts-mode-tests.el as unstable

* test/lisp/progmodes/typescript-ts-mode-tests.el
(typescript-ts-mode-test-indentation): Tag it as :unstable on emba.

16 months ago; * lisp/files.el (require-with-check): Fix last change.
Eli Zaretskii [Tue, 13 Aug 2024 02:27:08 +0000 (05:27 +0300)]
; * lisp/files.el (require-with-check): Fix last change.

16 months ago; * lisp/files.el (require-with-check): Fix doc string and error text.
Eli Zaretskii [Mon, 12 Aug 2024 18:38:46 +0000 (21:38 +0300)]
; * lisp/files.el (require-with-check): Fix doc string and error text.

16 months agomacOS: Wrong frame rectangle after wake (bug#71912)
Gerd Möllmann [Sun, 11 Aug 2024 11:22:45 +0000 (13:22 +0200)]
macOS: Wrong frame rectangle after wake (bug#71912)

* src/nsterm.m ([EmacsView windowDidBecomeKey]):
Call adjustEmacsFrameRect.

16 months ago; Grammar fixes
Po Lu [Mon, 12 Aug 2024 00:10:36 +0000 (08:10 +0800)]
; Grammar fixes

* doc/misc/erc.texi (Connecting):

* lisp/erc/erc.el (erc-compute-server, erc-compute-nick)
(erc-compute-full-name, erc-compute-port): Replace "a number of
increasingly more" with an alternative more grammatical.

16 months agoFix format 2 cmap handling in sfnt.c
Pip Cet [Sun, 11 Aug 2024 10:07:12 +0000 (10:07 +0000)]
Fix format 2 cmap handling in sfnt.c

This code is untested as no font with a format 2 cmap could be found.

* src/sfnt.c (sfnt_lookup_glyph_2): Fix typos.  Assume single-byte
encodings use character codes 0, 1, ..., 255 rather than 0, 256, ...,
65280.

16 months agoFix coordinate transformations in sfnt.c
Pip Cet [Sat, 10 Aug 2024 17:01:44 +0000 (17:01 +0000)]
Fix coordinate transformations in sfnt.c

Backport.

* src/sfnt.c (sfnt_transform_coordinates):
(sfnt_transform_f26dot6): Fix calculation of transformed coordinates in
the very rare case of arbitrary transformation matrices.

16 months ago* lisp/epg.el (epg--start): Don't convert EOL on encoding (bug#72542).
Kazuhiro Ito [Fri, 9 Aug 2024 12:28:41 +0000 (21:28 +0900)]
* lisp/epg.el (epg--start): Don't convert EOL on encoding (bug#72542).

16 months agoAdd PROBLEMS entry for bug#72517
Thomas Fitzsimmons [Fri, 9 Aug 2024 02:58:48 +0000 (22:58 -0400)]
Add PROBLEMS entry for bug#72517

* etc/PROBLEMS (X runtime problems): Document ssh -X session
hang-on-exit after deletion of remote emacsclient -c frame.
(bug#72517)

(cherry picked from commit 9f03300c5c626bf6f8f839be4943cc20db89c24d)

16 months ago; Improve documentation of 'add-to-list'
Eli Zaretskii [Fri, 9 Aug 2024 05:45:30 +0000 (08:45 +0300)]
; Improve documentation of 'add-to-list'

* doc/lispref/lists.texi (List Variables):
* lisp/subr.el (add-to-list): Add/clarify caveats of using
'add-to-list'.

16 months agoNS: Fix scroll-bar setting code (bug#72331)
Gerd Möllmann [Thu, 8 Aug 2024 06:19:56 +0000 (08:19 +0200)]
NS: Fix scroll-bar setting code (bug#72331)

* src/nsterm.m (ns_set_vertical_scroll_bar): Use
WINDOW_SCROLL_AREA_WIDTH instead of NS_SCROLL_BAR_WIDTH.
(ns_set_horizontal_scroll_bar): Use WINDOW_SCROLL_AREA_HEIGHT
instead of NS_SCROLL_BAR_HEIGHT. Clear area differently if vertical
scroll bars are present.
* src/nsterm.h (NS_SCROLL_BAR_WIDTH, NS_SCROLL_BAR_HEIGHT): Remove.

16 months agoRegister for more Intents actions on Android
Po Lu [Fri, 9 Aug 2024 02:11:47 +0000 (10:11 +0800)]
Register for more Intents actions on Android

* java/AndroidManifest.xml.in <EmacsOpenActivity>: Register
for SEND Intents with mailto URIs.

* java/org/gnu/emacs/EmacsOpenActivity.java (onCreate): Use
Intent constants rather than string literals.

16 months ago* lisp/help-macro.el: Add 'help-for-help-use-variable-pitch' option.
Paul W. Rankin [Thu, 8 Aug 2024 02:16:07 +0000 (12:16 +1000)]
* lisp/help-macro.el: Add 'help-for-help-use-variable-pitch' option.

This makes 'variable-pitch-mode' optional, by default ON (to
preserve previous behavior), in Help buffers.  (Bug#72521)

16 months ago; * doc/lispref/strings.texi (String Conversion): Fix last change.
Eli Zaretskii [Thu, 8 Aug 2024 08:41:52 +0000 (11:41 +0300)]
; * doc/lispref/strings.texi (String Conversion): Fix last change.

16 months agoRemove manual entry for string-to-int
Ulrich Müller [Thu, 8 Aug 2024 05:47:50 +0000 (07:47 +0200)]
Remove manual entry for string-to-int

* doc/lispref/strings.texi (String Conversion): Remove mention of
'string-to-int' which was dropped in Emacs 26.  (Bug#72520)

16 months agoSupport minibuffer-visible-completions in completing-read-multiple
Spencer Baugh [Wed, 7 Aug 2024 15:18:02 +0000 (11:18 -0400)]
Support minibuffer-visible-completions in completing-read-multiple

All that's required is to add minibuffer-visible-completions-map on
top of the completing-read-multiple map; this is the same thing that
minibuffer-visible-completions does in completing-read-default.

* lisp/emacs-lisp/crm.el (completing-read-multiple): Add
minibuffer-visible-completions-map (bug#69189)

16 months ago* lisp/imenu.el (imenu-flatten): Fix doc about annotation/group limitations.
Juri Linkov [Wed, 7 Aug 2024 16:44:43 +0000 (19:44 +0300)]
* lisp/imenu.el (imenu-flatten): Fix doc about annotation/group limitations.

16 months agoFix cmake-ts-mode number fontification (Bug#72228)
Randy Taylor [Wed, 7 Aug 2024 00:10:52 +0000 (20:10 -0400)]
Fix cmake-ts-mode number fontification (Bug#72228)

* lisp/progmodes/cmake-ts-mode.el (cmake-ts-mode--constants):
Remove "1" and "0".
(cmake-ts-mode--font-lock-settings): Match negative numbers.

16 months ago; Minor fix in c-ts-common--fill-block-comment
Yuan Fu [Wed, 7 Aug 2024 04:58:04 +0000 (21:58 -0700)]
; Minor fix in c-ts-common--fill-block-comment

* lisp/progmodes/c-ts-common.el:
(c-ts-common--fill-block-comment): Checking for end-mask done is
equivalent to checking end-marker, so the original code doesn't have a
bug.

16 months agoPrevent accesses to /content files without a GUI connection
Po Lu [Wed, 7 Aug 2024 01:17:57 +0000 (09:17 +0800)]
Prevent accesses to /content files without a GUI connection

* src/androidvfs.c (android_content_name): Hide all
subdirectories when `android_init_gui' is not set.