Henrik Andersson <[EMAIL PROTECTED]> wrote on Wed, 07 Sep 2005 11:50:24 +0200: > Ralf Angeli wrote: >> * Henrik Andersson (2005-09-07) writes: >> >> >>>I edit a lot of LaTeX manuscripts and I started to use emacs key >>>sequences to move easier, avoiding the mouse. >>> >>>One question, why does M-a and M-e not move to beginning/end of >>>sentences, but paragraphs, when the description clearly says that they >>>are moving around sentences. Are there a different function that will >>>do this? >> >> >> See `C-h f forward-sentence RET' and `C-h v sentence-end RET'. >> > Ok, I read but do not fully understand, does it mean I need two spaces > separating sentences?
Probably. (I'm guessing here about what your problem is.) Either that, or change `sentence-end' to match sentences with just one space after them. Have a look at the page "Regexp Example" in the Elisp manual. I don't know if the mode you're using changes `sentence-end'. Why don't you post it here? If it doesn't, the following value might work for you: This is the standard value, which insists on 2 spaces after a sentence: "[.?!][]\"')}]*\\($\\| $\\|\t\\| \\)[ \t\n]*" This adaptation only needs one space. "[.?!][]\"')}]*\\($\\|\t\\| \\)[ \t\n]*" -- Alan Mackenzie (Munich, Germany) Email: [EMAIL PROTECTED]; to decode, wherever there is a repeated letter (like "aa"), remove half of them (leaving, say, "a"). _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs