bug-auctex
[Top][All Lists]
Advanced

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

Re: [Bug-AUCTeX] 11.83; folding, fontification and noweb ie Rnw file


From: David Kastrup
Subject: Re: [Bug-AUCTeX] 11.83; folding, fontification and noweb ie Rnw file
Date: Thu, 21 Dec 2006 19:47:38 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux)

Ralf Angeli <address@hidden> writes:

> * David Kastrup (2006-12-21) writes:
>
>> Ralf Angeli <address@hidden> writes:
>>
>>> It's the same problem as with the code above.  The variable tracking
>>> opened overlays is buffer-local and will be reset to its default value
>>> nil once a noweb chunk is left.  I don't really want to make this
>>> variable permanent-local, so there is not much I can do about the
>>> problem.
>>
>> Perhaps the opened overlays can be tracked by information in the
>> overlays themselves?
>
> Yes, this should be possible.  We could put a property onto the
> overlay holding information if the overlay is opened.

On the other hand, this seems like something that a mode-switching
mode should be prepared to deal with: rescuing buffer-local variables
across mode changes.  I mean, we'll lose RefTeX parsing info and other
stuff all the time, too.

(buffer-local-variables)

can be used for fetching stuff, and some function for restoring it, or
kill-local-variables gets flet to ignore during mode switches
completely, retaining both variable sets.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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