bug-auctex
[Top][All Lists]
Advanced

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

Re: [Bug-AUCTeX] 11.86; forgets to install tool-bar


From: Ralf Angeli
Subject: Re: [Bug-AUCTeX] 11.86; forgets to install tool-bar
Date: Sat, 22 May 2010 16:41:41 +0200

* 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



reply via email to

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