auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] Re: Strange things with AUCTeX-CVS toolbar


From: David Kastrup
Subject: Re: [AUCTeX-devel] Re: Strange things with AUCTeX-CVS toolbar
Date: Sun, 07 Sep 2008 18:44:15 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Ralf Angeli <address@hidden> writes:

> * Angelo Graziosi (2008-09-07) writes:
>
>> If, now, I close Emacs (C-x C-c) with save desktop enabled and then
>> restart Emacs, the file foo.tex is reloaded, the toolbar shows only the
>> icon a) b) d) for DVI files _BUT_ 'Command/Texing Options/Generate PDF
>> files' is still selected and cliking 'a) Run LaTeX (DVI)' generates PDF
>> file not DVI. 'b) Run Viewer (XDVI)' runs xpdf not xdvi!
>
> It looks like the minor mode variable value of TeX PDF mode is restored
> but the minor mode function is not called.  The latter runs
> `toolbarx-refresh' through the minor mode hook.
>
> What do people think about adding `TeX-PDF-mode' to `minor-mode-alist'
> which will make `desktop-save' recognize TeX PDF mode as a minor mode to
> be restored and remove the additions to `desktop-locals-to-save' we do
> at the end of tex.el?  I dunno why we deal with `desktop-locals-to-save'
> at all.
>
> Mail-Followup-To: address@hidden

My guess would be older versions of desktop.el.  One should probably
crosscheck with 22.1 and sort of recent XEmacs variants.

I think that TeX-PDF-mode is probably not in minor-mode-alist because we
want a different way of displaying the lighter.  But "" should probably
be fine here.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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