aboutsummaryrefslogtreecommitdiffstats
path: root/doc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update NEWS and manual after obarray changesscratch/obarrayMattias Engdegård2024-02-173-40/+26
| | | | | | | | * doc/lispref/abbrevs.texi (Abbrev Tables): * doc/lispref/symbols.texi (Creating Symbols): * doc/lispref/objects.texi (Type Predicates): Update text for obarray now being an opaque type. * etc/NEWS: Announce.
* ; Fix markup in last change (bug#68929).Eli Zaretskii2024-02-171-1/+1
|
* Add manual entries for which-keyJeremy Bryant2024-02-172-1/+7
| | | | | * doc/emacs/display.texi (Display Custom): Briefly introduce which-key. * doc/emacs/help.texi (Key Help): Briefly mention which-key.
* Merge from origin/emacs-29Eli Zaretskii2024-02-172-6/+6
|\ | | | | | | | | | | | | | | | | | | | | | | | | 45f9af61b8e Remove references to phst@google.com. 7256690a3ca * BUGS: Note how to report critical security issues. 1035669b38b Add cross-reference to ELisp manual Caveats 61a14507627 Improve directory prompt used by package-vc-checkout 0c7c8210cb6 Minor Tramp doc adaption df243f785d4 Merge branch 'emacs-29' of git.sv.gnu.org:/srv/git/emacs ... 17a395e04c6 ;; Fix typo in the Tramp documentation 614b244a7fa * Improve reproducibility of inferred values by native comp 9f9da26e0dc Handle typescript ts grammar breaking change for function... 717d8c4285f Don't quote 't' in doc strings
| * Add cross-reference to ELisp manual CaveatsStefan Kangas2024-02-151-3/+3
| | | | | | | | | | | | * doc/lispref/intro.texi (Caveats): Add cross-reference to Emacs manual. Talking about "contributing code" makes little sense in a section about reporting mistakes in the ELisp manual, so skip that part.
| * Minor Tramp doc adaptionMichael Albinus2024-02-141-2/+2
| | | | | | | | | | | | | | * doc/misc/tramp.texi (Frequently Asked Questions): Be more precise with FIDO2 keys. * lisp/net/tramp.el: Adapt comments.
| * ;; Fix typo in the Tramp documentationDaniel Martín2024-02-121-1/+1
| |
| * Tramp: Handle PIN requests from security keys (don't merge)Michael Albinus2024-02-091-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (Frequently Asked Questions): Clarify FIDO entry. * lisp/net/tramp-sh.el (tramp-actions-before-shell) (tramp-actions-copy-out-of-band): Use `tramp-security-key-pin-regexp'. * lisp/net/tramp.el (tramp-security-key-pin-regexp): New defcustom. (tramp-action-otp-password, tramp-read-passwd): Trim password prompt. (tramp-action-show-and-confirm-message): Expand for PIN requests.
* | ; Fix last changeEli Zaretskii2024-02-171-4/+6
| | | | | | | | | | | | * doc/misc/epa.texi (Cryptographic operations on regions): Fix wording of the 'epa-keys-select-method's documentation. * lisp/epa.el (epa-keys-select-method): Doc fix (bug#69133).
* | Make key selection method configurable in EPA.Aleksandr Vityazev2024-02-171-0/+7
| | | | | | | | | | | | | | | | | | * lisp/epa.el (epa-keys-select-method): New defcustom. (epa--select-keys-in-minibuffer): New function. (epa-select-keys): Use new option and function. * etc/NEWS: Announce it. * doc/misc/epa.texi (Key Management): Document it. (Bug#69133)
* | Update from Gnulib by running admin/merge-gnulibPaul Eggert2024-02-141-21/+16
| | | | | | | | * lib/strftime.c: New file, copied from Gnulib.
* | Tree-sitter support for outline-minor-mode (bug#68824)Juri Linkov2024-02-124-0/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/text.texi (Outline Format): Add 'outline-search-function'. * doc/lispref/elisp.texi (Top): Add new menu item "Outline Minor Mode" after "Imenu". * doc/lispref/modes.texi (Modes): Add new menu item "Outline Minor Mode" after "Imenu". (Major Mode Conventions): Mention "Outline Minor Mode" with @pxref. (Outline Minor Mode): New node. * doc/lispref/parsing.texi (Tree-sitter Major Modes): Mention 'treesit-outline-predicate' with @pxref. * lisp/treesit.el (treesit-outline-predicate): New buffer-local variable. (treesit-outline-predicate--from-imenu): New internal function. (treesit-outline-search, treesit-outline-level): New functions. (treesit-major-mode-setup): Set up treesit-outline-predicate, outline-search-function and outline-level. * lisp/progmodes/c-ts-mode.el (c-ts-mode--outline-predicate): New internal function. (c-ts-base-mode): Set 'treesit-outline-predicate' to 'c-ts-mode--outline-predicate'. * lisp/progmodes/heex-ts-mode.el (heex-ts-mode): Kill inherited local variables 'outline-heading-end-regexp', 'outline-regexp', 'outline-level'. * lisp/progmodes/lua-ts-mode.el (lua-ts-mode): Remove 'outline-regexp'. Suggested by john muhl <jm@pub.pink>. * lisp/textmodes/html-ts-mode.el (html-ts-mode): Kill inherited local variables 'outline-heading-end-regexp', 'outline-regexp', 'outline-level'.
* | (pcase): New `_` syntax in pred/app functionsStefan Monnier2024-02-111-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current syntax for functions in `app` and `pred` patterns allows a shorthand (F ARGS) where the object being matched is added as an extra last argument. This is nice for things like (pred (< 5)) but sometimes the object needs to be at another position. Until now you had to use (pred (lambda (x) (memq x my-list))) or (pred (pcase--flip memq my-list)) in those cases. So, introduce a new shorthand where `_` can be used to indicate where the object should be passed: (pred (memq _ my-list)) * lisp/emacs-lisp/pcase.el (pcase--split-pred): Document new syntax for pred/app functions. (pcase--funcall): Support new syntax. (pcase--flip): Declare obsolete. (pcase--u1, \`): Use `_` instead. (pcase--split-pred): Adjust accordingly. * doc/lispref/control.texi (pcase Macro): Document new syntax for pred/app functions. * lisp/progmodes/opascal.el (pcase-defmacro): * lisp/emacs-lisp/seq.el (seq--make-pcase-bindings): * lisp/emacs-lisp/eieio.el (eieio): * lisp/emacs-lisp/cl-macs.el (cl-struct, cl-type): Use _ instead of `pcase--flip`. (cl--pcase-mutually-exclusive-p): Adjust accordingly. * lisp/emacs-lisp/map.el (map--pcase-map-elt): Declare obsolete. (map--make-pcase-bindings): Use `_` instead.
* | Add the public API of Compat to the corePhilip Kaludercic2024-02-111-0/+48
| | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/compat.el: Add stub file with minimal definitions, so that core packages, that haven't been installed from ELPA, can make use of the public API and use more recent function signatures. * lisp/progmodes/python.el (compat): Remove 'noerror flag, because Compat can now be required without the real package being available. * doc/lispref/package.texi (Forwards-Compatibility): Mention Compat and link to the manual. * etc/NEWS: Document change. (Bug#66554)
* | Fix behavior of gnus-summary-very-wide-reply with prefix argEric Abrahamsen2024-02-101-4/+5
| | | | | | | | | | | | | | | | | | | | * lisp/gnus/gnus-msg.el (gnus-summary-very-wide-reply): If a prefix argument has been given, the value of YANK will be a list containing the current article number. This should not be used to retrieve a number of work articles; that should be derived from the value of the current-prefix-arg (or marked articles). * doc/misc/gnus.texi: The interplay of prefix arg and marked articles is complex; attempt to clarify.
* | Merge from origin/emacs-29Eli Zaretskii2024-02-101-16/+18
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7d3a1444864 ; Mention defface's and their :version tags in CONTRIBUTE. 09c53b717d4 * admin/notes/kind-communication: New file. 31ca4e5501f ; And another fix of CONTRIBUTE. d65499e7908 ; Another clarification in CONTRIBUTE. 571ec583d64 ; Clarify "ChangeLog entries" in CONTRIBUTE. e2682316867 Don't skip links to "." and ".." in Dired when marking files e25d11314d8 Pass unquoted filename to user-supplied MUSTMATCH predicate 47496993703 * doc/lispref/parsing.texi (Retrieving Nodes): Improve do... d0673ea0d42 ; * etc/PROBLEMS: Workaround for Windows key "stuck" (bug... * lisp/emacs-lisp/trace.el: * java/org/gnu/emacs/EmacsWindow.java (onDragEvent): Remove training whitespace.
| * * doc/lispref/parsing.texi (Retrieving Nodes): Improve documentation.Juri Linkov2024-02-041-11/+14
| | | | | | | | | | Update optional arguments 'predicate' and 'include-node' of 'treesit-node-top-level'.
| * ; Fix last change in package.texiEli Zaretskii2024-01-281-5/+7
| | | | | | | | | | | | | | * doc/lispref/package.texi (Multi-file Packages): Fix wording and markup. (Bug#65027) (cherry picked from commit 6d76e3991241905b0841effc6f8cd42394d9aa64)
| * * doc/lispref/package.texi (Multi-file Packages): Document ".elpaignore".Jim Porter2024-01-281-0/+7
| | | | | | | | (cherry picked from commit 744a10a4d722a361bc21561b4162045e4ec97ed6)
* | Add concept indices for some Eshell commandsJim Porter2024-02-091-2/+9
| | | | | | | | | | | | * doc/misc/eshell.texi (List of Built-ins): Add indices for some directory- and process-related commands. (Aliases): Change to concept index.
* | In Eshell manual, put command index anchors above the itemJim Porter2024-02-091-67/+67
| | | | | | | | | | | | | | | | | | This makes sure that when navigating to the command's documentation from the index, it shows the item heading (which lists the supported arguments). * doc/misc/eshell.texi (List of Built-ins, Tramp extensions) (Extra built-in commands): Adjust placement of '@cmindex'.
* | Put the list of built-in Eshell commands in its own manual nodeJim Porter2024-02-091-3/+13
| | | | | | | | | | | | | | | | * doc/misc/eshell.texi (Built-ins): Fix capitalization of node to be more consistent with the rest of the manual. Fix a cross reference. List child nodes. (List of Built-ins): New section and node. (Defining New Built-ins): Make this a node. Fix capitalization.
* | Tramp: Handle PIN requests from security keysMichael Albinus2024-02-091-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (Frequently Asked Questions): Clarify FIDO entry. * lisp/net/tramp-sh.el (tramp-actions-before-shell) (tramp-actions-copy-out-of-band): Use `tramp-security-key-pin-regexp'. * lisp/net/tramp.el (tramp-security-key-pin-regexp): New defcustom. (tramp-action-otp-password, tramp-read-passwd): Trim password prompt. (tramp-action-show-and-confirm-message): Expand for PIN requests.
* | ; Improve documentation of 'echo-keystrokes-help'Eli Zaretskii2024-02-081-0/+7
| | | | | | | | | | | | | | * doc/emacs/display.texi (Display Custom): Document 'echo-keystrokes-help'. * etc/NEWS: Mark the 'echo-keystrokes-help' entry documented.
* | Document arguments to Eshell's built-in commandsJim Porter2024-02-041-165/+489
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/eshell/em-unix.el (eshell/ln): LINK_NAME is required. * lisp/eshell/esh-ext.el (eshell/addpath): * lisp/eshell/esh-var.el (eshell/env): Improve help strings slightly. * doc/misc/eshell.texi (Scripts): Explain $0, $1, etc. (Dollars Expansion): Use "@dots{}" instead of "...". (Built-ins, Tramp extensions, Extra built-in commands): Document command-line arguments.
* | Use treesit-node-match-p in treesit-parent-until/whileYuan Fu2024-02-041-7/+10
| | | | | | | | | | | | * lisp/treesit.el (treesit-parent-until): Use treesit-node-match-p. (treesit-parent-while): Update docstring. * doc/lispref/parsing.texi (Retrieving Nodes): Update docstring.
* | * doc/emacs/buffers.texi (List Buffers): Update exampleStefan Monnier2024-02-031-1/+1
| |
* | Process read-symbol-shorthands from longest to shortest (bug#67390)João Távora2024-02-031-0/+17
| | | | | | | | | | | | | | | | | | | | | | This ensures that overlapping shorthands are handled correctly and consistently even if specified out-of-order by the user. * doc/lispref/symbols.texi (Shorthands): Describe shorthand sort order. * lisp/files.el (hack-local-variables--find-variables): Specially handle read-symbol-shorthands.
* | ; * doc/lispref/sequences.texi (Sequence Functions): Fix typo.Eli Zaretskii2024-02-021-1/+1
| |
* | ; Another fix of last change.Eli Zaretskii2024-02-021-7/+8
| |
* | ; Fix last changeEli Zaretskii2024-02-021-19/+19
| | | | | | | | | | | | | | * lisp/sort.el (sort-on): Doc fix. * doc/lispref/sequences.texi (Sequence Functions): Fix description of 'sort-on'.
* | ; Fix last changeEli Zaretskii2024-02-021-0/+2
| | | | | | | | | | * doc/lispref/sequences.texi (Sequence Functions): Improve indexing of last change
* | New function 'sort-on'Eli Zaretskii2024-02-021-4/+33
| | | | | | | | | | | | | | | | | | * lisp/sort.el (sort-on): New function. Patch by John Wiegley <jwiegley@gmail.com>. * etc/NEWS: * doc/lispref/sequences.texi (Sequence Functions): Document 'sort-on'.
* | ; * doc/emacs/basic.texi (Continuation Lines): Rearrange pxref.Po Lu2024-02-011-8/+8
| |
* | Introduce a global variant of visual-wrap-prefix-modePo Lu2024-02-011-7/+10
| | | | | | | | | | | | | | | | | | | | * doc/emacs/basic.texi (Continuation Lines): * etc/NEWS: * lisp/visual-wrap.el (visual-wrap-prefix-mode): Document this new global minor mode. (global-visual-wrap-prefix-mode): New global minor mode.
* | Eliminate lazy bytecode loadingMattias Engdegård2024-01-312-67/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The obsolete lazy-loaded bytecode feature, enabled by `byte-compile-dynamic`, slows down Lisp execution even when not in use because every call to a bytecode function has to check that function for laziness. This change forces up-front loading of all lazy bytecode so that we can remove all those checks. (Dynamically loaded doc strings are not affected.) There is no point in generating lazy bytecode any more so we stop doing that; this simplifies the compiler. `byte-compile-dynamic` now has no effect. This is a fully compatible change; the few remaining users of `byte-compile-dynamic` should not notice any difference. * src/lread.c (bytecode_from_rev_list): Force eager loading of lazy bytecode. * src/bytecode.c (exec_byte_code): Remove lazy bytecode checks. * src/eval.c (fetch_and_exec_byte_code, Ffetch_bytecode): Remove. (funcall_lambda): Call exec_byte_code directly, avoiding checks. * lisp/subr.el (fetch-bytecode): New definition, obsolete no-op. * lisp/emacs-lisp/disass.el (disassemble-1): * lisp/emacs-lisp/bytecomp.el (byte-compile-unfold-bcf): Remove calls to fetch-bytecode. (byte-compile-dynamic): Update doc string. (byte-compile-close-variables, byte-compile-from-buffer) (byte-compile-insert-header, byte-compile-output-file-form) (byte-compile--output-docform-recurse, byte-compile-output-docform) (byte-compile-file-form-defmumble): Remove effects of byte-compile-dynamic. * doc/lispref/compile.texi (Dynamic Loading): Remove node now that the entire `byte-compile-dynamic` facility has been rendered inert. * etc/NEWS: Announce changes.
* | ; Fix typosStefan Kangas2024-01-282-2/+2
| |
* | ; Fix last change in package.texiEli Zaretskii2024-01-281-5/+7
| | | | | | | | | | * doc/lispref/package.texi (Multi-file Packages): Fix wording and markup. (Bug#65027)
* | * doc/lispref/package.texi (Multi-file Packages): Document ".elpaignore".Jim Porter2024-01-271-0/+7
| |
* | Allow users to opt out of following Windows Dark modeEli Zaretskii2024-01-271-6/+17
| | | | | | | | | | | | | | | | | | | | | | * src/w32fns.c (globals_of_w32fns) <w32-follow-system-dark-mode>: New variable. (w32_applytheme): Disable application of Dark mode if 'w32-follow-system-dark-mode' is nil. * etc/NEWS: * doc/emacs/msdos.texi (Windows Misc): Document 'w32-follow-system-dark-mode'.
* | ; * doc/misc/calc.texi (Fractions): Fix typos. (Bug#66944)Eli Zaretskii2024-01-271-3/+3
| |
* | Calc parses fractions written using U+2044 FRACTION SLASHDaniel Brooks2024-01-271-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fractions of the form 123⁄456 are handled as if written 123:456. Note in particular the difference in behavior from U+2215 DIVISION SLASH and U+002F SOLIDUS, which result in division rather than a rational fraction. * lisp/calc/calc-aent.el (math-read-replacement-list): Substitute a colon for any fraction slash. (Bug#66944) * test/lisp/calc/calc-tests.el (calc-frac-input): Test various fraction types. * etc/NEWS: * doc/misc/calc.texi (Fractions): Mention fraction slash, precomposed fractions. Copyright-paperwork-exempt: yes
* | Merge from origin/emacs-29Eli Zaretskii2024-01-274-13/+23
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 53481cc9546 Fix description of when "\xNNN" is considered a unibyte c... 1ef8b90ae06 Simplify imenu setup for {cmake,dockerfile}-ts-modes 7338af9c986 ; * etc/PROBLEMS: Document that GnuPG 2.4.4 solves the Ea... 5483a1df99c Improve documentation of profiler commands fb4cf0ab46d ; Fix xref under Output Overrides in Elisp manual. aa6c24da61f Fix broken links to Freedesktop notifications spec 14d68221d26 Fix nasty cut'n'waste error in Tramp 51ca049608c Fix image-dired-tags-db-file void variable error c450eec07ff typescript-ts-mode: Skip test if tsx grammar missing 9841ced147f ; Fix typos 557ed9c0463 * admin/README: Document the run-codespell script. 5701f96335c * admin/README: Fix entry on coccinelle subdirectory. 1805f4bfd62 Add script admin/run-codespell and supporting files
| * Fix description of when "\xNNN" is considered a unibyte characterEli Zaretskii2024-01-271-7/+8
| | | | | | | | | | | | * doc/lispref/objects.texi (Non-ASCII in Strings): More accurate description of when a hexadecimal escape sequence yields a unibyte character. (Bug#68751)
| * Improve documentation of profiler commandsEli Zaretskii2024-01-241-4/+13
| | | | | | | | | | * doc/lispref/debugging.texi (Profiling): Document more commands. Improve indexing. (Bug#68693)
| * ; Fix xref under Output Overrides in Elisp manual.Basil L. Contovounesios2024-01-231-1/+1
| |
| * Fix broken links to Freedesktop notifications specBasil L. Contovounesios2024-01-231-1/+1
| | | | | | | | | | | | * doc/lispref/os.texi (Desktop Notifications): * lisp/notifications.el: Replace broken developer.gnome.org links with specifications.freedesktop.org (bug#67939).
| * Sync with Tramp 2.6.3-pre (don't merge with master)Michael Albinus2024-01-202-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (Obtaining @value{tramp}): Mention the ELPA Tramp manual. (Remote processes): Adapt index. * doc/misc/trampver.texi: * lisp/net/trampver.el (tramp-version): Set to "2.6.3-pre". * lisp/net/tramp.el (tramp-local-host-regexp): Extend. Adapt :version. (tramp-signal-process): PROCESS can also be a string. (tramp-skeleton-directory-files): * lisp/net/tramp-cache.el (with-tramp-saved-file-property) (with-tramp-saved-file-properties) (with-tramp-saved-connection-property) (with-tramp-saved-connection-properties): Use `setf' but `setq' in macro. * lisp/net/tramp-compat.el (tramp-compat-funcall): Declare debug. * lisp/net/tramp-crypt.el (tramp-crypt-file-name-p): Exclude lock files. (tramp-crypt-file-name-handler-alist): Use `identity' for `abbreviate-file-name'. (tramp-crypt-add-directory, tramp-crypt-remove-directory): Adapt docstrings. (tramp-crypt-cleanup-connection): New defun. Add it to `tramp-cleanup-connection-hook' * lisp/net/tramp.el (tramp-skeleton-file-name-all-completions): Handle "." and "..". * lisp/net/tramp-adb.el (tramp-adb-handle-file-name-all-completions): * lisp/net/tramp-fuse.el (tramp-fuse-handle-file-name-all-completions): * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-name-all-completions): Remove special handling of "." an "..". * lisp/net/tramp-sh.el (tramp-pipe-stty-settings): New defcustom. (tramp-sh-handle-make-process): Use it. (Bug#62093) * test/lisp/net/tramp-tests.el (tramp-test18-file-attributes): Adapt test. (tramp-test31-signal-process): Extend.
* | Merge from origin/emacs-29Eli Zaretskii2024-01-271-2/+2
|\ \ | |/ | | | | | | | | | | 3a541b25df5 Update Polish translation of tutorial 6df731431ad * doc/misc/gnus.texi (Summary Mail Commands): Fix command... 409bb8eb243 ; * doc/misc/gnus.texi (Scoring): Typo (bug#68581). 25734dd40c1 ; Delete pre-release remainder in NEWS.27
| * * doc/misc/gnus.texi (Summary Mail Commands): Fix command name.Michael Albinus2024-01-191-1/+1
| |