[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex 49987f08dd 19/48: Provide completion candidates
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex 49987f08dd 19/48: Provide completion candidates for `TeX-arg-length' |
Date: |
Fri, 18 Nov 2022 14:27:43 -0500 (EST) |
branch: externals/auctex
commit 49987f08dde1329dac32385b5623cd2cdbeb8873
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>
Provide completion candidates for `TeX-arg-length'
* latex.el (LaTeX-completion-function-map-alist-cr): Add entry for
`TeX-arg-length' and the corresponding mapping function.
Adjust docstring.
---
latex.el | 19 +++++++++++--------
1 file changed, 11 insertions(+), 8 deletions(-)
diff --git a/latex.el b/latex.el
index 20a337c515..79b25f4d51 100644
--- a/latex.el
+++ b/latex.el
@@ -7542,20 +7542,23 @@ or `LaTeX-environment-list' and returns it."
"Alist mapping style funcs to completion-candidates counterparts.
Each element is a cons with the name of the function used in an
AUCTeX style file which queries and inserts something in the
-buffer as car and the name function delievering completion
-candidates as cdr. This list contains only mapping for functions
-which perform key=val completions. See also
+buffer as car and a function delievering completion candidates as
+cdr. This list contains only mapping for functions which perform
+key=val completions. See also
`LaTeX-completion-function-map-alist-cr'.")
(defvar LaTeX-completion-function-map-alist-cr
- '((TeX-arg-counter . LaTeX-counter-list)
- (TeX-arg-pagestyle . LaTeX-pagestyle-list) )
+ `((TeX-arg-counter . LaTeX-counter-list)
+ (TeX-arg-pagestyle . LaTeX-pagestyle-list)
+ (TeX-arg-length . ,(lambda () (mapcar (lambda (x)
+ (concat TeX-esc (car x)))
+ (LaTeX-length-list)))))
"Alist mapping style funcs to completion-candidates counterparts.
Each element is a cons with the name of the function used in an
AUCTeX style file which queries and inserts something in the
-buffer as car and the name function delievering completion
-candidates as cdr. This list contains only mapping for functions
-which perform completing-read. See also
+buffer as car and a function delievering completion candidates as
+cdr. This list contains only mapping for functions which perform
+completing-read. See also
`LaTeX-completion-function-map-alist-keyval'.")
(defun LaTeX-completion-parse-arg (arg)
- [elpa] externals/auctex 21e624026a 28/48: Improve support for TikZ, (continued)
- [elpa] externals/auctex 21e624026a 28/48: Improve support for TikZ, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex e53bb19a90 37/48: ; Recognize large arguments with many lines, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex 9b365b7419 18/48: Simplify implementation of style/textpos.el, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex 1f6e9e7e58 10/48: Update style/XCharter.el to package version 1.24, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex 05cd0440c5 02/48: Use `TeX-arg-completing-read-multiple', Tassilo Horn, 2022/11/18
- [elpa] externals/auctex 0c482642cc 32/48: Simplify implementation of style/currvita.el, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex 615e12f650 42/48: Simplify implementation of style/tcolorbox.el, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex b9548da54a 38/48: Simplify implementation of style/tcolorboxlib-theorems.el, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex 8e3137f641 15/48: Simplify implementation of style/titlesec.el, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex 20cabef81f 20/48: ; Delete unnecessary `TeX-arg-string', Tassilo Horn, 2022/11/18
- [elpa] externals/auctex 49987f08dd 19/48: Provide completion candidates for `TeX-arg-length',
Tassilo Horn <=
- [elpa] externals/auctex 52738d11b2 39/48: Remove entry in `LaTeX-completion-function-map-alist-keyval', Tassilo Horn, 2022/11/18
- [elpa] externals/auctex 8f70cd5211 14/48: Simplify implementation of style/ulem.el, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex d5ff42e0bd 34/48: Simplify implementation of style/enumitem.el, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex ff5a83f345 17/48: Simplify implementation of style/thm-restate.el, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex 0ee39626e4 01/48: Use `TeX-arg-completing-read', Tassilo Horn, 2022/11/18
- [elpa] externals/auctex 5949388ca2 12/48: Simplify argument queries in style/wrapfig.el, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex 47f9ead1c6 44/48: Respect `TeX-exit-mark' when inserting enviroments, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex c6c7c3f024 22/48: ; Use #' to quote function, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex c0c9556338 30/48: Don't insert empty node name, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex 978ebea1e8 16/48: Simplify implementation of style/thmtools.el, Tassilo Horn, 2022/11/18