Re: Changes to preview-latex

David Kastrup <[email protected]> Thu, 17 Mar 2005 18:23:43 +0100
Newsgroups gmane.emacs.auc-tex
Message-ID <[email protected]>
David Kastrup <[email protected]> writes:

> David Kastrup <[email protected]> writes:
>> Masayuki Ataka <[email protected]> writes:
>>
>> [...]
>>
>> In addition to my last mail: just hold the horses with regard to
>> placing the whole function in prv-emacs.el and prv-xemacs.el:
>>
>> _currently_, preview-latex does not use nested overlays itself, so it
>> can just do
>>
>> (unless (fboundp 'TeX-overlay-prioritize)
>>   (defalias 'TeX-overlay-prioritize 'ignore))
>>
>> and that's it, at least for now.  Since TeX-overlay-prioritize _will_
>> be defined in tex.el, this will never get active except in older
>> AUCTeX versions where TeX-fold.el would not be using the function,
>> either.
>
> Note: I have started writing this about 80%, so don't bother working
> on it yourself anymore.  I'll probably check something in today or
> tomorrow.

I have to rush, so I checked in the complete kaboodle right now
_without_ testing it.  I would be surprised if I did not break
something.

In particular, the XEmacs version in tex.el of TeX-overlay-prioritize
is written pretty much from scratch.  I'd be quite surprised if it
compiles, let alone works.

Feel free to test and fix it.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum