1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-05 22:20:24 -08:00
Commit graph

174230 commits

Author SHA1 Message Date
Jim Porter
4af1dc83ae 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.
2024-08-29 21:51:25 -07:00
Philip Kaludercic
a0f740c88d
; * 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
2024-08-29 22:30:38 +02:00
Eli Zaretskii
a943385813 ; * etc/AUTHORS: Update. 2024-08-29 14:43:45 -04:00
Eli Zaretskii
762b85be27 ; Revert "; * admin/authors.el (authors-valid-file-names): Ignore Unicode files."
This reverts commit 6734b60c0c.
Existing files cannot be ignored.
2024-08-29 21:26:54 +03:00
Eli Zaretskii
e24d568b56 ; Revert "Revert "; * admin/authors.el (authors-ignored-files): Add removed files.""
This reverts commit 2d723a280b.
It mistakenly reverted the wrong commit.
2024-08-29 21:26:10 +03:00
Eli Zaretskii
2d723a280b Revert "; * admin/authors.el (authors-ignored-files): Add removed files."
This reverts commit d809d53afc.
Not useful, for the same reason as the previously reverted
commit.
2024-08-29 21:16:12 +03:00
Eli Zaretskii
2a5b129509 Revert "; * admin/authors.el (authors-ignored-files): Ignore Unicode files."
This reverts commit 0db53f14a2.
It doesn't help, since existing files are considered worthy
of mentioning regardless of the other lists.
2024-08-29 21:15:08 +03:00
Eli Zaretskii
0db53f14a2 ; * admin/authors.el (authors-ignored-files): Ignore Unicode files. 2024-08-29 20:59:37 +03:00
Eli Zaretskii
6734b60c0c ; * admin/authors.el (authors-valid-file-names): Ignore Unicode files. 2024-08-29 20:37:29 +03:00
Eli Zaretskii
d809d53afc ; * admin/authors.el (authors-ignored-files): Add removed files. 2024-08-29 19:40:55 +03:00
Kévin Le Gouguec
766f69bab1 ; * etc/NEWS: Announce VC-dir "Tracking" header. (bug#68183) 2024-08-29 17:36:21 +01:00
Eli Zaretskii
37a097d866 ; * admin/authors.el (authors-aliases): Fix regexps. 2024-08-29 19:22:11 +03:00
Eli Zaretskii
0fb50e2631 ; * admin/MAINTAINERS: Spencer Baugh maintains flymake.el. 2024-08-29 15:20:07 +03:00
George Huebner
d05d8c336c 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
2024-08-29 15:11:55 +03:00
Eli Zaretskii
13f69f254c 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)
2024-08-29 12:56:27 +03:00
Eli Zaretskii
427fb319da ; * lisp/simple.el (use-region-beginning, use-region-end): Doc fix. 2024-08-29 12:33:30 +03:00
Stefan Kangas
e6c72aec9d ; Fix typos 2024-08-29 00:17:10 +02:00
Dmitry Gutov
9ffa38d392 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.
2024-08-28 02:20:33 +03:00
Eli Zaretskii
d6880bc24d ; * admin/make-tarball.txt: Document gotcha. 2024-08-27 15:50:14 +03:00
Sean Whitton
afee71273b Discuss commit log messages on feature branches
* admin/notes/git-workflow (Long-lived feature branches): New
section, discussing commit log messages on feature branches.
2024-08-27 12:22:01 +08:00
Sean Whitton
77302ccb6a * admin/authors.el (authors-fixed-entries): Update docstring. 2024-08-27 12:13:59 +08:00
Yuan Fu
3a4839d142
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.
2024-08-26 19:45:33 -07:00
Vincenzo Pupillo
3129315587
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.
2024-08-26 00:48:35 -07:00
Yuan Fu
b8c05d73a1
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.
2024-08-25 18:15:06 -07:00
Stefan Kangas
aa6ed7f67e Fix copyright years by hand (Bug#72809)
These are dates that admin/update-copyright did not update.
2024-08-26 02:50:24 +02:00
Eli Zaretskii
9b299dd79c 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).
2024-08-25 21:43:59 +03:00
Eli Zaretskii
4eaab54896 ; * doc/lispref/display.texi (Low-Level Font): Fix wording (bug#72771). 2024-08-25 20:47:51 +03:00
F. Jason Park
0a50019308 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)
2024-08-25 09:01:02 -07:00
Dmitry Gutov
713069dd7a [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.
2024-08-25 18:23:51 +03:00
Dmitry Gutov
096730510c 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.
2024-08-25 18:05:28 +03:00
Eli Zaretskii
969498c25d 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)
2024-08-25 15:46:05 +03:00
Eli Zaretskii
52829bcee6 ; 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 7319f5e078)
2024-08-25 13:59:22 +03:00
Eli Zaretskii
8c251a4c41 ; Mention in PROBLEMS issues with long popup menus
* etc/PROBLEMS: Problems with very long popup menus on Lucid
builds.  (Bug#72791)
2024-08-25 09:04:21 +03:00
Mattias Engdegård
0a626a64c7 * etc/emacs_lldb.py (Lisp_Object): PVEC_COMPILED -> PVEC_CLOSURE 2024-08-24 14:41:41 +02:00
Eli Zaretskii
4211d85eec Fix rare segfaults due to freed fontsets
* src/xfaces.c (recompute_basic_faces): Force complete
recalculation of all the faces.  (Bug#72692)
2024-08-24 12:07:02 +03:00
Eshel Yaron
44c26140b6
; 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)
2024-08-23 17:18:32 +02:00
Martin Rudalics
25f5372166 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.
2024-08-23 10:27:12 +02:00
João Távora
cfcba7ddc4 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.
2024-08-22 17:28:11 +01:00
Eli Zaretskii
7e9d05e6d9 ; * admin/authors.el (authors-aliases): Escape periods. 2024-08-22 14:09:11 +03:00
Andrea Corallo
391e6f99fc Update 'ldefs-boot.el' (don't merge)
* lisp/ldefs-boot.el: Update.
2024-08-20 22:48:16 +02:00
Andrea Corallo
8ccc165f95 * doc/man/emacsclient.1: Bump date. 2024-08-20 22:46:40 +02:00
Andrea Corallo
633cc24e4b Bump Emacs version to 30.0.90
* nt/README.W32: Update version.
* msdos/sed2v2.inp: Likewise.
* configure.ac: Likewise.
* README: Likewise.
2024-08-20 22:18:08 +02:00
Andrea Corallo
e18db9c6d2 Update Changelogs
* ChangeLog.4: Re-generate.
* ChangeLog.3: Fix some type and style.
2024-08-20 22:17:34 +02:00
Andrea Corallo
f9d229e925 Update AUTHORS
* etc/AUTHORS: Re-generate.
* admin/authors.el (authors-fixed-entries): Add entry.
2024-08-20 20:26:36 +02:00
Andrea Corallo
a0b65be8eb * admin/authors.el (authors-aliases, authors-ignored-files): Update. 2024-08-20 20:26:36 +02:00
Andrea Corallo
58088b36e8 * admin/authors.el: Pick-up version from emacs-29. 2024-08-20 20:26:36 +02:00
Stefan Kangas
9d7151c0ff 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.
2024-08-20 20:12:43 +02:00
Michael Albinus
3f019167b8 Suppress shallow cloning on emba
* test/infra/gitlab-ci.yml (variables): Set GIT_DEPTH to 0 in
order to avoid shallow cloning.
2024-08-20 19:23:48 +02:00
Po Lu
3419e7ea52 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.
2024-08-20 21:56:41 +08:00
Stefan Monnier
45ae4de0e7 * lisp/help-fns.el (help-definition-prefixes): Don't delete the hashtable
Fixes bug#72511.
2024-08-20 08:09:54 -04:00