auctex-devel
[Top][All Lists]
Advanced

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

[AUCTeX-devel] Re: RefTeX Home Page


From: Ralf Angeli
Subject: [AUCTeX-devel] Re: RefTeX Home Page
Date: Sun, 11 Mar 2007 22:38:36 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux)

* David Kastrup (2007-03-10) writes:

> Anyway, I just noticed that in a document with multind style, lines
> like
>
>     \index{Namen}
>     {Hugo Sattler}
>
> will make it into the index just as an empty string.  Maybe we should
> allow `TeX whitespace' like "\\(?:[ \t\n]\\|%.*\n\\)*" at strategic
> points in the respective regexps?

Something like that should help.

--- reftex-parse.el     10 Mar 2007 17:23:36 +0100      1.33
+++ reftex-parse.el     11 Mar 2007 22:33:57 +0100      
@@ -931,7 +931,9 @@
             (incf cnt))
           (when (< cnt n)
             (unless (and (condition-case nil
-                             (or (forward-list 1) t)
+                             (prog1
+                                (or (forward-list 1) t)
+                              (while (comment-forward)))
                            (error nil))
                          (reftex-move-to-next-arg)
                          (incf cnt))

It's a bit dangerous to change this now, however.  And
`reftex-move-over-touching-args' will probably have to be changed as
well.

-- 
Ralf





reply via email to

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