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