aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * ; Improve introduction to use-package manualStefan Kangas2025-03-191-13/+12
| | | | | | | | * doc/misc/use-package.texi (Top): Improve introduction.
* | Adapt ediff to nonstandard layoutsDaniel Colascione2025-03-211-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make ediff cope with having some of its windows (especially the control window) not shown by a custom ediff-window-setup-function. Modernize relevant adjacent code. After this change, one can write a custom ediff-window-setup-function that doesn't show the control window. * doc/misc/ediff.texi (Notes on Heavy-duty Customization): Refine language to explain that the window setup function doesn't have to show all windows. * lisp/vc/ediff-util.el (ediff-select-control-window-on-setup): New variable. (ediff-setup, ediff-recenter, ediff-recenter-one-window) (ediff-recenter-ancestor, ediff-toggle-read-only) (ediff-operate-on-windows, ediff-jump-to-difference-at-point) (ediff-default-suspend-function) (ediff-clone-buffer-for-region-comparison) (ediff-clone-buffer-for-window-comparison): Modernize control flow; select only windows that exist. * lisp/vc/ediff-wind.el (ediff-with-live-window): New convenience macro. (ediff-window-setup-function): Explain relaxed contract.
* | Merge from savannah/emacs-30Po Lu2025-03-161-3/+11
|\ \ | |/ | | | | | | dcf3916e558 ; Doc fix for legacy keymap functions 227db70db98 ; * doc/misc/ede.texi (Top): Improve introduction.
| * ; * doc/misc/ede.texi (Top): Improve introduction.Stefan Kangas2025-03-151-3/+11
| |
* | Update to Transient v0.8.6-7-g64cb8404Jonas Bernoulli2025-03-151-15/+15
| |
* | Merge branch 'master' of git.sv.gnu.org:/srv/git/emacsMichael Albinus2025-03-151-3/+2
|\ \
| * | ; Touch up tramp-*-with-sudo documentation, add FIXMEsSean Whitton2025-03-151-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/dired.texi (Dired Visiting): * doc/emacs/files.texi (Reverting): * doc/misc/tramp.texi (Ad-hoc multi-hops): * etc/NEWS: * lisp/net/tramp-cmds.el (tramp-revert-buffer-with-sudo) (tramp-dired-find-file-with-sudo): Touch up documentation of these features. Add FIXMEs about renaming the two commands.
* | | ; Minor Tramp changesMichael Albinus2025-03-151-0/+6
|/ / | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (Top): Add Key Index to menu. (Key Index): New node. * lisp/net/tramp-cmds.el (tramp-dired-buffer-command-completion-p): New defun. (tramp-dired-find-file-with-sudo): Add property `completion-predicate'.
* | ; Fix last change (bug#76789)Eli Zaretskii2025-03-151-8/+9
| | | | | | | | | | | | * doc/misc/speedbar.texi (Frames Windows and Faces): Fix node name. Fix markup and punctuation. (Introduction): Fix markup.
* | Add a new command `speedbar-window'.Vincenzo Pupillo2025-03-151-12/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Speedbar now can be opened in a window instead of a separate frame. The frame remains the default. * doc/emacs/frames.texi: Mention Speedbar window mode. * doc/misc/speedbar.texi: Document 'speedbar-window'. * lisp/speedbar.el (speedbar-prefer-window): New user option. If t, the command `speedbar' open the speedbar in a window. (speedbar-window-dedicated-window): New user option. If t the window is dedicated. (speedbar-window-side): New user option. The side of 'speedbar-window', defaults to left. (speedbar-window-default-width): New user option. The default size of the 'speedbar-window'. (speedbar-window-max-width): New user option. Limits the width of the 'speedbar-window'. The user can resize the window as desired, but this option will be the width of the window when restored. (speedbar--buffer-name): New variable, the buffer name used for both 'speedbar-frame-mode' and 'speedbar-window-mode'. (speedbar--window): New variable, the window displaying 'speedbar-window'. (speedbar--window-width): New variable, store the current width of 'speedbar-window'. (speedbar-easymenu-definition-trailer): Now it is a function that returns a different trailer for 'speedbar-frame' and 'speedbar-window'. (speedbar): Now it is a function that calls 'speedbar-frame-mode', the default or 'speedbar-window-mode' based on the value of 'speedbar-prefer-window'. (speedbar-frame-mode): Before opening a frame, close 'speedbar-window' if it is open. (speedbar-frame-or-window): New function, returns 'frame', 'window' or nil if speedbar is not open. (speedbar-window): New alias for 'speedbar-window-mode'. (speedbar-window-mode): Enable of disable 'speedbar-window'. (speedbar-window--window-live-p): New function, return non-nil if the 'speedbar-window' is live. (speedbar-window--buffer-live-p): New function, return non-nil if the 'speedbar-buffer' is live. (speedbar-window--live-p): New function, return t if 'speedbar-window' is open. (speedbar-window-current-window): New function, return t if the selected window is speedbar-window. (speedbar-window--close): New function, close the 'speedbar-window'. (speedbar-window--width): New function, return the current width of 'speedbar-window'. (speedbar-width): New function, return the 'speedbar' of 'speedbar-frame-mode' of 'speedbar-frame-mode'. (speedbar-set-mode-line-format): Use the new 'speedbar-width' function. (speedbar-directory-buttons): Use the new 'speedbar-width' function. (speedbar--speedbar-live-p): New function, returns t if 'speedbar-frame-mode' or 'speedbar-window-mode' are open. (speedbar-timer-fn): Now handle 'speedbar-frame-mode' and 'speedbar-window-mode'.
* | Improve tramp-*-with-sudo commandsMichael Albinus2025-03-141-8/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/dired.texi (Dired Visiting): Add tramp-dired-find-file-with-sudo. * doc/emacs/files.texi (Reverting): Add tramp-revert-buffer-with-sudo. * doc/misc/tramp.texi (Ad-hoc multi-hops): Extend wrt `tramp-*-with-sudo' commands. * etc/NEWS: Add tramp-dired-find-file-with-sudo. Fix typos. * lisp/bindings.el (ctl-x-x-map): * lisp/dired.el (dired-mode-map): Add "@" binding. (Bug#76974) * lisp/net/tramp-cmds.el (dired-get-file-for-visit): Declare. (with-tramp-file-name-with-method): New macro. (tramp-revert-buffer-with-sudo): Autoload. Preserve position. Use `with-tramp-file-name-with-method'. (tramp-dired-find-file-with-sudo): New command.
* | Tramp: Don't offer non-existing containers in completionMichael Albinus2025-03-121-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (File name completion): Explain "completion-use-cache" property. * lisp/net/tramp-cache.el (tramp-get-method-parameter): Declare. (tramp-get-hash-table): Mark connection properties. (tramp-dump-connection-properties): Remove empty lists. (tramp-parse-connection-properties): Take connection property "completion-use-cache" into account. (Bug#76950) * lisp/net/tramp-container.el (tramp-methods) <docker, dockercp, podman> <podmancp, kubernetes, toolbox, distrobox, flatpak, apptainer, nspawn>: Add `tramp-completion-use-cache' argument.
* | ; Replace "Elisp" with "Lisp" or "Emacs Lisp" in some placesSean Whitton2025-03-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac (libgccjit_not_found_err) (libgccjit_dev_not_found_err): * doc/lispref/elisp.texi (Top): * doc/lispref/functions.texi (What Is a Function): * doc/lispref/parsing.texi (Parsing Program Source) (Tree-sitter C API): * doc/misc/gnus.texi (The Gnus Registry): * etc/TODO: * lisp/auth-source.el (auth-source-search): * lisp/cedet/semantic/bovine/el.el (emacs-lisp-mode): * lisp/editorconfig.el (editorconfig-get-local-variables-functions): * lisp/emacs-lisp/cconv.el (cconv-make-interpreted-closure): * lisp/emacs-lisp/oclosure.el (cconv--interactive-helper): * lisp/net/tramp-message.el (tramp-debug-font-lock-keywords): * src/frame.c (do_switch_frame): * test/lisp/emacs-lisp/shortdoc-tests.el (shortdoc-help-fns-examples-function-test): Say "Lisp" not "Elisp". * lisp/progmodes/peg.el (peg-translate-exp): Say "Emacs Lisp" not "Elisp".
* | Merge from origin/emacs-30Sean Whitton2025-03-121-9/+11
|\ \ | |/ | | | | | | | | | | | | 894b0e3a2fe ; Adapt comment in tramp.el cc87717fa07 Add keyword placeholder to tramp.el 7d0d61d8549 Rewrite ERT manual introduction b2f124f2a88 ; cperl-mode.el: Don't misinterpret exec_fcn as keyword exec 59d1aac49df Document return values of the various read-* functions
| * Rewrite ERT manual introductionStefan Kangas2025-03-091-9/+11
| | | | | | | | | | * doc/misc/ert.texi (Top): Rewrite for clarity. Don't give such prominent mention to to TDD or JUnit, references which now seem dated.
* | Fix capitalization ELisp -> ElispSean Whitton2025-03-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac (libgccjit_not_found_err) (libgccjit_dev_not_found_err): * doc/emacs/buffers.texi (List Buffers): * doc/lispref/elisp.texi (Tree-sitter C API): * doc/lispref/functions.texi (What Is a Function): * doc/lispref/parsing.texi (Parsing Program Source) (Tree-sitter C API): * doc/misc/gnus.texi (The Gnus Registry): * etc/DEBUG: * etc/NEWS: * etc/NEWS.25: * etc/NEWS.26: * etc/NEWS.28: * etc/NEWS.30: * etc/TODO: * lib-src/emacsclient.c (print_help_and_exit): * lisp/auth-source.el (auth-source-search): * lisp/cedet/semantic/bovine/el.el (emacs-lisp-mode): * lisp/cedet/semantic/wisent/comp.el (wisent-automaton-lisp-form): * lisp/cedet/srecode/el.el (srecode-semantic-apply-tag-to-dict): * lisp/editorconfig.el (editorconfig-get-local-variables-functions): * lisp/emacs-lisp/bindat.el (bindat-type): * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand): * lisp/emacs-lisp/cconv.el (cconv-make-interpreted-closure): * lisp/emacs-lisp/cl-macs.el (cl--labels-convert): * lisp/emacs-lisp/lisp-mode.el (lisp-fdefs) (lisp-fill-paragraphs-as-doc-string): * lisp/emacs-lisp/macroexp.el (macroexp--fgrep): * lisp/emacs-lisp/oclosure.el (cconv--interactive-helper): * lisp/emacs-lisp/re-builder.el: * lisp/erc/erc-button.el (erc-emacswiki-lisp-url): * lisp/help-fns.el (help-fns--describe-function-or-command-prompt): * lisp/menu-bar.el (menu-bar-search-documentation-menu): * lisp/net/tramp-message.el (tramp-debug-font-lock-keywords): * lisp/org/org-capture.el (org-capture): * lisp/org/org.el (org-category, org-todo): * lisp/org/ox.el (org-export-async-start): * lisp/progmodes/elisp-mode.el (emacs-lisp-mode): * lisp/progmodes/peg.el (peg-translate-exp): * lisp/progmodes/ruby-ts-mode.el: * lisp/woman.el (woman-mode, woman-parse-numeric-arg): * src/chartab.c (map_char_table_for_charset): * src/fns.c (extract_data_from_object): * src/frame.c (do_switch_frame): * src/keyboard.c (make_lispy_event): * test/lisp/emacs-lisp/cl-macs-tests.el (cl-&key-arguments): * test/lisp/emacs-lisp/shortdoc-tests.el (shortdoc-help-fns-examples-function-test): * test/manual/etags/c-src/emacs/src/keyboard.c (make_lispy_event): Fix capitalization ELisp -> Elisp.
* | Don't recommend legacy keymap functions in documentationStefan Kangas2025-03-1114-109/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/mule.texi (Input Methods): * doc/lispintro/emacs-lisp-intro.texi (Miscellaneous): * doc/lispref/text.texi (Clickable Text): * doc/misc/calc.texi (Defining Functions, Defining Simple Commands) (Customizing Calc): * doc/misc/efaq.texi (Matching parentheses, Modifying pull-down menus) (Deleting menus and menu options, Binding keys to commands) (Invalid prefix characters) (Terminal setup code works after Emacs has begun) (Backspace invokes help, Swapping keys, No Escape key) (Binding combinations of modifiers and function keys) (Replying to the sender of a message): * doc/misc/eudc.texi (Installation, Emacs-only Configuration) (External Configuration): * doc/misc/gnus.texi (Group Parameters, Misc Group Stuff) (Summary Buffer, Generic Marking Commands, RSS) (nnmairix tips and tricks, Oort Gnus): * doc/misc/ido.texi (Customization): * doc/misc/mairix-el.texi (Using): * doc/misc/mh-e.texi (HTML, Miscellaneous Commands and Options) (Folders, Composing): * doc/misc/octave-mode.texi (Running Octave from Within Emacs): * doc/misc/reftex.texi (Citations Outside LaTeX): * doc/misc/remember.texi (Quick Start): * doc/misc/sem-user.texi (Smart Jump): * doc/misc/viper.texi (Key Bindings, Vi Macros): * doc/misc/widget.texi (Defining New Widgets): * doc/misc/woman.texi (Word at point): Recommend 'keymap-set', 'keymap-global-set', 'keymap-global-unset', 'keymap-local-set', and 'key-translate', instead of their legacy equivalents. (Bug#55647)
* | Eglot: the margin code action indicator is interactiveJoão Távora2025-03-081-2/+1
| | | | | | | | * doc/misc/eglot.texi (Customization Variables): Fix.
* | Merge from origin/emacs-30Eli Zaretskii2025-03-011-1/+1
|\ \ | |/ | | | | | | | | | | 62b3d3136fa Fix fns-tests-collate-strings failure with musl 840c6824589 ; (completion-preview-complete): Fix bug#76606 fa42626a6a8 ; Fix indentation in cl.texi example 7ff806da496 ; Fix my last commit
| * ; Fix indentation in cl.texi exampleStefan Kangas2025-02-261-1/+1
| |
* | Merge from origin/emacs-30Eli Zaretskii2025-03-012-6/+6
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f88dc0f2f9d ; Fix documentation of 'buffer-text-pixel-size' 734986349fd ; Minor Android documentation improvements a90da899034 ; Fix up emacs-lisp-mode docstring 58c7acb5554 ; Fix completion-fail-discreetly docstring typo. 02c830ba22b Fix ert-font-lock macro signatures 0c6b8643aec Fix a typo in 'window_text_pixel_size' 8a8c25eaccd ; Add Rudolf Schlatte to authors.el 94c0ea39a5a * doc/misc/efaq.texi (New in Emacs 30): Fix typo. (Bug#7... 0be5f9115ec ; * etc/images/README (Files): Add an entry for last-page... 63adf9dcf53 ; Reflow some cl-lib docstrings 99253f79703 ; * etc/TODO: New section "Make it easier to contribute". # Conflicts: # lisp/emacs-lisp/cl-macs.el
| * Fix ert-font-lock macro signaturesBasil L. Contovounesios2025-02-251-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/ert.texi (Syntax Highlighting Tests): * test/lisp/emacs-lisp/ert-font-lock-tests.el (test-line-comment-p--emacs-lisp, test-line-comment-p--shell-script) (test-line-comment-p--javascript, test-line-comment-p--python) (test-line-comment-p--c, test-macro-test--correct-highlighting) (test-macro-test--docstring, test-macro-test--failing) (test-macro-test--file, test-macro-test--file-no-asserts) (test-macro-test--file-failing): Reindent macro calls. (with-temp-buffer-str-mode): Evaluate macro arguments left-to-right. (ert-font-lock--wrap-begin-end): Use rx for more robust composition. (test-line-comment-p--php): Require that php-mode is callable, not already loaded. * lisp/emacs-lisp/ert-font-lock.el (ert-font-lock-deftest) (ert-font-lock-deftest-file): NAME is not followed by an empty list like in ert-deftest, so the optional DOCSTRING is actually the second argument. Adapt calling convention in docstring, and debug, doc-string, and indent properties accordingly (bug#76372). Fix docstring grammar, document MAJOR-MODE, and avoid referring to a file name as a path.
| * * doc/misc/efaq.texi (New in Emacs 30): Fix typo. (Bug#76518)Ulrich Müller2025-02-241-1/+1
| |
| * ; Delete troff markers from ChangeLog filesemacs-30.1-rc1Stefan Kangas2025-02-201-1/+1
| |
* | Document :continue-only in use-package Info manualPaul Nelson2025-02-271-0/+29
| | | | | | | | | | * doc/misc/use-package.texi (Binding to repeat-maps): Document :continue-only (bug#74140).
* | ; Whitespace fixes to silence git hooksStefan Kangas2025-02-261-1/+0
| |
* | ; Fix last changeMichael Albinus2025-02-251-1/+0
| | | | | | | | | | | | * lisp/net/tramp-cmds.el (tramp-list-remote-buffers) (tramp-list-remote-buffer-connections): Fix docstring. (tramp-cleanup-bufferless-connections): Use `string-join'.
* | Add tramp-cleanup-bufferless-connections (bug#76417)shipmints2025-02-251-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (Cleanup remote connections): Add 'tramp-cleanup-bufferless-connections'. * etc/NEWS: Announce 'tramp-cleanup-bufferless-connections'. * lisp/net/tramp-cmds.el: (tramp-list-remote-buffer-connections): New function. (tramp-cleanup-bufferless-connections): New command. (tramp-list-remote-buffers): Account for 'buffer-file-name'.
* | * doc/misc/ert.texi (Helpers for Buffers): Fix wrong name.Michael Albinus2025-02-251-1/+1
| |
* | Make cl-gensym obsolete in favor of built-in gensymStefan Kangas2025-02-251-29/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-macs.el (cl-gensym): Declare function obsolete in favor of gensym, added in Emacs 26.1. The only reason for its existence is that it allows an integer argument, but that's not really useful, so it's better to remove this complexity. Ref: https://lists.gnu.org/r/emacs-devel/2017-09/msg00313.html * doc/misc/cl.texi (Symbols, Creating Symbols, Efficiency Concerns) (Obsolete Setf Customization): Don't document above obsolete function. * lisp/emacs-lisp/cl-macs.el (cl--parse-loop-clause): * lisp/emacs-lisp/edebug.el (edebug-make-form-wrapper): * lisp/obsolete/cl.el (cl--function-convert, lexical-let): * lisp/obsolete/thumbs.el (thumbs-temp-file): * lisp/progmodes/eglot.el (eglot--lambda) (eglot--when-live-buffer, eglot--when-buffer-window) (eglot--collecting-xrefs, eglot--glob-parse): * lisp/progmodes/flymake.el (flymake--run-backend): * test/lisp/emacs-lisp/package-tests.el (with-package-test): * test/lisp/progmodes/eglot-tests.el (eglot--guessing-contact): * test/lisp/progmodes/elisp-mode-tests.el (elisp-shorthand-read-buffer, elisp-shorthand-read-from-string): Prefer plain gensym to cl-gensym in files that can depend on Emacs 26.1. * lisp/jsonrpc.el (jsonrpc-lambda, jsonrpc-request): Prefer gensym to cl-gensym only when defined, as this file supports Emacs 25.1 * test/lisp/emacs-lisp/cl-macs-tests.el (cl-lib-test-gensym): Simplify test as 'should' no longer uses cl-gensym.
* | Use cl-with-gensyms in a few more casesStefan Kangas2025-02-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/cl.texi (Macro Bindings): * lisp/emacs-lisp/comp.el (comp--with-sp): * lisp/emacs-lisp/subr-x.el (with-buffer-unmodified-if-unchanged): * lisp/eshell/em-extpipe.el (eshell-extpipe--or-with-catch): * lisp/international/mule-cmds.el (with-locale-environment): * lisp/kmacro.el (kmacro-menu--marks-exist-p): * test/lisp/emacs-lisp/cl-extra-tests.el (cl-lib-test-remprop): * test/lisp/emacs-lisp/edebug-tests.el (edebug-tests-deduplicate): * test/lisp/emacs-lisp/ert-tests.el (ert-test-special-operator-p): * test/lisp/kmacro-tests.el (kmacro-tests-should-insert) (kmacro-tests-should-match-message): * test/lisp/replace-tests.el (replace-tests-with-undo): Use cl-with-gensyms instead of bare gensym call.
* | Fix bad fontification of inactive widgetsMauro Aranda2025-02-241-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/wid-edit.el (widget-specify-inactive): When a widget is already inactive, still move the overlay to the desired positions. Improve docstring. (Bug#69941) * doc/misc/widget.texi (default): Document the need to call the :deactivate function when modifying an inactive widget. * test/lisp/wid-edit-tests.el (widget-test-modification-of-inactive-widget): New test
* | Drop hashcash support from Gnus and Message modeStefan Kangas2025-02-242-107/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/gnus/gnus.el (gnus-install-group-spam-parameters): Remove 'spam-use-hashcash' option. * lisp/gnus/message.el (message-generate-hashcash): Mark as obsolete, default to nil unconditionally. (message-send-mail, message-setup-1, message-resend): Don't generate hashcash headers. * lisp/gnus/spam.el (hashcash): Don't require. (spam-use-hashcash): (spam-check-hashcash): Mark as obsolete. (spam-install-hooks): Don't install 'spam-use-hashcash' hook. * doc/misc/message.texi (Mail Headers): Don't document above obsoleted variable 'message-generate-hashcash'. * doc/misc/gnus.texi (Hashcash): Delete section. (Anti-spam Hashcash Payments): Delete subsection. (Extending the Spam package): Don't mention Hashcash. (Bug#76195)
* | Make cl-declare obsoleteStefan Kangas2025-02-241-29/+5
| | | | | | | | | | | | * lisp/emacs-lisp/cl-macs.el (cl-declare): Make obsolete. * doc/misc/cl.texi (Declarations): Don't document above obsolete macro. (Bug#63288)
* | Move buffer related functions from ert-x.el to ert.elStefan Kangas2025-02-241-8/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/ert-x.el (ert--text-button) (ert--format-test-buffer-name, ert--test-buffers) (ert--test-buffer-button, ert--test-buffer-button-action) (ert--call-with-test-buffer, ert-with-test-buffer) (ert-with-buffer-selected, ert-kill-all-test-buffers) (ert-call-with-buffer-renamed, ert-buffer-string-reindented): Move from here... * lisp/emacs-lisp/ert.el (ert--text-button) (ert--format-test-buffer-name, ert--test-buffers) (ert--test-buffer-button, ert--test-buffer-button-action) (ert--call-with-test-buffer, ert-with-test-buffer) (ert-kill-all-test-buffers, ert-with-buffer-selected) (ert-call-with-buffer-renamed, ert-with-buffer-renamed): ...to here. * doc/misc/ert.texi (Helpers for Buffers): Break out new section... (Helper Functions): ...from here. * lisp/emacs-lisp/ert-x.el (ert-with-test-buffer-selected): Move obsolete definition to the end of the file. * test/lisp/emacs-lisp/ert-x-tests.el (ert--hash-table-to-alist, ert-test-test-buffers) (ert-test-with-buffer-selected/current) (ert-test-with-buffer-selected/selected) (ert-test-with-buffer-selected/nil-buffer) (ert-test-with-buffer-selected/modification-hooks) (ert-test-with-buffer-selected/read-only) (ert-test-with-buffer-selected/return-value) (ert-test-with-test-buffer-selected/modification-hooks) (ert-test-with-test-buffer-selected/read-only) (ert-test-with-test-buffer-selected/return-value) (ert-test-with-test-buffer-selected/buffer-name): Move tests from here... * test/lisp/emacs-lisp/ert-tests.el (ert--hash-table-to-alist, ert-test-test-buffers) (ert-test-with-buffer-selected/current) (ert-test-with-buffer-selected/selected) (ert-test-with-buffer-selected/nil-buffer) (ert-test-with-buffer-selected/modification-hooks) (ert-test-with-buffer-selected/read-only) (ert-test-with-buffer-selected/return-value) (ert-test-with-test-buffer-selected/selected) (ert-test-with-test-buffer-selected/modification-hooks) (ert-test-with-test-buffer-selected/read-only) (ert-test-with-test-buffer-selected/return-value) (ert-test-with-test-buffer-selected/buffer-name): ...to here. * test/lisp/progmodes/hideshow-tests.el (ert-x): * test/lisp/simple-tests.el (ert-x): * test/lisp/whitespace-tests.el (ert-x): Don't require.
* | Support selecting buffer in ert-with-test-bufferStefan Kangas2025-02-241-19/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/ert-x.el (ert-with-test-buffer): Add new keyword argument :selected to make the buffer current and selected. (ert-with-test-buffer-selected): Make obsolete and redefine in terms of ert-with-test-buffer. * doc/misc/ert.texi (Helper Functions): Document above new :selected keyword argument, and remove documentation of ert-with-test-buffer-selected. * test/lisp/emacs-lisp/ert-x-tests.el (ert-test-with-test-buffer-selected/selected) (ert-test-with-test-buffer-selected/modification-hooks) (ert-test-with-test-buffer-selected/read-only) (ert-test-with-test-buffer-selected/return-value) (ert-test-with-test-buffer-selected/buffer-name): * test/lisp/progmodes/hideshow-tests.el (hideshow-tests-with-temp-buffer-selected): * test/lisp/simple-tests.el (kill-whole-line-invisible) (kill-whole-line-read-only, kill-whole-line-after-other-kill) (kill-whole-line-buffer-boundaries) (kill-whole-line-line-boundaries): * test/lisp/whitespace-tests.el (whitespace-tests--with-test-buffer, whitespace-tests--global): Use ert-with-test-buffer instead of ert-with-test-buffer-selected.
* | Tramp: Improve doc of ad-hoc multi-hop file namesMichael Albinus2025-02-231-23/+51
| | | | | | | | | | | | * doc/misc/tramp.texi (Ad-hoc multi-hops, Frequently Asked Questions): Improve description how ad-hoc multi-hop file names can be made persistent. (Bug#65039, Bug#76457)
* | New macros incf and decfStefan Kangas2025-02-231-90/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-lib.el (cl-incf, cl-decf): Move macros from here... * lisp/emacs-lisp/gv.el (incf, decf): ...to here. Make old names into aliases, documented as deprecated. * lisp/obsolete/cl.el: Don't alias incf and decf. * test/lisp/emacs-lisp/cl-lib-tests.el (cl-lib-test-incf) (cl-lib-test-decf): Move tests from here... * test/lisp/emacs-lisp/gv-tests.el (gv-incf, gv-decf): ...to here. * doc/lispref/numbers.texi (Arithmetic Operations): * lisp/emacs-lisp/shortdoc.el (number): Document incf and decf. * doc/lispref/variables.texi (Multisession Variables): * doc/misc/cl.texi (Organization, Modify Macros, Modify Macros) (Modify Macros, Macro Bindings, For Clauses, Property Lists) (Structures, Efficiency Concerns, Obsolete Setf Customization): Delete cl-incf and cl-decf documentation, moving any relevant parts to lispref. Delete some parts that seem to primarily regard implementation details that do not warrant inclusion in lispref. Update all examples to use incf/decf.
* | Delete self-evident explanation from cl.texiStefan Kangas2025-02-221-32/+0
| | | | | | | | | | * doc/misc/cl.texi (Setf Extensions): Delete self-evident explanation.
* | ; Delete obsolete commented out parts from cl.texiStefan Kangas2025-02-221-32/+1
| | | | | | | | | | | | * doc/misc/cl.texi (Modify Macros, Obsolete Setf Customization): Delete commented out documentation that is no longer true, and documentation of a function that was removed in Emacs 24.3.
* | ; Fix typosStefan Kangas2025-02-222-2/+2
| |
* | Use .pem extension for client certs in ERC docsF. Jason Park2025-02-211-7/+14
| | | | | | | | | | | | | | | | | | * doc/misc/erc.texi (Connecting): Change file-name extensions to .pem in all examples, and explain that the key and the cert can be combined into one file. (SASL): Use .pem extension for certs. * lisp/erc/erc.el (erc--warn-once-before-connect): Revise doc. (erc-tls): Use .pem extension for certs. (Bug#76278)
* | Merge from savannah/emacs-30Po Lu2025-02-192-2/+2
|\ \ | |/ | | | | | | | | | | | | | | | | e97be722d39 Properly move existing tooltips on Android 0cf3d341522 ; * ChangeLog.4: Reformat down to 28 March 2024. ccaa0be8e71 ; * ChangeLog.4: Check in ommitted change. b5410cbea2e ; * ChangeLog.4: Fix log entries down to the 1 May 2024. be7625cae73 ; Fix typos d447cd9fcc0 ; * ChangeLog.4: Update. 5dc2a573750 ; * admin/authors.el (authors-ignored-files): Ignore gnus...
| * ; Fix typosStefan Kangas2025-02-182-2/+2
| |
* | Make cl-locally obsoleteStefan Kangas2025-02-181-4/+0
| | | | | | | | | | | | * doc/misc/cl.texi (Declarations): Don't document cl-locally. * lisp/emacs-lisp/cl-macs.el (cl-locally): Make into obsolete function alias for progn.
* | Improve autoconf-mode macro detectionBasil L. Contovounesios2025-02-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/modes.texi (Search-based Fontification): Fix indentation of (MATCHER . FACESPEC) example. * doc/misc/cc-mode.texi (Performance Issues): Index defun-prompt-regexp under variables, not functions. * lisp/progmodes/autoconf.el (autoconf--symbol, autoconf--macro): New rx definitions. (autoconf-definition-regexp): Use an optional second capture group to indicate a function rather than variable definition. Detect AC_DEFINE defining a function-like CPP macro. Skip more shell syntax such as variable ${} expansion and command `` substitution in AC_DEFINE_UNQUOTED variable. Match AH_VERBATIM, AM_CONDITIONAL, and AM_MISSING_PROG as defining variables, and AC_DEFUN, AC_DEFUN_ONCE, AU_ALIAS, and AU_DEFUN as defining functions. Document first capture group in docstring. (autoconf-font-lock-keywords): Use autoconf--macro to match more Autoconf macros, such as those defined in the Autoconf Archive and Gnulib. Reserve font-lock-function-name-face for function definitions as determined by autoconf-definition-regexp, and use font-lock-variable-name-face for the rest instead. Use Font Lock face symbols directly in place of their corresponding variable. Fontify M4 changequote primitive only as a standalone symbol. (autoconf-imenu-generic-expression): Add commentary mentioning new submenu possibility. (autoconf-current-defun-function): Update docstring accuracy. Replace line-end-position with pos-eol since there are no fields. (autoconf-mode): Define defun-prompt-regexp in terms of autoconf--macro to support more toplevel macros, such as those defined in Autoheader, M4sh, etc. Set open-paren-in-column-0-is-defun-start to nil to avoid false positives when an Autoconf quote character is in column zero. * test/lisp/progmodes/autoconf-resources/configure.ac: New file. * test/lisp/progmodes/autoconf-tests.el (autoconf-tests-current-defun-function-define) (autoconf-tests-current-defun-function-subst): Replace character motion with search. (autoconf-tests-autoconf-mode-comment-syntax): Ditto. Test both dnl and # comments. Use syntax-ppss-context. (autoconf-tests-font-lock): New test.
* | New functions plusp and minuspStefan Kangas2025-02-171-11/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-lib.el (cl-plusp, cl-minusp): Move from here... * lisp/subr.el (plusp, minusp): ...to here. Make old names into aliases, documented as deprecated. Add type declarations. Change from defsubst to regular functions with compiler macros. * lisp/obsolete/cl.el: Don't alias plusp and minusp. * test/lisp/emacs-lisp/cl-lib-tests.el (cl-lib-test-plusp) (cl-lib-test-minusp): Move tests from here... * test/lisp/subr-tests.el (subr-test-plusp, subr-test-minusp): ...to here. * doc/lispref/numbers.texi (Predicates on Numbers): Document plusp and minusp. * doc/misc/cl.texi (Predicates on Numbers): Delete cl-plusp and cl-minusp. * lisp/emacs-lisp/shortdoc.el (number): Document plusp and minusp instead of cl-plusp and cl-minusp.
* | New functions oddp and evenpStefan Kangas2025-02-171-12/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-lib.el (cl-oddp, cl-evenp): Move from here... * lisp/subr.el (oddp, evenp): ...to here. Make old names into aliases, documented as deprecated. Add type declarations. * lisp/obsolete/cl.el: Don't alias oddp and evenp. * test/lisp/emacs-lisp/cl-lib-tests.el (cl-lib-test-oddp) (cl-lib-test-evenp): Move tests from here... * test/lisp/subr-tests.el (subr-test-oddp, subr-test-evenp): ...to here. * lisp/emacs-lisp/shortdoc.el (number): Add oddp and evenp. (map): Prefer oddp and evenp to cl-oddp and cl-evenp. * doc/lispref/numbers.texi (Predicates on Numbers): Document above new functions oddp and evenp. * doc/misc/cl.texi (Predicates on Numbers): Delete cl-oddp and cl-evenp. (Other Clauses): Prefer oddp to cl-oddp.
* | Remove some details on which files are loaded from cl.texiStefan Kangas2025-02-171-26/+0
| | | | | | | | | | | | | | * doc/misc/cl.texi (Naming Conventions): Remove section listing functions that do not cause other files than cl-lib.el to be loaded. It lacks practical relevance to the user, and is a hostage to changing implementation details.
* | Tramp: Don't require PuTTY 0.82 anymoreMichael Albinus2025-02-151-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi: Revert last change. * lisp/net/tramp-cache.el (with-tramp-saved-connection-properties): Adapt `tramp-verbose' when completing host names. * lisp/net/tramp-sh.el (tramp-methods) <plink, plinkx, pscp, psftp>: Adapt `tramp-login-args' and `tramp-copy-args' arguments. (tramp-plink-option-exists-p): New defun. (tramp-ssh-or-plink-options): Rename from `tramp-ssh-controlmaster-options'. Adapt further plink options. (tramp-do-copy-or-rename-file-out-of-band) (tramp-maybe-open-connection): Adapt calls. * lisp/net/tramp.el (tramp-file-name-handler): Don't touch `tramp-verbose'. * test/lisp/net/tramp-tests.el (top): Set `vc-handled-backends' to nil. (tramp--test-enabled): Rearrange code.