Commit graph

13682 commits

Author SHA1 Message Date
Eli Zaretskii ca0a913a73 ; * doc/lispref/variables.texi (Selecting Lisp Dialect): Improve indexing. 2026-08-28 10:06:48 +03:00
Michael Albinus 57ad5ab8f7 Sync with Tramp 2.8.3-pre (don't merge)
* doc/misc/tramp.texi (Auto-save File Lock and Backup): Adapt example.

* doc/misc/trampver.texi:
* lisp/net/trampver.el: Change version to "2.8.3-pre".

* lisp/net/tramp-cmds.el (tramp-file-name-with-sudo): Expand the
result for consistency.  (Bug#81622)

* lisp/net/tramp.el (with-tramp-progress-reporter):
Let-bind `inhibit-message'.
(tramp-file-name-for-operation): Fix the case, that the first
argument is a process name.
(tramp-handle-find-backup-file-name): Use connection-local value
of `make-backup-files'.

* test/lisp/net/tramp-tests.el (tramp-test38-find-backup-file-name):
Extend test.
2026-08-25 10:22:03 +02: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
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
Sean Whitton 0968d7e5e2 ; Update acknowledgements for Emacs 31. 2026-08-17 13:29:41 +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 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
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
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
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
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
Martin Rudalics 6f71867f27 ; Clarify issues with frames and windows in Elisp manual
* doc/lispref/frames.texi (Frame Size): Deepen explanation of
"gravity".
(Deleting Frames): Mention terminal when deciding whether a
frame can be safely deleted.
(Child Frame Properties): Cover tab-line dragging.
* doc/lispref/windows.texi (Windows and Frames, Window Sizes)
(Deleting Windows, Changing Window Layouts, Switching Buffers)
(Buffer Display Action Functions, Buffer Display Action Alists)
(Window Parameters): Minor fixes.
2026-08-12 10:29:14 +02:00
Juri Linkov 7d2988e7e4 Fix Custom keybindings in the documentation
* etc/NEWS:
* doc/emacs/custom.texi (Changing a Variable):
Use more user-friendly representation of the
key sequence 'C-c TAB' as it's displayed in
the Help buffer for 'Custom-goto-first-choice'.
Fix typos in keybindings.
2026-08-11 20:56:29 +03:00
Eli Zaretskii 5f6ffef879 ; Improve and correct documentation of 'getenv'
* lisp/env.el (getenv): Doc fix.

* doc/lispref/frames.texi (Basic Parameters): Document the
'environment' frame parameter.
* doc/lispref/os.texi (System Environment): Document the FRAME
argument to 'getenv'.  (Bug#81591)
2026-08-10 17:51:12 +03:00
Philip Kaludercic a15640e841
Warn about INFOPATH shadowing package manuals
* doc/emacs/package.texi (Packages): Add footnote.  (Bug#81105)
2026-08-08 08:49:43 +02:00
Martin Rudalics 321f6a07e8 Handle transposing and rotating of dedicated windows (Bug#81406)
* lisp/window-x.el (transpose-dedicated-windows): New option.
(window-layout-rotate-clockwise)
(window-layout-rotate-anticlockwise)
(window-layout-flip-leftright, window-layout-flip-topdown)
(window-layout-transpose, rotate-windows-back): Say that these
functions may signal an error when they encounter dedicated,
fixed-size or atomic windows.
(rotate-windows): Handle dedicated windows like the other
transpose functions.
(window--transpose): Handle 'transpose-dedicated-windows'.
* doc/lispref/windows.texi (Changing Window Layouts): Describe new
option 'transpose-dedicated-windows'.
* etc/NEWS: Announce new option 'transpose-dedicated-windows'.
2026-08-07 17:44:39 +02:00
Martin Rudalics d5c3f053b0 ; In Elisp manual say that FRAME arg in 'frame-focus-state' is optional
* doc/lispref/frames.texi (Input Focus): Say that FRAME
argument of 'frame-focus-state' is optional.
2026-08-06 09:16:34 +02:00
Eli Zaretskii ad60eb855d ; Improve documentation of "shadow cursor"
* etc/NEWS:
* doc/emacs/files.texi (Diff Mode):
* lisp/vc/diff-mode.el (diff-refine): Improve the documentation of
the "shadow cursor" shown by Diff mode.
2026-07-30 08:14:26 +03:00
Eli Zaretskii 633a998bcf ; Improve documentation of text properties for strings
* doc/lispref/strings.texi (Modifying Strings): Add cross-reference.
(Bug#81432)
2026-07-25 10:59:47 +03:00
Eli Zaretskii 19eeda16a4 ; Fix recent changes in treesit documentation
* doc/lispref/parsing.texi (Using Parser, Multiple Languages): Fix
punctuation and wording.
2026-07-24 13:46:06 +03:00
Yuan Fu 6b670907fa
Update tree-sitter manual for embed level
* doc/lispref/parsing.texi (Using Parser): Mention embed level.
(Multiple Languages): Explain embed level, and local vs
non-local parsers.
2026-07-24 00:00:44 -07:00
Eli Zaretskii eac0aaf7a1 ; * doc/misc/cl.texi (Modify Macros): Remove 'with-memoization' (bug#81381). 2026-07-18 12:01:27 +03:00
Eli Zaretskii 39e1e9c367 ; * doc/lispref/keymaps.texi (Changing Key Bindings): Fix markup. 2026-07-16 18:53:14 +03:00
Eli Zaretskii 48a481ac8d ; Improve documentation of window-rotation commands
* lisp/window-x.el (window-layout-rotate-clockwise)
(window-layout-flip-leftright, window-layout-flip-topdown): Doc
fixes.
(rotate-windows-change-selected): Add :version.

* doc/lispref/windows.texi (Recombining Windows): Fix wording,
markup and indexing.

* etc/NEWS: Add key bindings for window-rotation commands and
document 'rotate-windows-change-selected'.
2026-07-14 14:19:41 +03:00
Martin Rudalics 4be321d511 Fix issues related to window layout changes (Bug#81406)
* src/window.c (Vwindow_combination_resize): In doc-string say
that binding this to nil may be necessary to produce specific,
predefined frame layouts (Bug#81406).
* lisp/window-x.el (window-layout-rotate-clockwise)
(window-layout-rotate-anticlockwise)
(window-layout-flip-leftright, window-layout-flip-topdown)
(window-layout-transpose, rotate-windows-change-selected)
(rotate-windows, rotate-windows-back): Rewrite doc-strings.
Make sure that non-interactive calls with nil or absent WINDOW
argument work on the frame's main window.  Fix infinite loop
when 'rotate-windows' is called for a non-selected frame.
* doc/lispref/windows.texi (Recombining Windows): Say that
binding 'window-combination-resize' to nil may be necessary to
produce specific, predefined frame layouts (Bug#81406).
(Changing Window Layouts): Minor rewrite.
* etc/NEWS: Announce names of new commands to change window
layout (Bug#81406).
2026-07-14 11:23:42 +02:00
Eli Zaretskii 7a9c004924 ; Clarify documentation of 'filter-buffer-substring'
* doc/lispref/text.texi (Buffer Contents): Clarify that the order
of buffer positions in arguments of 'filter-buffer-substring'
should not matter.

* lisp/simple.el (filter-buffer-substring-function):
(filter-buffer-substring): Doc fix.
2026-07-13 15:34:11 +03:00
Eli Zaretskii af7f189e0a ; Clarify documentation of 'define-globalized-minor-mode'
* doc/lispref/modes.texi (Defining Minor Modes): Clarify ':global'
vs 'define-globalized-minor-mode'.  (Bug#81338)
2026-07-11 11:18:52 +03:00
Martin Rudalics 924d88a736 ; Warn about killed buffers returned by 'window-prev-buffers' (Bug#81370)
* src/window.c (Fwindow_prev_buffers): In doc-string mention
that the return value may reference killed buffers.
* doc/lispref/windows.texi (Window History): Mention that the
return value of 'window-prev-buffers' may reference buffers that
have been killed.
2026-07-07 09:50:45 +02:00
Kyle Meyer ffad15bf73 Update to Org 9.8.7 2026-07-05 10:00:22 -04:00
Eli Zaretskii 4721a44e8a ; * doc/lispref/buffers.texi (Buffer File Name): Clarify (bug#81340). 2026-07-05 08:35:40 +03:00
Michael Albinus b8d3c4f801 Change Tramp version integrated in Emacs 31.1 (don't merge)
* doc/misc/trampver.texi:
* lisp/net/trampver.el (tramp-version): Adapt Tramp versions.

* lisp/net/trampver.el (customize-package-emacs-version-alist):
Change Tramp version integrated in Emacs 31.1.
2026-07-01 17:00:04 +02:00
Eli Zaretskii 2c5b4911b3 ; * doc/lispref/commands.texi (Interactive Codes): More examples of '*'. 2026-06-25 09:48:52 +03:00
Eli Zaretskii ea87a99b84 ; Fix recent improvements in docs of splitting and merging frames
* lisp/window-x.el (merge-frames): Doc fix.

* doc/lispref/windows.texi (Basic Windows): Fix a typo.
* doc/lispref/frames.texi (Splitting and Merging Frames): Fix
wording, markup and indexing.
2026-06-25 09:43:29 +03:00
Martin Rudalics 30fc250a26 ; * doc/lispref/frames.texi (Deleting Frames): Fix typo in last commit. 2026-06-24 11:39:02 +02:00
Martin Rudalics 884d7a198c Document new option 'delete-frame-choose-selected' (Bug#80397)
* doc/lispref/frames.texi (Deleting Frames): Document new option
'delete-frame-choose-selected'.
* etc/NEWS: Mark 'delete-frame-choose-selected', 'split-frame'
and 'merge-frames' as documented.
2026-06-24 10:09:47 +02:00
Martin Rudalics f0bfa33039 Document 'split-frame' and 'merge-frames' in Elisp manual
* doc/lispref/frames.texi (Splitting and Merging Frames): New
section.
* doc/lispref/elisp.texi (Top): Add new section.
* doc/lispref/windows.texi (Basic Windows): Explain terms
'layout' and 'identity' of windows.
(Window Configurations): Explain that window identities are
preserved by window configurations and get lost with window
states.
2026-06-23 16:37:37 +02:00
Stéphane Marks b684922900 Restore progress-reporter suffix as update-text (bug#81134)
* lisp/subr.el (progress-reporter-update-functions): Update
docstring.
(progress-reporter-update): New UPDATE-TEXT argument replacing
previously deleted SUFFIX.
(make-progress-reporter): Document suffix slot available for
reuse.
(progress-reporter-force-update): Update function signature.
(progress-reporter-echo-area): Restore the text argument and
echo it.
(progress-reporter-do-update): Update function signature.  Treat
UPDATE-TEXT as ephemeral and do not persist it in the reporter
instance.  Update the hook.
(progress-reporter-done): Update the hook.
* lisp/system-taskbar.el
(system-taskbar--progress-reporter-update): Update function
signature.
* lisp/net/tramp.el (tramp-progress-reporter-update): Update
function signature.
* doc/lispref/display.texi (Progress): Update documentation.
2026-06-23 10:16:00 +01:00
Eli Zaretskii e78a0fc9f4 Resurrect effect of 2nd arg t in 'format-mode-line'
* src/xdisp.c (Fformat_mode_line): Resurrect support for FACE = t.
Doc fix.  (Bug#81271)

* doc/lispref/modes.texi (Emulating Mode Line): Fix documentation
of 'format-mode-line' when 2nd argument is t.

* test/src/xdisp-tests.el (xdisp-test-format-mode-line): New test.
2026-06-20 14:18:16 +03:00
Eli Zaretskii 4f1af6fa6e ; * doc/lispref/commands.texi (Interactive Codes): Clarify '*' (bug#81236). 2026-06-20 12:06:39 +03:00
Michael Albinus f89ff62367 Extend Tramp external operations
* doc/misc/tramp.texi (New operations): Extend.

* lisp/net/tramp.el (tramp-file-name-for-operation-external):
Extend docstring.
(tramp-file-name-for-operation): Make more use of
`tramp-file-name-for-operation-external'.
(tramp-add-external-operation): Support ARG-TYPE `tramp-file-name'.

* test/lisp/net/tramp-tests.el (tramp-test49-external-backend-function):
Extend test.
2026-06-10 15:45:31 +02:00
Juri Linkov 9e37c94079 Read a key sequence instead of a single key in 'map-y-or-n-p'
This is necessary to correctly read keys like 'M-~'
used by 'save-some-buffers' that is two keys 'ESC ~'
on a tty.

* doc/lispref/minibuf.texi (Multiple Queries):
Index 'y-or-n-p-use-read-key' for 'map-y-or-n-p'.
Mention using a key sequence instead of single keys.

* lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
In the 'y-or-n-p-use-read-key' cond-branch,
use 'read-key-sequence-vector' instead of 'read-key'.
In the default cond-branch, use 'this-command-keys-vector'
instead of 'last-command-event'.  In both cond-branches
use 'key-description' instead of 'single-key-description'
(bug#81168).
Instead of '(eq def nil)' check if chars are either nil
or an empty vector in noninteractive mode (bug#67836).

* test/lisp/emacs-lisp/map-ynp-tests.el (test-map-ynp-kmacro):
Test separately nil/non-nil 'y-or-n-p-use-read-key'.
(test-map-ynp-keys): New test for complete coverage of
'map-y-or-n-p'.
2026-06-07 21:56:47 +03:00
Eli Zaretskii 2755f171fc ; Document new features and update NEWS
* etc/NEWS: Mark unmarked entries.

* doc/emacs/display.texi (Useless Whitespace): Document
'delete-trailing-whitespace-mode'.
* doc/emacs/text.texi (Foldout): Document negative argument of
'foldout-exit-fold'.
* doc/emacs/search.texi (Query Replace): Document 'd' in
query-replace.
* doc/emacs/frames.texi (Text-Only Mouse): 'xterm-mouse-mode' is
now ON by default.
(Mouse Commands): Document 'mouse-shift-adjust-mode'.

* doc/lispref/commands.texi (Event Mod): Document new command
'key-translate' and 'key-translate-remove'.
* doc/lispref/processes.texi (Output from Processes): Update
default value of 'process-adaptive-read-buffering'.
* doc/lispref/frames.texi (Frame Size): Document
'set-frame-size-and-position' and
'set-frame-size-and-position-pixelwise'.
* doc/lispref/minibuf.texi (Multiple Queries): 'map-y-or-n-p' now
uses the minibuffer.
2026-06-07 16:33:32 +03:00
Eli Zaretskii a24b081602 ; Fix last change
* etc/NEWS:
* doc/lispref/frames.texi (Font and Color Parameters):
* doc/lispref/display.texi (Displaying Faces, Basic Faces):
Improve indexing of faces and wording of the description of the
'margin' face and its implications.
2026-06-06 12:06:42 +03:00
Andrea Alberti e33e9f7e85 Document 'margin' face as base for margin display strings (Bug#80693)
* doc/lispref/display.texi (Displaying Faces): Note that the
underlying-text rule does not apply to strings displayed in the
display margins, and reword the margin-face bullet to describe
'margin' as the base.
(Basic Faces): Note that the 'margin' face also provides the base
attributes for strings displayed in the margins.
(Display Margins): Drop a sentence that restated the preceding one
about unspecified attributes inheriting from 'margin'.
* etc/NEWS: Document the change for margin strings.

Suggested by F. Jason Park <jp@neverwas.me>.
2026-06-06 11:45:52 +03:00
Michael Albinus cf325876fa Adapt Tramp version
* lisp/net/trampver.el (customize-package-emacs-version-alist):
Add Tramp version integrated in Emacs 31.1.

* doc/misc/trampver.texi:
* lisp/net/trampver.el (tramp-version): Adapt Tramp versions.
2026-06-05 13:21:15 +02:00