auctex-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 0e54895842d0fce456f4f


From: Tassilo Horn
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 0e54895842d0fce456f4f16eac3869a7b67765bd
Date: Wed, 4 Jan 2017 09:34:26 +0000 (UTC)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
       via  0e54895842d0fce456f4f16eac3869a7b67765bd (commit)
      from  6c155cce834313a2b9a7529c9c89fd4f44d6c1f8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0e54895842d0fce456f4f16eac3869a7b67765bd
Author: Tassilo Horn <address@hidden>
Date:   Wed Jan 4 10:33:05 2017 +0100

    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.

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.

-----------------------------------------------------------------------

Summary of changes:
 doc/auctex.texi  |    4 ++--
 doc/changes.texi |    7 +++++++
 tex.el           |    3 ++-
 3 files changed, 11 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

[Prev in Thread] Current Thread [Next in Thread]