summaryrefslogtreecommitdiff
path: root/doc/lispref/keymaps.texi
Commit message (Collapse)AuthorAgeFilesLines
* ; Add 2024 to copyright yearsPo Lu2024-01-021-1/+1
|
* ; Fix typosStefan Kangas2023-12-031-1/+1
|
* ; Fix doc typos (Bug#65868)shynur2023-09-111-1/+1
|
* ; * doc/lispref/keymaps.texi (Modifying Menus): Add cross-references.Eli Zaretskii2023-07-181-8/+9
|
* ; * doc/lispref/keymaps.texi (Extended Menu Items): Add @pxref.Eli Zaretskii2023-07-181-1/+2
|
* ; * doc/lispref/keymaps.texi (Key Binding Commands): Fix typo.Eli Zaretskii2023-07-071-1/+1
|
* ; Improve documentation of key-binding commandsEli Zaretskii2023-07-061-1/+10
| | | | | | | | | * doc/lispref/keymaps.texi (Key Binding Commands): Improve the documentation of arguments expected by key binding commands. * lisp/keymap.el (keymap-set, keymap-global-set) (keymap-local-set, keymap-global-unset, keymap-local-unset) (keymap-unset, key-parse): Doc fixes.
* ; Fix typos in documented names of keymap-* functionsEli Zaretskii2023-07-031-2/+2
| | | | | * doc/lispref/keymaps.texi (Functions for Key Lookup): Fix typos in function names. (Bug#64434)
* ; Fix description of new 'keymap-*' functionsEli Zaretskii2023-04-051-8/+11
| | | | | | | * doc/lispref/keymaps.texi (Prefix Keys): Fix example (bug#62673). (Functions for Key Lookup): Clarify the possible values of KEYMAP argument of 'keymap-lookup'. (Active Keymaps): Fix typo in function name; add cross-reference.
* Expand defvar-keymap documentationRobert Pluim2023-03-211-0/+61
| | | | * doc/lispref/keymaps.texi (Creating Keymaps): Describe the :repeat keyword.
* Warn package authors away from keymap-unset with REMOVERobert Pluim2023-03-201-0/+6
| | | | | * doc/lispref/keymaps.texi (Changing Key Bindings): Ask package authors to not use the REMOVE argument to `keymap-unset'.
* ; Minor copyedits of recent changes in ELisp reference manualEli Zaretskii2023-03-181-3/+3
| | | | | * doc/lispref/keymaps.texi (Changing Key Bindings): Fix wording and markup.
* ; Fix markup in previous changeRobert Pluim2023-03-171-11/+12
|
* Document `keymap-unset' in lisprefRobert Pluim2023-03-171-0/+11
| | | | | * doc/lispref/keymaps.texi (Changing Key Bindings): Document keymap-unset.
* Improve `keymap-set-after' documentationRobert Pluim2023-01-201-8/+10
| | | | | * doc/lispref/keymaps.texi (Changing Key Bindings): Mention `key-valid-p' (Modifying Menus): Correct description of KEY arg.
* ; Add 2023 to copyright years.Eli Zaretskii2023-01-011-1/+1
|
* ; * doc/lispref/keymaps.texi (Searching Keymaps): Fix a typo (bug#59886).Eli Zaretskii2022-12-101-1/+1
|
* Document :vert-only tool bar propertyLars Ingebrigtsen2022-09-121-0/+4
| | | | | | | * doc/lispref/keymaps.texi (Tool Bar): Document what :vert-only does (bug#51049). This is not what it was intended to do -- but what it intended to do didn't really make that much sense either, so perhaps the prop should just be renamed :image-only?
* Signal error on duplicate key definitionsRobert Pluim2022-08-021-2/+4
| | | | | | | | | | | * lisp/keymap.el (define-keymap, defvar-keymap): Signal error if the same key is specified twice. (Bug#56873) * doc/lispref/keymaps.texi (Creating Keymaps): Document error signaling behaviour. * test/src/keymap-tests.el (keymap-test-duplicate-definitions): Test duplicate definition detection.
* Merge from origin/emacs-28Stefan Kangas2022-07-311-0/+1
|\ | | | | | | | | | | eb11dae499 Improve documentation of column-related functions c95a34c960 * src/macfont.m (macfont_open): Initialize font->space_wid... 31a6a37d45 Improve indexing of keymap variables
| * Improve indexing of keymap variablesEli Zaretskii2022-07-301-0/+1
| | | | | | | | | | | | | | | | * doc/lispref/maps.texi (Standard Keymaps): * doc/lispref/display.texi (Button Buffer Commands) (Button Properties): * doc/lispref/keymaps.texi (Translation Keymaps): Improve indexing of keymaps. (Bug#56816)
* | ; Improve documentation of 'set-transient-map' changesEli Zaretskii2022-07-071-9/+13
| | | | | | | | | | | | | | | | | | | | * lisp/subr.el (set-transient-map-timeout, set-transient-map): Doc fixes. * etc/NEWS: Improve wording of the 'set-transient-map' entry. * doc/lispref/keymaps.texi (Controlling Active Maps): Fix wording and passive tense, and improve indexing. (Bug#21634)
* | Add new args MESSAGE and TIMEOUT to set-transient-map (bug#21634)Juri Linkov2022-07-061-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/subr.el (set-transient-map): Add new args MESSAGE and TIMEOUT. (set-transient-map-timeout, set-transient-map-timer): New variables. * lisp/international/emoji.el (emoji-zoom-increase): * lisp/indent.el (indent-rigidly): * lisp/face-remap.el (text-scale-adjust, global-text-scale-adjust): Use the arg MESSAGE of set-transient-map. * doc/lispref/keymaps.texi (Controlling Active Maps): Mention new args MESSAGE and TIMEOUT of set-transient-map.
* | Document using make-composed-keymap with defvar-keymapStefan Kangas2022-07-041-5/+4
| | | | | | | | | | | | | | | | * doc/lispref/keymaps.texi (Inheritance and Keymaps): Document using 'make-composed-keymap' with 'defvar-keymap'. * lisp/help-mode.el (help-mode-map): Use defvar-keymap to make this code match the above documentation change.
* | Filter out NS non-key events from `where-is-internal'Lars Ingebrigtsen2022-06-181-0/+5
| | | | | | | | | | | | | | | | | | | | | | * doc/lispref/keymaps.texi (Scanning Keymaps): Document it. * lisp/keymap.el (make-non-key-event): New function. * lisp/term/common-win.el (x-setup-function-keys): Mark ns events as not being keys (bug#55940). * src/keymap.c (Fwhere_is_internal): Filter out key sequences that are marked as being non-keys.
* | Use "@code{nil}" in documentationPaul Eggert2022-04-181-1/+1
| |
* | Merge from origin/emacs-28Eli Zaretskii2022-01-011-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 836be7a112 ; * etc/refcards/ru-refcard.tex: Update Copyright year. 86cbc6ee4a * lisp/net/tramp-sh.el: Adapt copyright year ebe8772f65 ; Minor fixes related to copyright years 23c1ee6989 ; * test/manual/etags/ETAGS.good_N: Adjust to copyright ye... 8d3fc7ec89 * src/xfaces.c (face_for_font): Make 'hash' be uintptr_t. 19dcb237b5 ; Add 2022 to copyright years. # Conflicts: # etc/NEWS # etc/refcards/ru-refcard.tex # lib/cdefs.h # lisp/erc/erc-dcc.el # lisp/erc/erc-imenu.el # lisp/erc/erc-replace.el # lisp/image-dired.el # lisp/progmodes/xref.el # m4/alloca.m4 # m4/byteswap.m4 # m4/errno_h.m4 # m4/getopt.m4 # m4/gnulib-common.m4 # m4/inttypes.m4 # m4/stddef_h.m4 # m4/stdint.m4 # m4/sys_socket_h.m4
| * ; Add 2022 to copyright years.Eli Zaretskii2022-01-011-1/+1
| |
* | Fix documentation of 'define-keymap'Eli Zaretskii2021-12-291-23/+26
| | | | | | | | | | * doc/lispref/keymaps.texi (Creating Keymaps) (Changing Key Bindings): Fix typos, improve wording.
* | Fix recent changes in 'keymap-lookup' documentationEli Zaretskii2021-12-291-4/+5
| | | | | | | | | | * doc/lispref/keymaps.texi (Functions for Key Lookup): Improve wording, correct typos.
* | Document keymap-set-after in Modifying Menus in lisprefLars Ingebrigtsen2021-12-291-5/+5
| | | | | | | | | | * doc/lispref/keymaps.texi (Modifying Menus): Document keymap-set-after (bug#52819).
* | Document `keymap-lookup' in the lipsref manualLars Ingebrigtsen2021-12-291-15/+24
| | | | | | | | | | * doc/lispref/keymaps.texi (Functions for Key Lookup): Document `keymap-lookup' instead of `lookup-key' (bug#52820).
* | Move define-keymap manual entry to Creating KeymapsLars Ingebrigtsen2021-12-291-89/+97
| | | | | | | | | | | | * doc/lispref/keymaps.texi (Creating Keymaps) (Changing Key Bindings): Move `define-keymap'/`defvar-keymap' to the Creating Keymaps node.
* | ; Fix spelling; be consistent with "key binding" (Bug#52674)Stefan Kangas2021-12-211-2/+2
| |
* | Edit the lispref manual for define-key/keymap-set falloutLars Ingebrigtsen2021-11-291-12/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/variables.texi (Tips for Defining): * doc/lispref/text.texi (Clickable Text): * doc/lispref/modes.texi (Derived Modes): (Example Major Modes): * doc/lispref/loading.texi (Autoload): (Hooks for Loading): * doc/lispref/keymaps.texi (Creating Keymaps): (Inheritance and Keymaps): (Controlling Active Maps): (Changing Key Bindings): (Low-Level Key Binding): (Remapping Commands): (Translation Keymaps): (Key Binding Commands): * doc/lispref/help.texi (Help Functions): * doc/lispref/display.texi (Abstract Display Example): * doc/lispref/commands.texi (Interactive Codes): (Keyboard Events): (Misc Events): (Classifying Events): (Strings of Events): Prefer `keymap-set' instead of `define-key' most places, and use `defvar-keymap' in some of the examples.
* | Put back documentation of legacy keymap functionsEli Zaretskii2021-11-161-45/+97
| | | | | | | | | | * doc/lispref/keymaps.texi (Low-Level Key Binding): Reinstate documentation of legacy commands and functions.
* | Minor copyedits of recent documentation changesEli Zaretskii2021-11-161-9/+11
| | | | | | | | | | * doc/lispref/keymaps.texi (Low-Level Key Binding): Minor changes in wording and markup.
* | Start adjusting the manuals to talk about the keymap-* functionsLars Ingebrigtsen2021-11-161-163/+172
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/dired.el (dired--make-directory-clickable): * doc/lispref/keymaps.texi (Keymaps): (Key Sequences): (Prefix Keys): (Active Keymaps): (Key Lookup): (Functions for Key Lookup): (Changing Key Bindings): (Key Binding Commands): (Tool Bar): * doc/lispref/commands.texi (Interactive Codes): (Event Examples): (Event Mod): * doc/emacs/kmacro.texi (Save Keyboard Macro): * doc/emacs/custom.texi (Keymaps): (Keymaps): (Minibuffer Maps): (Rebinding): (Init Rebinding): (Modifier Keys): (Mouse Buttons): (Init Examples): (Init Non-ASCII): Adjust the documentation to remove description of the old syntaxes, and use the new keymap-* functions. * doc/lispref/keymaps.texi (Low-Level Key Binding): New node that describes `define-key' and the old key syntaxes.
* | Support a new ["..."] key binding syntaxLars Ingebrigtsen2021-10-171-23/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/keymaps.texi (Key Sequences): (Changing Key Bindings): Document the various key syntaxes. * lisp/emacs-lisp/byte-opt.el (byte-optimize-define-key) (byte-optimize-define-keymap) (byte-optimize-define-keymap--define): New functions to check and expand ["..."] syntax at compile time. * src/keymap.c (Fdefine_key): Understand the ["..."] syntax. (syms_of_keymap): Define `kbd' symbols.
* | Add new function 'kbd-valid-p'Lars Ingebrigtsen2021-10-161-0/+7
| | | | | | | | | | | | | | * doc/lispref/keymaps.texi (Key Sequences): New function 'kbd-valid-p'. * lisp/subr.el (kbd-valid-p): Document it.
* | Allow :keys in menus to be computed dynamicallyLars Ingebrigtsen2021-10-111-0/+6
| | | | | | | | | | | | | | * doc/lispref/keymaps.texi (Extended Menu Items): Document it (bug#28930). * src/keyboard.c (parse_menu_item): Allow :keys to be a function.
* | Change the call convention for `defvar-keymap'Lars Ingebrigtsen2021-10-051-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/keymaps.texi (Changing Key Bindings): Adjust documentation. * lisp/simple.el (special-mode-map): * lisp/net/shr.el (shr-map): * lisp/net/eww.el (eww-link-keymap): (eww-mode-map): (eww-submit-map): (eww-textarea-map): (eww-bookmark-mode-map): (eww-history-mode-map): (eww-buffers-mode-map): * lisp/gnus/message.el (message-mode-map): * lisp/gnus/gnus-html.el (gnus-html-image-map): * lisp/gnus/gnus-eform.el (gnus-edit-form-mode-map): * lisp/gnus/gnus-dired.el (gnus-dired-mode-map): * lisp/gnus/gnus-bookmark.el (gnus-bookmark-bmenu-mode-map): Adjust usage of `defvar-keymap'. * lisp/subr.el (define-keymap, define-keymap--define): Change how these functions call each other. (defvar-keymap): Change interface to be more like `define-keymap'. * lisp/emacs-lisp/lisp-mode.el (lisp-indent--defvar-keymap): Remove. (lisp-indent-function): Don't use it.
* | Remove :copy from define-keymapLars Ingebrigtsen2021-10-041-4/+0
| | | | | | | | | | | | | | | | | | | | * doc/lispref/keymaps.texi (Changing Key Bindings): Update documentation. * lisp/subr.el (define-keymap): (define-keymap--define): Remove :copy from the signature. * lisp/net/eww.el (eww-link-keymap): Use :parent.
* | Add 'define-keymap' and 'defvar-keymap'Lars Ingebrigtsen2021-10-041-0/+95
|/ | | | | | | | | | | | | * doc/lispref/keymaps.texi (Changing Key Bindings): Document define-keymap and defvar-keymap. * lisp/subr.el (define-keymap): New function. (define-keymap--define): New function. (defvar-keymap): New macro. * lisp/emacs-lisp/lisp-mode.el (lisp-indent--defvar-keymap): New function. (lisp-indent-function): Use it to indent defvar-keymap.
* Merge from origin/emacs-27Glenn Morris2021-04-251-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | 7d5b973959 (origin/emacs-27) * doc/misc/cl.texi (For Clauses): Minor ... 4570781f8d ; * doc/lispref/files.texi (Directory Names): Add missing ... 1b52fd538d Minor update for make-tarball.txt 8efb8491b2 * doc/misc/cl.texi (Iteration Clauses): fix `never' clause... 0873134682 ; Fix Texinfo in last change to minibuf.texi. cad8913c89 Improve filling-related documentation 2b7eed23eb ; * doc/lispref/keymaps.texi (Easy Menu): Fix typo. 47fc92cefc Fix reference to "yanking" in the main Emacs manual 1789dcdb35 Improve documentation of 'map-y-or-n-p'
| * ; * doc/lispref/keymaps.texi (Easy Menu): Fix typo.Philipp Stephani2021-04-171-1/+1
| |
| * Update copyright year to 2021Paul Eggert2021-01-011-1/+1
| | | | | | | | Run "TZ=UTC0 admin/update-copyright $(git ls-files)".
* | * doc/lispref/keymaps.texi (Translation Keymaps): Fix small misprintFilipp Gunbin2021-04-131-1/+1
| |
* | Remove several references to Emacs 22 and earlierStefan Kangas2021-03-101-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * admin/charsets/mapfiles/README: * doc/emacs/custom.texi (Saving Customizations): * doc/lispintro/emacs-lisp-intro.texi (Simple Extension): * doc/misc/efaq-w32.texi (Location of init file): * doc/misc/gnus-faq.texi (FAQ 1-3): * doc/misc/gnus.texi (Top, Various, Image Enhancements): * lisp/erc/erc-menu.el (menu): * lisp/progmodes/cfengine.el (cfengine-fill-paragraph): Remove some references to Emacs 22 and earlier. * doc/lispref/buffers.texi: * doc/lispref/eval.texi: * doc/lispref/files.texi: * doc/lispref/keymaps.texi: * doc/lispref/loading.texi: * doc/lispref/minibuf.texi: * doc/lispref/positions.texi: * doc/lispref/variables.texi: Remove comments about "Emacs 19 specific" features.
* | Remove the 'M-o' ('facemap-keymap') binding experimentallyLars Ingebrigtsen2021-02-101-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/maps.texi (Standard Keymaps): * doc/lispref/keymaps.texi (Prefix Keys): Remove mentions. * etc/facemenu-removal.txt: New temporary file. * lisp/loadup.el: Don't load facemenu.el. (removed-facemenu-command): New command. (facemenu-keymap-restore): New function. * lisp/textmodes/text-mode.el (center-paragraph): Remove binding. (center-line): Remove binding.