I'll have a look at that.

I'm getting exactly that user error all processed thing



/Lars Madsen
Institut for Matematik / Department of Mathematics
Aarhus Universitet / Aarhus University
Mere info: http://au.dk/daleif@imf / More information: 
http://au.dk/en/daleif@imf


________________________________________
From: Tassilo Horn [[email protected]]
Sent: 02 December 2014 16:38
To: Lars Madsen
Cc: [email protected]
Subject: Re: [AUCTeX-devel] extended reftex-search-document

Lars Madsen <[email protected]> writes:

> hmm, it sort of works, at least no errors
>
> But If I just add
>
> sdfa s asdf sadf : sadfadfsdaf
>
> to a file and then search for space-colon, then it does not always find it

Not sure what's the problem.  I actually don't use tags-search and know
only what I've found out when answering your questions.  When doing so,
I sometimes also had the problem that I got a user-error "All files
processed" although there were new matches after point or later files.

A good thing to help debugging is setting `tags-loop-scan' to a form

    `(my-tags-loop-scan-fn ,regex)

where `my-tags-loop-scan-fn' is something like

--8<---------------cut here---------------start------------->8---
(defun my-tags-loop-scan-fn (regexp)
  (and (re-search-forward regexp nil t)
       (let ((comment-start-skip "\\(\\(^\\|[^\\
]\\)\\(\\\\\\\\\\)*\\)\\(%+[    ]*\\)"))
         (not (texmathp)))))
--8<---------------cut here---------------end--------------->8---

Then you can edebug `my-tags-loop-scan-fn' to see what etags is doing.

Bye,
Tassilo

_______________________________________________
auctex-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to