Eli Zaretskii
091398b045
; * src/treesit.c: Fix wording and typos in commentary.
2026-08-24 14:18:20 +03:00
Yuan Fu
83ef59ef5e
; Update tree-sitter docstrings
...
* src/treesit.c: (Ftreesit_parser_create):
(Ftreesit_parser_list): Remove mention of indirect buffer
special case. (Bug#81637)
2026-08-24 14:11:57 +03:00
Sean Whitton
cd83b6e815
Bump Emacs version to 31.1.50
...
* README:
* configure.ac:
* exec/configure.ac:
* java/AndroidManifest.xml.in (Version-code):
* nt/README.W32:
* msdos/sed2v2.inp: Bump Emacs version to 31.1.50.
* etc/NEWS: Add headers for Emacs 31.2.
2026-08-24 11:46:20 +01:00
Sean Whitton
a360712c9d
; Update exported ChangeLog files and etc/AUTHORS
...
* ChangeLog.5:
* etc/AUTHORS: Update.
2026-08-24 10:35:47 +01:00
Sean Whitton
76846eede3
Delete test that hangs
...
* test/lisp/tab-bar-tests.el
(tab-bar-tests-quit-restore-window): Delete test that hangs, for
the Emacs 31.1 release. Do not merge to master.
2026-08-24 10:05:22 +01:00
Ulrich Müller
249e293f7a
em-script-tests: don't load the site file
...
* test/lisp/eshell/em-script-tests.el (em-script-test/batch-file)
(em-script-test/batch-file/shebang): Invoke Emacs with -Q to
suppress site file loading. (Bug#81679)
2026-08-23 21:00:56 +02:00
Ulrich Müller
442674babb
emacsclient-tests: don't load the site file
...
* test/lib-src/emacsclient-tests.el
(emacsclient-test-alternate-editor-allows-arguments)
(emacsclient-test-alternate-editor-allows-quotes): Invoke the
alternate editor with -Q to suppress site file loading. (Bug#81676)
2026-08-23 21:00:56 +02:00
Stephen Berman
b4612c6f29
Fix navigating vertical completions with annotations (bug#81645)
...
* lisp/simple.el (last-completion): When finding the last column
in the completions list, account for annotations on the candidate.
2026-08-23 15:59:21 +02:00
Philip Kaludercic
f60d4243e6
Fix 'describe-package' for the Emacs pseudo package
...
* lisp/emacs-lisp/package.el (describe-package-1): Manually
construct a package-desc object if the package being described
in 'emacs', otherwise fall back to 'package-get-descriptor'.
This is necessary since 'package-get-descriptor' doesn't handle
pseudo packages. (Bug#81671)
2026-08-23 13:16:54 +02:00
Eli Zaretskii
d3229f9f37
Avoid errors in text-only client frames of PGTK build
...
* lisp/net/browse-url.el (browse-url): Don't call
pgtk-backend-display-class on TTY frame, as it will signal an
error. (Bug#81666)
2026-08-23 14:05:33 +03:00
Eli Zaretskii
a52c1309cd
; Fix last change
...
* doc/misc/url.texi (URI Parsing, URI Encoding, Retrieving URLs)
(Disk Caching, Gateways in general): Fix wording, markup, and
indexing. (Bug#81505)
2026-08-22 10:49:47 +03:00
Tim Landscheidt
9fbb00331e
; Improve url info documentation
...
* doc/misc/url.texi: Synchronize function signatures with code. Fix
formatting for variable. Remove superfluous space. Link directly to
referenced CL manual node. (Bug#81505)
2026-08-22 10:30:52 +03:00
Michael Albinus
bd5cbf47da
Backport: Restrict Tramp user name
...
* doc/misc/tramp.texi (File name syntax): The user name can also
be an environment variable.
* lisp/net/tramp.el (tramp-build-prefix-regexp):
* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name)
(tramp-gvfs-get-file-attributes, tramp-gvfs-file-name)
(tramp-gvfs-url-host, tramp-gvfs-handler-mounted-unmounted)
(tramp-gvfs-connection-mounted-p, tramp-gvfs-mount-spec-entry)
(tramp-gvfs-mount-spec):
* lisp/net/tramp-rclone.el (tramp-rclone-parse-device-names)
(tramp-rclone-remote-file-name):
* lisp/net/tramp-smb.el (tramp-smb-get-share, tramp-smb-get-localname):
Use string-anchored regexp, not line-anchored.
* lisp/net/tramp.el (tramp-prefix-regexp): Adapt docstring.
(tramp-user-regexp): Exclude shell meta characters.
(tramp-dissect-file-name, tramp-file-name-handler):
Expand environment variable.
(tramp-convert-file-attributes):
* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
Quote symbolic link target with remote file name syntax.
* test/lisp/net/tramp-tests.el (tramp-test01-file-name-syntax)
(tramp-test01-file-name-syntax-simplified)
(tramp-test01-file-name-syntax-separate)
(tramp-test02-file-name-dissect)
(tramp-test02-file-name-dissect-simplified)
(tramp-test02-file-name-dissect-separate)
(tramp-test21-file-links): Extend test.
(cherry picked from commit f3e7104d05 )
2026-08-21 17:42:51 +02:00
Spencer Baugh
61700f9dd6
Fix TAB to wrap with completion-auto-select t
...
* lisp/minibuffer.el (completions--clear-selection): New
function.
(minibuffer-hide-completions): Call it.
* lisp/simple.el (next-column-completion): Call it (bug#81635).
* test/lisp/minibuffer-tests.el
(completion-auto-select-test-bug81635): New test.
2026-08-21 16:24:59 +01:00
Juri Linkov
526912e158
* lisp/progmodes/c-ts-mode.el (c-ts-mode--thing-settings): Remove 'comment'.
...
Comment out the 'comment' thing since 'treesit-forward-comment'
is not ready to handle block comments (bug#80837).
Do not merge to master.
2026-08-21 18:04:49 +03:00
Yuan Fu
062dcd2aea
Fix prev-adaptive-prefix anchor (bug#61314)
...
* lisp/treesit.el (treesit-simple-indent-presets):
Replace (match-beginning 1) with (skip-syntax-forward "-"), both
returns the position of the beginning of the prefix, but
skip-syntax-forward always works regardless whether
adaptive-fill-regexp has a match group for the prefix.
2026-08-20 18:25:39 +03:00
Eli Zaretskii
32025c709e
; * etc/NEWS: Fix typos and wording.
2026-08-19 17:30:35 +03:00
Eli Zaretskii
0914969e0e
; Update "Antinews" in ELisp manual
...
* doc/lispref/elisp.texi (Top):
* doc/lispref/anti.texi (Antinews): Update for Emacs 31.
2026-08-19 17:28:46 +03:00
Eli Zaretskii
1988e330c1
; Update "Antinews" in the Emacs user manual
...
* doc/emacs/emacs.texi (Top):
* doc/emacs/anti.texi (Antinews): Update for Emacs 31.
2026-08-18 17:13:36 +03:00
Eli Zaretskii
1744376add
; * admin/authors.el (authors-aliases): Add Yifei Yao.
2026-08-18 14:35:00 +03:00
Juri Linkov
426dca6849
; * test/lisp/tab-bar-tests.el (tab-bar-tests-quit-restore-window): Fix it.
2026-08-17 21:27:17 +03:00
Sean Whitton
f7af6aba5d
; Update ldefs-boot.el.
...
Do not merge to master.
2026-08-17 16:53:08 +01:00
Sean Whitton
a15b05c009
; Update ChangeLog.5 and etc/HISTORY for the 31.1 release.
2026-08-17 15:14:38 +01:00
Sean Whitton
718db913e3
; Bump Emacs version to 31.1
...
* README:
* configure.ac:
* exec/configure.ac:
* java/AndroidManifest.xml.in (Version-code):
* msdos/sed2v2.inp:
* nt/README.W32: Bump Emacs version to 31.1.
2026-08-17 15:01:43 +01:00
Sean Whitton
4458f68df1
; Update exported ChangeLog files and etc/AUTHORS
...
* ChangeLog.5:
* etc/AUTHORS: Update.
2026-08-17 14:55:26 +01:00
Sean Whitton
0968d7e5e2
; Update acknowledgements for Emacs 31.
2026-08-17 13:29:41 +01:00
Sean Whitton
d30a86ba2c
; Fill in missing :version and :package-version metadata.
2026-08-17 12:45:15 +01:00
Sean Whitton
6dedbb722d
; * admin/release-process: Combine two 'make' commands.
2026-08-17 12:44:45 +01:00
Sean Whitton
e1f465d993
* doc/misc/efaq.texi (New in Emacs 31): New node.
2026-08-17 12:21:40 +01:00
Sean Whitton
eca43790ac
; * etc/NEWS: Remove temporary +++/--- lines.
2026-08-17 11:39:37 +01:00
Sean Whitton
8b38548dd5
; Document native-compile-directory.
2026-08-17 11:38:08 +01:00
Sean Whitton
8e33b6a059
; Document C-x <UP> in shell-mode.
2026-08-17 11:31:34 +01:00
Sean Whitton
61c7285a95
; Document project-remember-project.
2026-08-17 11:23:30 +01:00
Philip Kaludercic
ced4d70ee0
Add "VTE" to list of auto-enabled xterm-mouse-mode terminals
...
* lisp/term/xterm.el (xterm--auto-xt-mouse-allowed-names): Add
entry to match VTE, GNOME's terminal emulation library.
(Bug#74833)
2026-08-16 21:13:26 +02:00
Eli Zaretskii
91a630245f
; * lisp/speedbar.el (speedbar-window--close): Doc fix.
2026-08-16 10:57:42 +03:00
Vincenzo Pupillo
0792252594
Handle 'speedbar-buffer' kill when in 'speedbar-window-mode'.
...
This handles the DFRAME TIMER ERROR reported by Daniel Mendler
(bug#81561). In addition, it eliminates other causes of stale
idle timers.
* lisp/speedbar.el (speedbar-window-mode): Add a 'kill-buffer'
handler. Removed an unnecessary 'speedbar-mode' invocation.
(speedbar-window--close): New optional parameter used by the
'kill-buffer' handler for 'speedbar-buffer'.
(speedbar-set-timer): Make sure that 'speedbar-set-timer' is
called in 'speedbar-buffer', this prevents the creation of stale
idle timers.
(speedbar--speedbar-live-p): Make sure that 'speedbar-buffer' is
still live.
2026-08-16 10:54:06 +03:00
Eli Zaretskii
951ee70ee3
; * lisp/simple.el (char-uppercase-p): Fix a typo.
...
Reported by Lele Gaifax <lele@metapensiero.it>.
2026-08-16 10:28:18 +03:00
Eli Zaretskii
ba625035e7
; * src/xdisp.c (move_it_vertically_backward): Fix a thinko (bug#81626).
2026-08-16 08:57:39 +03:00
Eli Zaretskii
6a6a578c38
; * etc/PROBLEMS: Problems with resizing frames on Wayland (bug#81580).
2026-08-15 17:03:40 +03:00
Eli Zaretskii
165152e7cd
Fix an infloop during cursor movement
...
* src/xdisp.c (move_it_vertically_backward): Prevent infloop due
to overlays with embedded newlines at BOB. (Bug#81567)
2026-08-15 16:46:05 +03:00
Eli Zaretskii
e435a8e869
Merge branch 'emacs-31' of git.savannah.gnu.org:/srv/git/emacs into emacs-31
2026-08-15 08:22:12 +03:00
Juri Linkov
57e9e94be9
; etc/NEWS: Minor reordering.
...
Keep entries for 'eager-display' and 'eager-update' closer.
Move 'treesit-simple-indent-modify-rules' closer to
'treesit-simple-indent-add-rules'. Move 'hs-cycle-filter'
closer to 'hs-cycle'. Move 'pulse-face-duration' to Pulse.
2026-08-14 20:45:28 +03:00
Eli Zaretskii
9448f8e3dd
; Improve documentation of 'char-uppercase-p'
...
* doc/lispref/display.texi (Size of Displayed Text):
* lisp/simple.el (char-uppercase-p): Clarify "uppercase
character".
2026-08-14 14:27:58 +03:00
Protesilaos
c5a9ed1499
vc-dir: Set major mode before popping to the buffer
...
* lisp/vc/vc-dir.el (vc-dir): Set major mode before popping to
the buffer (bug#81613).
2026-08-14 12:16:59 +01:00
Sean Whitton
aae4cb25da
hs-hide-block-behavior: Fix some terminology
...
* lisp/progmodes/hideshow.el (hs-hide-block-behavior): Use
'after-point' instead of 'after-cursor'.
* doc/emacs/programs.texi (Hideshow):
* etc/NEWS: Update documentation.
2026-08-14 12:08:38 +01:00
Alan Third
2b47d71922
Backport: Fix freeze in NS event handling (bug#81510)
...
* src/nsterm.m (EV_TRAILER): Don't queue event if it's of kind
'NO_EVENT'.
2026-08-14 12:05:16 +01:00
Sean Whitton
f6e3b4232f
; Fix docs for browse-url-transform-alist.
...
See <https://lists.gnu.org/archive/html/emacs-devel/2026-08/msg00303.html >.
2026-08-14 10:40:53 +01:00
Stéphane Marks
71df1ea6d0
Fix Fns_block_system_sleep to respect activity_id lifetime (bug#81577)
...
* src/nsfns.m (Fns_block_system_sleep): Move unblock_input after
setting activity_id.
2026-08-14 08:56:10 +01:00
F. Jason Park
769bd89281
Remove assertion in erc-speedbar--dframe-controlled
...
* lisp/erc/erc-speedbar.el (erc-speedbar--ensure): Remove assertion for
robustness even though it should still pass.
(erc-speedbar--get-timers): Remove unused function.
(erc-speedbar--dframe-controlled): Fix failing assertion related to
changes from bug#81561, namely the negating of the condition in
`dframe-set-timer' that checks whether `dframe-client-functions' is
nonempty.
* test/lisp/erc/erc-scenarios-status-sidebar.el
(erc-scenarios-status-sidebar--nickbar): Inline body of deleted function
`erc-speedbar--get-timers'.
2026-08-12 12:10:49 -07:00
Eli Zaretskii
2dca4a8854
; Fix recently-installed documentation changes
...
* doc/lispref/windows.texi (Deleting Windows):
* doc/lispref/frames.texi (Frame Size, Child Frame Properties):
Fix typo and cross-references.
2026-08-12 13:49:14 +03:00