Emacs Me does not work properly in tex mode

I use emacs and auctex to write LaTeX documents. For some reason, Me does not go to the end of the sentence in tex-mode, as it was when I went through the tutorial. It moves to the end of the paragraph. (That is, it moves just before the break of the next double line)

What's wrong? Do I need to turn on / off some mode to go to the next full stop? How to check which modes are active?

+3
source share
2 answers

I noticed that the same thing happens in my Emacs. The problem is that the variable is sentence-end-double-spaceset to t. This means that Emacs expects the sentence to end with double space. By setting to nil, everything works correctly, that is, Emacs recognizes a period followed by one place as the end of sentences.

+8
source

The first thing to check is what you are attached to M-e. In tex mode, for me it is attached to forward-sentence. You will know it through C-h k M-e.

, forward-paragraph, .emacs, , - tex-mode . .emacs: emacs -q , M-e ( , .emacs). lisp emacs -q --no-site-file , .

+4

Source: https://habr.com/ru/post/1737198/


All Articles