* David Reitter (2010-05-22) writes: > AUCTeX doesn't reliably install its tool-bars because it erroneously checks > `tool-bar-mode' and uses a non-existing (Emacs 22/23) `tool-bar-mode-on-hook'.
Wrong. Try this: $ emacs -Q --eval "(progn (add-hook 'tool-bar-mode-on-hook (lambda () (message \"XXXXXXXXXXXXX\"))) (tool-bar-mode) (tool-bar-mode))" > Note that the tool-bar can easily be enabled via frame parameter and also via > the UI (for one frame) without ever touching `tool-bar-mode'. But `tool-bar-mode' should be t if the tool bar is enabled. > I'm installing the change below in Aquamacs; let me know if you see a problem > with it. Then the LaTeX tool bar will not show up if you start Emacs without a tool bar, load a LaTeX file and activate Tool Bar mode. > PS.: toolbarx has caused me a lot of pain in the past and is continuing to be > a nuisance, simply because it uses quite a low-level interface that doesn't > allow other Lisp code to add its configuration to the toolbar via the > standard keymap means of Emacs. It would be nice if you got rid of it. I'm not very fond of it either due to its complexity. But it is currently the only way we have to configure the tool bar non-redundantly for both Emacs and XEmacs. By the way, speaking of nuisances, the lines in your mails are too long which makes them hard to read. > diff --git a/aquamacs/src/site-lisp/edit-modes/auctex/plain-tex.el > b/aquamacs/src/site-lisp/edit-modes/auctex/plain-tex.el Uh, plain-tex.el is not part of AUCTeX 11.86. I hope you are not shipping Aquamacs with a CVS version of AUCTeX. -- Ralf _______________________________________________ bug-auctex mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-auctex
