* Aidan Kehoe (2006-01-10) writes:
Ar an naoiú lá de mí Eanair, scríobh Ralf Angeli:
> [...] Another problem is that the patch reintroduces the bug with respect
> to the Math menu in AUCTeX.
Right, I followed your above test case after installing preview-latex-0.9.1,
apparently the last independent release before the package was integrated
with AUCTeX. My AUCTeX-version is CVS-1.13, my AUCTeX-date is 2005-02-11,
taken from an XEmacs Sumo. I start an xemacs -vanilla, then load the
following Lisp from a file on its own:
(push (expand-file-name "~/.xemacs/xemacs-packages/lisp/preview/") load-path)
(load "/Sources/xemacs-21.5-address-easy-menu-bugs/lisp/easymenu.el")
Oh, we are talking about 21.5? I was testing with 21.4 and above of
that with an older CVS checkout. I did a fresh checkout of 21.4's
trunk now and the bug did not show up anymore when using a patched
easymenu.el. Sorry for the confusion.
I press C-c ~ , then right click again. I get the menu at
http://www.parhasard.net/no-more-math-mode.png .
This behaviour is the right thing, as I understand it.
Yes it is.
There is some
weirdness in those screenshots with what the buffer thinks the current mode
name is, but that’s a cosmetic problem caused by my local version of
easymenu.el trusting mode-name to make sense, which it shouldn’t, and which
change I’ll back out before committing.
AUCTeX changes `mode-name' when stuff like math mode is toggled.
Maybe that confuses easymenu.el.
Do you see different behaviour with
more recent AUCTeX and preview-latex?
Not anymore. Thanks for following up on this.
--
Ralf