I have happily been using emacs's LaTeX mode for years (decades?). Up to emacs version 24.2.1, if I type Cc Cc in a LaTeX buffer that I was editting, the following would happen:
A prompt appears in the minibuffer for me to save, which I can acknowledge by pressing y. A prompt appears in the minibuffer for me to latex the file, which I can acknowledge by pressing return. latex is run on the file in the background. If there are no errors, a message in the minibuffer tells me so. If there are errors, I am prompted to press Cc ` to examine them. This also (usually) takes me exactly to the the location of the error in the .tex file. Only if I press Cc Cc again without making changes to the buffer, a propmt appears in the minibuffer for me to open the .dvi in xdvi, which I can acknowledge by pressing return. I like the above behavior. It usually does what I want.
In 24.3.1, if I type Cc Cc in a LaTex buffer that I am editting, this is what happens:
A prompt appears in the minibuffer for me to run xdvi. I must type "latex" and press return. (xdvi is already open on the file, so why would I want to open it again?) A prompt appears in the minibuffer for me to save, which I can acknowledge by pressing "y". The frame is split into two windows. The latex command is run in a tex-shell in the bottom half. If the latex run was successful, I must manually remove the tex-shell window from the frame, since it is waste of screen real estate. If the latex run was unsuccessful, I must scroll through the tex shell buffer to see where they happened. Then I must seach the .tex manually file to find the corresponding code. This is basically a disaster.
Is there some way to restore the old behavior?
Note: Please don't tell me to "use AUCTeX". If I had wanted to use auctex, I would doing so by now.
链接地址:
http://www.djcxy.com/p/33398.html
上一篇:
emacs auctex 11.88:作为变量的符号值是void:LaTeX
下一篇:
如何恢复emacs中LaTex模式的旧行为?