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. I haven't checked if this is due to the same
cause. But in case you need a testcase: Assuming LaTeX Math mode is
deactivated per default, open a LaTeX file and activate LaTeX Math mode
with `C-c ~'. The popup menu will contain entry points for the LaTeX,
Command, Preview (if you have preview-latex installed like me) and Math
menus. After deactivating LaTeX Math mode again with `C-c ~' only a full
"preview" menu will remain.
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")
(require 'tex-site)
(load "preview.el")
I open my CV; I right click and I get the menu at
http://www.parhasard.net/initial-menu.png .
I press C-c ~ , then right click again. I get the menu at
http://www.parhasard.net/math-mode-menu.png .
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. 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. Do you see different behaviour with
more recent AUCTeX and preview-latex?
--
I AM IN JAIL AND ALLOWED SEND ONLY ONE CABLE SINCE WAS ARRESTED WHILE
MEASURING FIFTEEN FOOT WALL OUTSIDE PALACE AND HAVE JUST FINISHED COUNTING
THIRTY EIGHT THOUSAND FIVE HUNDERED TWENTY TWO NAMES WHOS WHO IN MIDEAST.