[Top][All Lists]

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

[AUCTeX-devel] Re: multi-file support

From: Richard Lewis
Subject: [AUCTeX-devel] Re: multi-file support
Date: Mon, 16 May 2005 14:15:39 +0100
User-agent: Gnus Emacs (gnu/linux)

David Kastrup <address@hidden> writes:

> Ralf Angeli <address@hidden> writes:
>> * Richard Lewis (2005-05-13) writes:

>>> As a workaround, how about forcing the buffer to be visible when the
>>> question gets asked:
>>> --- tex.el  09 May 2005 16:27:10 +0100      5.512
>>> +++ tex.el  13 May 2005 16:39:18 +0100      
>>> @@ -1240,6 +1240,7 @@
>>>      ;; For files shared between many documents.
>>>      ((and (eq 'shared TeX-master) ask)
>>> +     (pop-to-buffer (current-buffer))
>>>       (setq TeX-master
>>>             (TeX-strip-extension
>>>              (let ((default (or (TeX-dwim-master) "this file")))
>> That's too drastic.  My suggestion would be to include the file name
>> in the prompt for the master file in case the buffer is not visible.
> I disagree, actually, as you can see by the code I placed in
> tex-buf.el for error handling.  When a file gets loaded as part of
> processing a run on a known master file, its TeX-master variable
> should _silently_ get set to the known value (no local variable
> section hacking done).

What about the case where desktop.el opens a shared file at the start
of a emac session? The question gets asked but there is no way of
knowing which file it refers to.  This is especially confusing if the
master file happens to be visible when the question is asked.

reply via email to

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