[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex 0e54895 34/57: Improve completion docs
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex 0e54895 34/57: Improve completion docs |
Date: |
Wed, 11 Jan 2017 18:01:40 +0000 (UTC) |
branch: externals/auctex
commit 0e54895842d0fce456f4f16eac3869a7b67765bd
Author: Tassilo Horn <address@hidden>
Commit: Tassilo Horn <address@hidden>
Improve completion docs
* doc/auctex.texi (Completion): Improved docs.
* doc/changes.texi: Mention math completion, add link to Completion node
in the manual.
* tex.el (TeX-complete-list): Improve docstring.
---
doc/auctex.texi | 4 ++--
doc/changes.texi | 7 +++++++
tex.el | 3 ++-
3 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/doc/auctex.texi b/doc/auctex.texi
index 87233f1..172b5f8 100644
--- a/doc/auctex.texi
+++ b/doc/auctex.texi
@@ -1245,7 +1245,8 @@ Each entry is a list with the following elements:
@enumerate
@item
-Regexp matching the preceding text.
+Regexp matching the preceding text or a predicate of arity 0 which
+returns non-nil and sets `match-data' appropriately if it is applicable.
@item
A number indicating the subgroup in the regexp containing the text.
@item
@@ -1315,7 +1316,6 @@ called with prefix argument (@kbd{C-u}), it's the other
way round.
Note that for some macros, there are special mechanisms, e.g.
@code{LaTeX-includegraphics-options-alist} and
@code{TeX-arg-cite-note-p}.
-
@end defopt
diff --git a/doc/changes.texi b/doc/changes.texi
index e756d96..c737a7f 100644
--- a/doc/changes.texi
+++ b/doc/changes.texi
@@ -17,6 +17,13 @@ In addition to the completion performed by
@code{TeX-complete-symbol},
facility (see the Emacs command @code{completion-at-point}). This also
means that modern completion UIs like @i{company-mode} work out of the
box in @TeX{} and @LaTeX{} buffers.
address@hidden rawfile
address@hidden, for details.
address@hidden ifclear
+
address@hidden
+Completion is now aware of being inside a math environment and then
+completes math macros.
@item
@AUCTeX{} is able to display several levels of super- and subscripts,
diff --git a/tex.el b/tex.el
index 2eb8536..02946b9 100644
--- a/tex.el
+++ b/tex.el
@@ -3144,7 +3144,8 @@ Expert %s are completed depending on
`TeX-complete-expert-commands'."
Each entry is a list with the following elements:
0. Regexp matching the preceding text or a predicate of arity 0
-which checks its applicability and sets `match-data'.
+which returns non-nil and sets `match-data' appropriately if it
+is applicable.
1. A number indicating the subgroup in the regexp containing the
text.
2. A function returning an alist of possible completions.
- [elpa] externals/auctex 225bade 14/57: Add new style/titletoc.el, (continued)
- [elpa] externals/auctex 225bade 14/57: Add new style/titletoc.el, Tassilo Horn, 2017/01/11
- [elpa] externals/auctex 343ca9c 36/57: Fix script unfontification bug, Tassilo Horn, 2017/01/11
- [elpa] externals/auctex 501b0de 47/57: Use RefTeX for multiple references in cleveref, Tassilo Horn, 2017/01/11
- [elpa] externals/auctex bfc7e90 16/57: Fix fontification for natbib compat macros, Tassilo Horn, 2017/01/11
- [elpa] externals/auctex 1de2359 13/57: Add new style/titlesec.el, Tassilo Horn, 2017/01/11
- [elpa] externals/auctex ccec850 24/57: Remove multi-level/invisible feature of font-latex-fontify-script, Tassilo Horn, 2017/01/11
- [elpa] externals/auctex 4c42f7a 25/57: Revert "Remove multi-level/invisible feature of font-latex-fontify-script", Tassilo Horn, 2017/01/11
- [elpa] externals/auctex 4747c24 29/57: Simple docfix, Tassilo Horn, 2017/01/11
- [elpa] externals/auctex 69fc320 27/57: Add a newline only if \label is inserted, Tassilo Horn, 2017/01/11
- [elpa] externals/auctex 377a97a 32/57: Completion for math macros, Tassilo Horn, 2017/01/11
- [elpa] externals/auctex 0e54895 34/57: Improve completion docs,
Tassilo Horn <=
- [elpa] externals/auctex 00df9a5 37/57: Check new custom option before activating RefTeX cite format, Tassilo Horn, 2017/01/11
- [elpa] externals/auctex 0766526 41/57: Don't use cl function copy-list, Tassilo Horn, 2017/01/11
- [elpa] externals/auctex c70b7f9 21/57: Add new style/exam.sty, Tassilo Horn, 2017/01/11
- [elpa] externals/auctex d185bcb 49/57: * Makefile.in (release-commit): Fix name of preview ChangeLog., Tassilo Horn, 2017/01/11
- [elpa] externals/auctex e9c4b68 35/57: ; * doc/auctex.texi (Completion): Use @defun and not @deffn., Tassilo Horn, 2017/01/11
- [elpa] externals/auctex 74c5ac9 09/57: Update style/tcolorbox.el to package v3.96, Tassilo Horn, 2017/01/11
- [elpa] externals/auctex 0b16551 51/57: * Makefile.in (release-commit): Use UTF-8 coding for ChangeLog entry., Tassilo Horn, 2017/01/11
- [elpa] externals/auctex 826f17a 54/57: Release_11.90, Tassilo Horn, 2017/01/11
- [elpa] externals/auctex 61e56f2 40/57: Fix bug where font-latex-sub/superscript-face was not applied to ^_, Tassilo Horn, 2017/01/11
- [elpa] externals/auctex bc47cb0 39/57: Fontify script characters with a new face, Tassilo Horn, 2017/01/11