[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] [elpa] externals/auctex 5d33c2a 19/26: Be more precise ab
From: |
Tassilo Horn |
Subject: |
[AUCTeX-diffs] [elpa] externals/auctex 5d33c2a 19/26: Be more precise about the first element in `LaTeX-math-list' |
Date: |
Thu, 12 Aug 2021 11:18:23 -0400 (EDT) |
branch: externals/auctex
commit 5d33c2ade3179bb5ece9b1cac256d328f1a091f0
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>
Be more precise about the first element in `LaTeX-math-list'
* doc/auctex.texi (Mathematics):
* latex.el (LaTeX-math-list): Update description for the first
element KEY in `LaTeX-math-list'.
Remove unnecessary quoting of opening/closing parenthesis.
---
doc/auctex.texi | 8 +++++---
latex.el | 14 ++++++++++----
2 files changed, 15 insertions(+), 7 deletions(-)
diff --git a/doc/auctex.texi b/doc/auctex.texi
index 8a5676c..4295a60 100644
--- a/doc/auctex.texi
+++ b/doc/auctex.texi
@@ -1203,9 +1203,11 @@ The variable @code{LaTeX-math-list} allows you to add
your own mappings.
A list containing user-defined keys and commands to be used in @LaTeX{}
Math mode. Each entry should be a list of two to four elements.
-First, the key to be used after @code{LaTeX-math-abbrev-prefix} for
-macro insertion. If it is nil, the symbol has no associated
-keystroke (it is available in the menu, though).
+First, the key to be used after @code{LaTeX-math-abbrev-prefix} for macro
+insertion. The key can be a character (e.g. @samp{?o}) for a single
+stroke or a string (e.g. @samp{"o a"}) for a multi-stroke binding. If it
+is nil, the symbol has no associated keystroke (it is available in the
+menu, though).
Second, a string representing the name of the macro (without a leading
backslash.)
diff --git a/latex.el b/latex.el
index 083e530..ded745f 100644
--- a/latex.el
+++ b/latex.el
@@ -5653,8 +5653,14 @@ Each entry should be a list with up to four elements,
KEY, VALUE,
MENU and CHARACTER.
KEY is the key (after `LaTeX-math-abbrev-prefix') to be redefined
-in math minor mode. If KEY is nil, the symbol has no associated
-keystroke \(it is available in the menu, though\).
+in math minor mode. KEY can be a character (e.g. ?o) for a
+single stroke or a string (e.g. \"o a\") for a multi-stroke
+binding. If KEY is nil, the symbol has no associated
+keystroke (it is available in the menu, though). Note that
+predefined keys in `LaTeX-math-default' cannot be overridden in
+this variable. Currently, only the lowercase letter 'o' is free
+for user customization, more options are available in uppercase
+area.
VALUE can be a string with the name of the macro to be inserted,
or a function to be called. The macro must be given without the
@@ -5662,8 +5668,8 @@ leading backslash.
The third element MENU is the name of the submenu where the
command should be added. MENU can be either a string
-\(e.g. \"greek\"\), a list (e.g. \(\"AMS\" \"Delimiters\"\)\) or
-nil. If MENU is nil, no menu item will be created.
+\(e.g. \"greek\"), a list (e.g. (\"AMS\" \"Delimiters\")) or nil.
+If MENU is nil, no menu item will be created.
The fourth element CHARACTER is a Unicode character position for
menu display. When nil, no character is shown.
- [AUCTeX-diffs] [elpa] externals/auctex 32e93a0 04/26: Fix bug#36651, (continued)
- [AUCTeX-diffs] [elpa] externals/auctex 32e93a0 04/26: Fix bug#36651, Tassilo Horn, 2021/08/12
- [AUCTeX-diffs] [elpa] externals/auctex d813213 12/26: Improve tool bar appearance, Tassilo Horn, 2021/08/12
- [AUCTeX-diffs] [elpa] externals/auctex 21a725b 14/26: Fix order of arguments, Tassilo Horn, 2021/08/12
- [AUCTeX-diffs] [elpa] externals/auctex ac9405b 13/26: * doc/auctex.texi (Modes and Hooks): Fix hook name., Tassilo Horn, 2021/08/12
- [AUCTeX-diffs] [elpa] externals/auctex b940950 05/26: Define `TeX-parse-all-errors' in tex.el, Tassilo Horn, 2021/08/12
- [AUCTeX-diffs] [elpa] externals/auctex 98a059a 10/26: ; * doc/changes.texi: Fix markups., Tassilo Horn, 2021/08/12
- [AUCTeX-diffs] [elpa] externals/auctex f200e28 18/26: * tex-fold.el (TeX-fold-macro-spec-list): Add entry for "footref"., Tassilo Horn, 2021/08/12
- [AUCTeX-diffs] [elpa] externals/auctex 14e485c 20/26: ; Suppress spurious space in info output, Tassilo Horn, 2021/08/12
- [AUCTeX-diffs] [elpa] externals/auctex a589542 15/26: Add defensive `save-match-data', Tassilo Horn, 2021/08/12
- [AUCTeX-diffs] [elpa] externals/auctex 097ec6c 25/26: Avoid superfluous output directories, Tassilo Horn, 2021/08/12
- [AUCTeX-diffs] [elpa] externals/auctex 5d33c2a 19/26: Be more precise about the first element in `LaTeX-math-list',
Tassilo Horn <=
- [AUCTeX-diffs] [elpa] externals/auctex 0152938 22/26: Update style/ulem.el, Tassilo Horn, 2021/08/12
- [AUCTeX-diffs] [elpa] externals/auctex 5aef4bb 16/26: Add support for LaTeX hook macros, Tassilo Horn, 2021/08/12
- [AUCTeX-diffs] [elpa] externals/auctex f16fc13 23/26: Add entries for Texinfo mode in `TeX-command-list', Tassilo Horn, 2021/08/12
- [AUCTeX-diffs] [elpa] externals/auctex 2ca3d18 21/26: Fix slowdown of font lock in doctex mode, Tassilo Horn, 2021/08/12
- [AUCTeX-diffs] [elpa] externals/auctex ceb169a 26/26: Merge remote-tracking branch 'origin/master' into externals/auctex, Tassilo Horn, 2021/08/12
- [AUCTeX-diffs] [elpa] externals/auctex 41610c7 24/26: Add index files as clean target in Texinfo mode, Tassilo Horn, 2021/08/12