auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] word-search-* and re-search-* does not work with folding


From: David Kastrup
Subject: Re: [AUCTeX] word-search-* and re-search-* does not work with folding
Date: Thu, 31 Aug 2006 20:36:24 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Martin Rud Ehmsen <address@hidden> writes:

> I think I have found a bug in AUCTeX (or emacs).
> If I have hidden some text using TeX-fold-* and I then search for some
> of the hidden text, the hidden text is temporarily displayed and the
> text found if I use any incremental search. But if I do a word-search or
> any other re-search then it does not get displayed. The text is somehow
> found, because the point is placed at the end of the hidden text.
>
> To illustrate:
>
> If i have the following in my buffer:
>
> Some text...
>
> [hidden text containing the words "foo bar"]
>
> Some more text, foo bar.
>
> If I put the point before the hidden text and do a word-search-forward
> and search for "foo bar" then the point is placed right after the
> closing "]". I.e., it does find the words in the hidden text (since it
> does not continue and find the "foo bar" later in the text).
>
> It is not all nonincremental searches that does not work, ordinary
> nonincremental search does work correctly. So far I have only discovered
> the bug using variants of re-search.
>
> Is this not a bug?

The same happens with preview-latex.  It would be my guess that
post-command-hook is not being run.

That would be considered a bug in Emacs.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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