summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAge
...
* | Allow tabbing between widgets to skip inactive widgets (bug#70413)Stephen Berman2024-04-17
| | | | | | | | | | | | | | | | | | | | * doc/misc/widget.texi (Widgets and the Buffer, Customization): Document it. * etc/NEWS: Announce it. * lisp/wid-edit.el (widget-skip-inactive): New user option. (widget-tabable-at): Use it.
* | ; Improvements to PEG documentation (second attempt)Eric Abrahamsen2024-04-16
| | | | | | | | | | | | | | * doc/lispref/peg.texi: Make more use of defmac/defmacro, and try to clarify the relationships between the various macros and functions. * lisp/progmodes/peg.el (peg-parse): Remove claim that PEXS can also be a single list of rules.
* | Revert "; Improvements to PEG documentation"Mattias Engdegård2024-04-16
| | | | | | | | | | This reverts commit 930c578c1042e6372e5433e31b2ea801315c01c9. Looks like an editing mistake ate a large part of the text.
* | ; Improvements to PEG documentationEric Abrahamsen2024-04-15
| | | | | | | | | | | | | | * doc/lispref/peg.texi: Make more use of defmac/defmacro, and try to clarify the relationships between the various macros and functions. * lisp/progmodes/peg.el (peg-parse): Remove claim that PEXS can also be a single list of rules.
* | Rewrite Android description of Android window managementPo Lu2024-04-15
| | | | | | | | | | | | * doc/emacs/android.texi (Android Environment): Rewrite several paragraphs to better reflect recent changes and emphasize behavior on modern OS releases.
* | Add 'forward-sexp-default-function' to be used by 'treesit-forward-sexp'Juri Linkov2024-04-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/lisp.el (forward-sexp-default-function): New function with body from 'forward-sexp' (bug#68993). (forward-sexp-function): Change the default value from nil to 'forward-sexp-default-function'. (forward-sexp): Use either 'forward-sexp-function' or 'forward-sexp-default-function'. * lisp/treesit.el (treesit-forward-sexp): In nodes of type 'text' fall back to 'forward-sexp-default-function'. Improve docstring. * doc/lispref/positions.texi (List Motion): Fix pxref.
* | text.texi (Tracking changes): Fix warningStefan Monnier2024-04-14
| | | | | | | | | | * doc/lispref/text.texi (Change Hooks): Add a menu to silence warnings. (Tracking changes): Improve the title.
* | Add command 'list-keyboard-macros' that works like 'list-buffers'.Earl Hyatt2024-04-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The command 'list-keyboard-macros' allows editing and re-arranging macros using 'tabulated-list-mode'. Existing keyboard macros can be duplicated or deleted. Macro counters and counter formats can take new values read from the minibuffer. Macro keys can be edited using 'edit-kbd-macro'. * doc/emacs/kmacro.texi (Kmacro Menu): Document the new command and the menu's commands. * etc/NEWS (Kmacro Menu Mode): Mention the new mode and command. * lisp/kmacro.el (kmacro-menu-mark, kmacro-menu-marked) (kmacro-menu-flagged): Add faces for marks and flags. * lisp/kmacro.el (kmacro-menu-mode-map, kmacro-menu-mode): Add mode and map. * lisp/kmacro.el (list-keyboard-macros, kmacro-menu): Add command. * lisp/kmacro.el (kmacro-menu--deletion-flags, kmacro-menu--marks) (kmacro-menu--id-kmacro, kmacro-menu--id-position, kmacro-menu--kmacros) (kmacro-menu--refresh, kmacro-menu--map-ids, kmacro-menu--replace-all) (kmacro-menu--replace-at, kmacro-menu--query-revert, kmacro-menu--assert-row) (kmacro-menu--propertize-keys, kmacro-menu--do-region) (kmacro-menu--marks-exist-p): Add utility functions of mode and commands. * lisp/kmacro.el (kmacro-menu-mark, kmacro-menu-flag-for-deletion) (kmacro-menu-unmark, kmacro-menu-unmark-backward) (kmacro-menu-unmark-all): Add commands for marks and flags. * lisp/kmacro.el (kmacro-menu-do-flagged-delete, kmacro-menu-do-copy) (kmacro-menu-do-delete): Add commands that modify the ring. * lisp/kmacro.el (kmacro-menu-edit-position, kmacro-menu-transpose) (kmacro-menu-edit-format, kmacro-menu-edit-counter) (kmacro-menu-edit-keys, kmacro-menu-edit-column): Add commands that modify a keyboard macro.
* | (define-globalized-minor-mode): Require the use of `run-mode-hooks`Stefan Monnier2024-04-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When `define-globalized-minor-mode` was introduced (Emacs-22), `run-mode-hooks` was brand new, so we could not expect all major modes to use it and we had to rely on brittle workarounds to try and approximate `after-change-major-mode-hook`. These workarounds have undesirable side effects, and (we hope) they're not needed any more now that virtually all major modes have been changed to use `run-mode-hooks` (or `define-derived-mode`). * lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Rely only on `after-change-major-mode-hook`, remove the "cmhh" [typo for the intended "cmmh", BTW] workaround. * doc/lispref/modes.texi (Mode Hooks): Clarify the importance of `after-change-major-mode-hook` w.r.t `define-globalized-minor-mode`. (Defining Minor Modes): Rewrite the explanation of which buffers are affected, including adjusting it to the fact that `fundamental-mode` has used run `run-mode-hooks` for last 10 years.
* | Merge branch 'track-changes'Stefan Monnier2024-04-13
|\ \
| * | lisp/emacs-lisp/track-changes.el: New file (bug#70077)Stefan Monnier2024-04-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This new package provides an API that is easier to use right than our `*-change-functions` hooks. The patch includes changes to `diff-mode.el` and `eglot.el` to make use of this new package. * lisp/emacs-lisp/track-changes.el: New file. * test/lisp/emacs-lisp/track-changes-tests.el: New file. * doc/lispref/text.texi (Tracking changes): New subsection. * lisp/progmodes/eglot.el: Require `track-changes`. (eglot--virtual-pos-to-lsp-position): New function. (eglot--track-changes): New var. (eglot--managed-mode): Use `track-changes-register` i.s.o `after/before-change-functions` when available. (eglot--track-changes-signal): New function, partly extracted from `eglot--after-change`. (eglot--after-change): Use it. (eglot--track-changes-fetch): New function. (eglot--signal-textDocument/didChange): Use it. * lisp/vc/diff-mode.el: Require `track-changes`. Also require `easy-mmode` before the `eval-when-compile`s. (diff-unhandled-changes): Delete variable. (diff-after-change-function): Delete function. (diff--track-changes-function): Rename from `diff-post-command-hook` and adjust to new calling convention. (diff--track-changes): New variable. (diff--track-changes-signal): New function. (diff-mode, diff-minor-mode): Use it with `track-changes-register`.
* | | Merge from origin/emacs-29Eli Zaretskii2024-04-13
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f0300fb0597 ; Tweak "(emacs)Bug Reference" formatting/wording. ea62a14ea3b Fix display of vscrolled windows 4cefa3c0b1f ; * doc/emacs/files.texi (Backup): Clarify "saving" (bug#... db7b571aaaf ; Improve documentation of 'world-clock' 6a0bb7beae3 * doc/emacs/misc.texi (emacsclient Options): Suggest forw... 859b4227e3d Update go-ts-mode to support latest tree-sitter-go grammar 407e85ce139 Fix c++-ts-mode defun navigation (bug#65885) aca5064f128 ; Fix last change. 55aab2d4710 ; * etc/PROBLEMS: An entry about focus issues with XFCE (... 19cee16576e ; * doc/emacs/misc.texi (emacsclient Options): Fix typo. ... 2a41b6ba514 ; * src/filelock.c (Flock_file): Doc fix (bug#70216).
| * | ; Tweak "(emacs)Bug Reference" formatting/wording.Basil L. Contovounesios2024-04-13
| | |
| * | ; * doc/emacs/files.texi (Backup): Clarify "saving" (bug#70326).Eli Zaretskii2024-04-10
| | |
| * | * doc/emacs/misc.texi (emacsclient Options): Suggest forwarding sockets.Peter Oliver2024-04-10
| | | | | | | | | | | | (Bug#66667)
| * | ; * doc/emacs/misc.texi (emacsclient Options): Fix typo. (Bug#70238)Michael Albinus2024-04-07
| | |
* | | ; Fix documentation of last change.Eli Zaretskii2024-04-13
| | | | | | | | | | | | | | | | | | * etc/NEWS: * doc/lispref/display.texi (Other Display Specs): * doc/lispref/text.texi (Special Properties): Fix last changes.
* | | Support tooltips for fringe indicatorsVladimir Kazanov2024-04-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/xdisp.c (note_fringe_highlight): New function. (note_mouse_highlight): Call it when the mouse is on the fringes. * src/frame.c (syms_of_frame) <left-fringe-help> <right-fringe-help>: DEFSYM them. * etc/NEWS: * doc/lispref/text.texi (Special Properties): * doc/lispref/display.texi (Other Display Specs): Document the new properties. * etc/TODO: Remove the todo item about this.
* | | ; Improve documentation of tree-sitter "things"Eli Zaretskii2024-04-13
| | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/parsing.texi (User-defined Things): Fix text, punctuation, and markup. (Tree-sitter Major Modes): Add the missing "things" reference. * etc/NEWS: Fix "thing"-related entries.
* | | ; Fix documentation of a recent change in dbus.el (bug#70301)Eli Zaretskii2024-04-12
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/dbus.el (dbus-string-to-byte-array) (dbus-byte-array-to-string): * etc/NEWS: * doc/misc/dbus.texi (Type Conversion): Fix documentation of these two D-Bus functions.
* | | Improve D-Bus byte-array conversionMichael Albinus2024-04-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/dbus.texi (Type Conversion): Adapt dbus-byte-array-to-string. * etc/NEWS: D-Bus byte array conversion works over raw UTF-8 bytes. Fix typos. * lisp/net/dbus.el (dbus-string-to-byte-array) (dbus-byte-array-to-string): BYTE-ARRAY must be an UTF-8 raw bytes sequence. Make optional argument MULTIBYTE obsolete. (Bug#70301) (dbus-call-method-handler, dbus-register-signal) (dbus-escape-as-identifier): Use `length=' and `length>'. * test/lisp/net/dbus-tests.el (dbus--test-method-handler) (dbus-test09-get-managed-objects): Use `length='. (dbus-test01-type-conversion): Extend test. * test/lisp/net/secrets-tests.el (secrets-test03-items): Extend test.
* | | ; Improve documentation of completion commandsEli Zaretskii2024-04-11
| | | | | | | | | | | | | | | * doc/emacs/mini.texi (Completion Commands): Mention that '?' also shows a couple of commands.
* | | * doc/lispref/parsing.texi (Parsing Program Source): Fix menu.Juri Linkov2024-04-10
| |/ |/| | | | | Add the new node "User-defined Things" to the menu.
* | Improve documentation of Text ModeEli Zaretskii2024-04-08
| | | | | | | | | | * doc/emacs/text.texi (Text Mode): Improve indexing. Document 'text-mode-ispell-word-completion'.
* | Document tree-sitter things feature (bug#70016) (bug#68824)Yuan Fu2024-04-07
| | | | | | | | | | | | | | | | * doc/lispref/parsing.texi (Retrieving Nodes): Mention new kinds of predicate argument that the tree-traversing functions accept (which are thing symbols and thing definitions). (User-defined Things): New node dedicated to thing definition and navigation functions.
* | Port new Android window management strategy to Android 5.0Po Lu2024-04-07
| | | | | | | | | | | | | | | | | | | | * doc/emacs/android.texi (Android Windowing): Revise to match. * java/org/gnu/emacs/EmacsWindowManager.java (registerWindow) (removeWindowConsumer, pruneWindows): Decrease minimum API for monitoring of tasks to Android 5.0. (getTaskToken): Ignore misleading documentation and access baseIntent by way of RecentTaskInfo.
* | Merge from origin/emacs-29Eli Zaretskii2024-04-06
|\| | | | | | | | | | | | | 3d87d74a23d ; * etc/PROBLEMS: Entry about slow mouse-wheel with GTK3 ... c6899603b9c ; * doc/lispref/tips.texi (Documentation Tips): Improve (... bd2c4d825db ; Update admin/make-tarball.txt f107dc26e37 ; * etc/PROBLEMS: Add an entry about WebKitGTK (bug#66068).
| * ; * doc/lispref/tips.texi (Documentation Tips): Improve (bug#70163).Eli Zaretskii2024-04-04
| |
| * Adapt Tramp versio (don't merge)Michael Albinus2024-03-31
| | | | | | | | | | | | | | * doc/misc/trampver.texi: * lisp/net/trampver.el: Change version to "2.6.3". (customize-package-emacs-version-alist): Adapt Tramp version integrated in Emacs 29.3.
* | ; * doc/lispref/commands.texi (Focus Events): Fix markup of last change.Eli Zaretskii2024-04-06
| |
* | Add documentation for 'switch-window' eventJared Finder2024-04-06
| | | | | | | | | | | | | | | | | | * doc/lispref/commands.texi (Focus Events): Add documentation for the structure of 'switch-window' events. Make sure to be clear when referring to window system windows vs Emacs windows. * doc/lispref/windows.texi (Mouse Window Auto-selection): Adding cross-reference to "Focus Events". (Bug#69915)
* | ; Fix indentation in last change to windows.texi.Basil L. Contovounesios2024-04-05
| |
* | Enable relinquishing access to Android content directoriesPo Lu2024-04-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/android.texi (Android Document Providers): Document new command. * java/org/gnu/emacs/EmacsService.java (relinquishUriRights): New function. * src/Makefile.in (SOME_MACHINE_OBJECTS): Add androidvfs.c. * src/android.c (android_init_emacs_service): Link to new function. * src/android.h (struct android_emacs_service) <relinquish_uri_rights>: New field. * src/androidfns.c: * src/androidvfs.c (android_saf_tree_name) (android_saf_tree_opendir): Minor adjustments to commentary. (Fandroid_relinquish_directory_access): New function. (syms_of_androidvfs): Define new subr.
* | ; * doc/misc/cl.texi (Function Bindings): Fix reference.Michael Albinus2024-04-04
| |
* | Revise android.texi to agree with last changePo Lu2024-04-03
| | | | | | | | | | * doc/emacs/android.texi (Android Windowing): Revise to agree with last change
* | json-insert doc fixesMattias Engdegård2024-04-02
| | | | | | | | | | | | * src/json.c (Fjson_insert): Precise the behaviour when the current buffer is multibyte and unibyte, respectively. * doc/lispref/text.texi (Parsing JSON): Refer to the right function.
* | New condition/action entry 'category' for 'display-buffer' (bug#69983)Juri Linkov2024-04-02
| | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/windows.texi (Choosing Window): Provide an example of using '(category . comint)' in the condition of 'display-buffer-alist' and in the action of 'display-buffer'. (Buffer Display Action Alists): Add a new action alist entry 'category'. * lisp/subr.el (buffer-match-p): Add a new condition 'category'. * lisp/window.el (display-buffer): Document a new action alist entry 'category'.
* | ; * doc/lispref/processes.texi: use @code for keywords in @tableMattias Engdegård2024-04-01
| | | | | | | | See discussion in bug#69709.
* | Add support for `ch' and `cw' dimension specifiers for imagesZajcev Evgeny2024-04-01
| | | | | | | | | | | | | | | | | | | | * src/image.c (image_get_dimension, lookup_image): Handle `ch' and `cw' dimension specifiers in addition to `em'. * src/dispextern.h: Add new members `face_font_height' and `face_font_width' to `struct image'. * doc/lispref/display.texi (Image Descriptors): Document `ch' and `cw'.
* | Add global minor mode 'global-completion-preview-mode'Eshel Yaron2024-03-31
| | | | | | | | | | | | | | | | | | | | | | This is a global variant of 'completion-preview-mode'. * lisp/completion-preview.el (global-completion-preview-mode): New global minor mode. * doc/emacs/programs.texi (Symbol Completion): Document it. * etc/NEWS: Announce it. (Bug#70010)
* | Fix the new PEG libraryEli Zaretskii2024-03-31
| | | | | | | | | | | | | | | | | | | | | | * doc/lispref/peg.texi (Parsing Expression Grammars) (PEX Definitions, Parsing Actions, Writing PEG Rules): Fix markup, indexing, and wording. * etc/NEWS: Fix wording of PEG entry. * test/lisp/progmodes/peg-tests.el: Move from test/lisp/, to match the directory of peg.el.
* | Add peg.el as a built-in libraryEric Abrahamsen2024-03-30
| | | | | | | | | | | | * lisp/progmodes/peg.el: New file, taken from ELPA package. * test/lisp/peg-tests.el: Package tests. * doc/lispref/peg.texi: Documentation.
* | Always enable native JSON support and remove Jansson referencesMattias Engdegård2024-03-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/json.c (Fjson__available_p): Remove. * lisp/subr.el (json-available-p): Always return t. * admin/nt/dist-build/build-dep-zips.py: * configure.ac: * doc/lispref/text.texi (Parsing JSON): * java/INSTALL: * java/org/gnu/emacs/EmacsNative.java (EmacsNative): * lisp/term/w32-win.el (dynamic-library-alist): * m4/ndk-build.m4 (ndk_INIT): * msdos/sed1v2.inp: * nt/INSTALL: * nt/INSTALL.W64: * src/Makefile.in: * src/emacs.c (main): * src/lisp.h: Remove JSON configuration options and references to it and Jansson from documentation and build files. * etc/NEWS: Announce.
* | Add use-package-vc-prefer-newest user optionTony Zorman2024-03-30
| | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/use-package/use-package-core.el (use-package-vc-prefer-newest): User option to prefer the latest commit (as opposed to the latest release) of a package. (use-package-normalize--vc-arg): Check for use-package-vc-prefer-newest. * doc/misc/use-package.texi (Install package): Document use-package-vc-prefer-newest. * etc/NEWS: Document use-package-vc-prefer-newest.
* | Merge from origin/emacs-29Eli Zaretskii2024-03-30
|\| | | | | | | | | 38faacf353f Improve documentation of <Delete> in user manual 9d3d77f12da Fix documentation of 'other-window-for-scrolling'
| * Improve documentation of <Delete> in user manualEli Zaretskii2024-03-25
| | | | | | | | | | * doc/emacs/basic.texi (Erasing): Document that <Delete> deletes entire grapheme clusters.
* | `value<` manual entry adjustments (bug#69709)Mattias Engdegård2024-03-29
| | | | | | | | | | | | * doc/lispref/sequences.texi (Sequence Functions): Explain lexicographical ordering. Note the dual nature of `nil`. Mention the depth limit.
* | ; * doc/lispref/sequences.texi (Sequence Functions): Fix markup and examples.Eli Zaretskii2024-03-29
| |
* | Remove `sort-on` (bug#69709)Mattias Engdegård2024-03-29
| | | | | | | | | | | | | | | | * lisp/sort.el (sort-on): * doc/lispref/sequences.texi (Sequence Functions): * etc/NEWS: Remove the `sort-on` function which is now completely superseded by the extended `sort` in features, ease of use, and performance.
* | Use new-style `sort` signature in Lisp manual examplesMattias Engdegård2024-03-29
| | | | | | | | | | | | * doc/lispref/help.texi (Accessing Documentation): * doc/lispref/strings.texi (Text Comparison): Use the new sort calling convention (bug#69709).