David Kastrup <[EMAIL PROTECTED]> writes: > Ralf Angeli <[EMAIL PROTECTED]> 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. _______________________________________________ auctex-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/auctex-devel
