1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00
Commit graph

174968 commits

Author SHA1 Message Date
Eli Zaretskii
5bdacbe460 Improve documentation of 'warning-display-at-bottom'
* lisp/emacs-lisp/warnings.el (warning-display-at-bottom):
* doc/lispref/display.texi (Warning Options):
* doc/emacs/windows.texi (Temporary Displays):
* etc/NEWS: Improve documentation of 'warning-display-at-bottom'.
See https://lists.gnu.org/archive/html/emacs-devel/2025-07/msg00024.html
for more details.
2025-07-04 15:02:29 +03:00
Yuan Fu
30dae2ad23
Handle the case when ts_node_type returns NULL (bug#78938)
* src/treesit.c (Ftreesit_node_type): Handle NULL.
2025-07-03 23:40:59 -07:00
Eli Zaretskii
985ad1da76 ; * lisp/emacs-lisp/bytecomp.el (compilation-safety): Doc fix (bug#78394). 2025-07-01 14:17:42 +03:00
Eli Zaretskii
de18407f51 ; * doc/lispref/functions.texi (Mapping Functions): Fix wording (bug#78930). 2025-06-30 22:06:15 +03:00
Jim Porter
db6cbee742 Populate the ':title' in EWW when defaulting to readable mode
Do not merge to master.

* lisp/net/eww.el (eww-display-document): Always render the full
document first to populate ':title' (bug#77299).
2025-06-29 10:08:21 -07:00
Eli Zaretskii
e51ff3ee66 ; * doc/lispref/threads.texi (Condition Variables): Fix wording. 2025-06-28 22:17:06 +03:00
Liam Hupfer
6299eb0fe5 bug#78901: [PATCH] js-ts-mode: Fix auto-mode-alist regexp
Align the js-ts-mode entry with the javascript-mode entries in the
default auto-mode-alist value in lisp/files.el. Otherwise, js-ts-mode is
not associated with .js files.

* lisp/progmodes/js.el (js-ts-mode): Fix auto-mode-alist regexp.

Fixes: 2023-01-20 6b2f85caa6 "Make tree-sitter based modes optional"
2025-06-28 13:11:01 +03:00
Eli Zaretskii
982938363a Merge branch 'emacs-30' of git.sv.gnu.org:/srv/git/emacs into emacs-30 2025-06-25 12:19:36 -04:00
Eli Zaretskii
e68ad70af6 Fix 'insert-directory' in Turkish language-environment
* lisp/files.el (insert-directory-clean, insert-directory): Use
case-sensitive search for "//DIRED//" and similar strings.
(Bug#78894)
2025-06-25 12:17:59 -04:00
Michael Albinus
f805f51373 Fix job control in remote shell
* lisp/net/tramp-sh.el (tramp-methods) <rsync>:
Adapt `tramp-direct-async' argument.  (Bug#71050, Bug#71259)
2025-06-25 09:32:20 +02:00
Eli Zaretskii
039ad15373 ; * doc/emacs/package.texi (Package Statuses): Clarify "new". 2025-06-22 11:13:55 +03:00
Eli Zaretskii
1406e583fe Workaround for "M-x man" on macOS 15 and later
* lisp/man.el (Man-init-defvars): Workaround for macOS Sed.  Do
not merge to master.  (Bug#77944)
2025-06-21 12:33:12 +03:00
Eli Zaretskii
a2bfce5d2a ; Fix customization and doc strings in pp.el
* lisp/emacs-lisp/pp.el (pp-default-function): Fix :tag's.
(pp-29, pp-28): Doc fixes.  (Bug#78801)
2025-06-16 10:00:41 +03:00
Sean Whitton
df3fb94f09 Insert missing step to make use of directory tracking OSC codes
* doc/emacs/misc.texi (Interactive Shell): Say to add
comint-osc-process-output to comint-output-filter-function.
2025-06-11 15:23:42 +01:00
Robert Pluim
1bed294958 * lisp/keymap.el (keymap-set): Refer to 'key-description'. (Bug#78714) 2025-06-11 15:34:10 +02:00
Yuan Fu
941158fc13
Support new tree-sitter grammar filename format (bug#78754)
Previously Emacs only looks for filenames like
libtree-sitter-json.so.0.0.  Now Emacs also look for filenames
like libtree-sitter-json.so.15.0.

* src/treesit.c:
(treesit_load_language_push_for_each_suffix): Add versioned
candidate to candidate list too.
2025-06-10 23:46:53 -07:00
Pip Cet
888f846d37 Fix crash when evaluating "(signal nil 5)" (bug#78738)
The docstring already warns against calling signal with a nil
error symbol, which is for internal use only, but we can avoid crashing
in this case.

* src/eval.c (Fsignal): Produce a "peculiar error" for more arguments
involving non-lists.
2025-06-10 12:00:30 +00:00
Eli Zaretskii
51b9e92ab8 Merge branch 'emacs-30' of git.savannah.gnu.org:/srv/git/emacs into emacs-30 2025-06-09 17:02:03 +03:00
Eli Zaretskii
c0a913ea4f ; * doc/lispref/modes.texi (Font Lock Basics): Remove old info (bug#78720). 2025-06-08 18:43:20 +03:00
Michael Albinus
37de076017 Adapt emba integration (don't merge)
* test/infra/Dockerfile.emba (emacs-inotify): Don't install clangd.

* test/infra/gitlab-ci.yml (.job-template): Make actions in
after_script more robust.
2025-06-08 14:47:26 +02:00
Robert Pluim
e4ba279b01 ; * doc/emacs/misc.texi (Network Security): Fix typo. 2025-06-06 17:19:45 +02:00
Eli Zaretskii
8fdb2d19b4 ; * lisp/treesit.el (treesit-beginning-of-defun): Doc fix (bug#78703). 2025-06-06 10:00:20 +03:00
Xiyue Deng
41f8dc18df Make xoauth2 auth fail when a smtp server replies 334 (Bug#78366)
* lisp/mail/smtpmail.el (smtpmail-try-auth-method): Throw error 535
when receiving a "334 server challenge" reply.

(cherry picked from commit 53371c9594)
2025-06-03 14:44:59 +02:00
Eli Zaretskii
cd57a05542 ; * etc/PROBLEMS: Improve the item about 'C-S-u' in PGTK build. 2025-06-02 18:34:21 +03:00
Eli Zaretskii
9dc6c21b41 ; * lisp/subr.el (setq-local): Doc fix (bug#78644). 2025-05-31 11:12:58 +03:00
Eli Zaretskii
1bb88a86cb Revert "; * lisp/subr.el (setq-local): Doc fix (bug#78644)."
This reverts commit cb9556d669.
Some of its parts were not supposed to be installed.
2025-05-31 11:08:45 +03:00
Eli Zaretskii
cb9556d669 ; * lisp/subr.el (setq-local): Doc fix (bug#78644). 2025-05-31 10:05:06 +03:00
Eli Zaretskii
8881dca81c ; * doc/lispref/searching.texi (Char Classes): Add speedup advice. 2025-05-29 19:02:13 +03:00
Stephen Berman
4507b6a9c7 Fix bug in 'todo-jump-to-category' (bug#78608)
* lisp/calendar/todo-mode.el (todo-jump-to-category): Eliminate
comparison of the number of Todo categories before and after
specifying the category to jump to and replace it by a check of
whether there are any items in the category, since an existing
category should always have at least one item (perhaps done or
archived).
2025-05-28 17:17:23 +02:00
Michael Albinus
3e57c35323 Fix gitlab-ci.yml (don't merge to master)
* test/infra/gitlab-ci.yml (.job-template): Fix config.log name.
(test-filenotify-gio, test-eglot): Fix formatting.
2025-05-27 09:10:51 +02:00
Konstantin Kharlamov
1d2ae31b8b
typescript-ts-mode: Improve function body indentation (bug#78121)
Older code was calculating body indentation depending on function
parameters alignment.  This is incorrect, because if parameters are
misaligned, so will the function body.  Instead, use offset of the
previous standalone parent.

* lisp/progmodes/typescript-ts-mode.el:
(typescript-ts-mode--indent-rules): Stop depending on function
parameters indentation for calculating body content and the closing
`}'.
* test/lisp/progmodes/typescript-ts-mode-resources/indent.erts:
(Function body with params misindented (bug#78121)): Add new test.
2025-05-25 20:50:41 -07:00
Eli Zaretskii
421ecbcf6b ; * CONTRIBUTE: Explain the line-width preferences. 2025-05-25 12:08:02 +03:00
Eli Zaretskii
df9636f892 ; * doc/misc/use-package.texi (Hooks): Fix typo (bug#77609). 2025-05-24 12:59:19 +03:00
Eli Zaretskii
36afdd2f6f Fix documentation of use-package's ':hook' keyword
* doc/misc/use-package.texi (Hooks): Document how to add several
functions to the same hook (bug#77609).
2025-05-24 12:56:30 +03:00
Michael Albinus
d0c90bc9bf * test/infra/gitlab-ci.yml (.job-template): Make it more robust. 2025-05-22 13:18:11 +02:00
Eli Zaretskii
b8f24cbdbb ; * lisp/emacs-lisp/find-func.el (find-function): Doc fix. 2025-05-22 09:43:45 +03:00
Stephen Berman
e0c6f3e765 Fix todo-mode item insertion bug (bug#78506)
* lisp/calendar/todo-mode.el (todo-insert-item--next-param): Unset
transient keymap on completing default or copy item insertion
command, to ensure that the next Todo mode key is recognized.
2025-05-20 15:29:58 +02:00
Jostein Kjønigsen
328b316764 Add support for Pyrefly LSP for Python
* lisp/progmodes/eglot.el (eglot-server-programs): Add config
for Pyrefly.  (Bug#78492)
2025-05-19 14:50:20 +03:00
Michael Albinus
c526646d70 ; Sync with Tramp 2.7.3.30.2 (Do not merge to master)
* doc/misc/trampver.texi:
* lisp/net/trampver.el (tramp-version): Adapt Tramp versions.
2025-05-18 21:20:41 +02:00
Michael Albinus
661fa578d5 Adapt Tramp version in customize-package-emacs-version-alist
* lisp/net/trampver.el (customize-package-emacs-version-alist):
Add Tramp version integrated in Emacs 30.1.
2025-05-18 21:12:41 +02:00
Sean Whitton
0045a56d55 ; * ChangeLog.5: Delete entry for minor change. 2025-05-18 20:00:07 +01:00
Eli Zaretskii
1136aed6dc ; Update ChangeLog and AUTHORS for Emacs 30.2
* etc/AUTHORS:
^ ChangeLog.5: Update.
2025-05-18 05:25:35 -04:00
Eli Zaretskii
dfcde786ad ; Update ldefs-boot.el. Do not merge to master. 2025-05-18 05:24:11 -04:00
Eli Zaretskii
4c11021260 ; Bump Emacs version to 30.1.90
* README:
* configure.ac:
* exec/configure.ac:
* java/AndroidManifest.xml.in (Version-code):
* nt/README.W32:
* msdos/sed2v2.inp: Bump Emacs version to 30.1.90.
2025-05-18 05:08:31 -04:00
Eli Zaretskii
299d3a4401 Fix saving abbrevs by 'abbrev-edit-save-buffer'
* lisp/abbrev.el (abbrev-edit-save-buffer): Reset
'abbrevs-changed'.  Suggested by Rick <rbielaws@gmail.com>.
(Bug#78435)
2025-05-17 13:00:13 +03:00
Eli Zaretskii
399d05332e ; Remove confusing text from ELisp manual
* doc/lispref/variables.texi (Defining Variables): Remove outdated
confusing warning.  For the details, see
https://lists.gnu.org/archive/html/emacs-devel/2025-05/msg00332.html.
2025-05-17 12:35:29 +03:00
Eli Zaretskii
feecb1fbc6 ; * doc/emacs/cmdargs.texi (General Variables): More accurate wording. 2025-05-16 15:39:53 +03:00
Eli Zaretskii
18e1aabbea ; Improve documentation of the -L command-line option
* doc/emacs/cmdargs.texi (Action Arguments): Mention that '-L' is
in effect only after the init files are loaded.
2025-05-16 15:02:58 +03:00
Konstantin Kharlamov
c80fbe3f23
typescript-ts-mode: align ternary-chain branches (bug#78187)
* lisp/progmodes/typescript-ts-mode.el:
(typescript-ts-mode--indent-rules): Make sure each new ternary
branch is aligned with the previous one.
* test/lisp/progmodes/typescript-ts-mode-resources/indent.erts:
(Chained ternary expressions): New test.
2025-05-15 20:09:26 -07:00
Michael Albinus
16bfbc6fe3 ; Tramp test fixes
* test/lisp/net/tramp-tests.el
(tramp-test26-interactive-file-name-completion): Simplify.
(tramp--test-putty-p): Fix docstring.
(tramp--test-scp-p): New defun.
(tramp-test42-utf8): Use it.
2025-05-15 15:15:22 +02:00