Ralf Angeli <[EMAIL PROTECTED]> writes:

> * Ralf Angeli (2007-10-05) writes:
>
>> * Bjørn Haagensen (2007-10-05) writes:
>>
>>> If a function 'file' is defined running 'TeX-command-master' fails
>>> with the following backtrace:
>>
>> An easy way out would be to rename the symbol to something less generic,
>> e.g. `TeX-master-or-region-file'.  A nicer way would be to get rid of
>> the whole awkward construct of a locally defined function.
>
> The attached patch should do that.  It still has the shortcoming of
> `TeX-master-or-region-file' relying on `file' being defined outside of
> it and indicating the function to call.  Any better suggestions?

I think this tries to hard to keep the old contorted logic while still
breaking backwards-compatibility with previous TeX-command-list
specifications.

I think we should just special-case a check for 'file and be done (for
as long as TeX-command-list keeps its basic structure).  Future AUCTeX
programmers will thank us for it.  The present logic is too clever
just for the single purpose of interpreting "file".

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


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

Reply via email to