[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: M-k
From: |
Barry Margolin |
Subject: |
Re: M-k |
Date: |
Mon, 06 Jul 2009 22:55:40 -0400 |
User-agent: |
MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) |
In article <mailman.1944.1246912627.2239.help-gnu-emacs@gnu.org>,
Sean Sieger <sean.sieger@gmail.com> wrote:
> In 29.2 of the GNU/Emacs Manual,
>
> The sentence commands assume that you follow the American typist's
> convention of putting two spaces at the end of a sentence; they consider
> a sentence to end wherever there is a `.', `?' or `!' followed by the
> end of a line or two spaces, with any number of `)', `]', `'', or `"'
> characters allowed in between.
If you set sentence-end-double-space to nil, a single space after the
period is enough. The problem with this is that it can't tell the
difference between the period used in an abbreviation and the period
that ends a sentence. E.g. "Mr. Spock." is two sentences.
>
> Is there any `cure' for when I'm editing arguments in a LaTeX file and I
> want to use either `M-k' or `C-x <DEL>'?
>
> Take
>
> \begin{environment}[This is the sentence I want to kill.]{and so on}
>
> for example, I get this:
>
> \begin{environment}[
>
> right? Any suggestions?
I don't know of a way to recognize sentences that don't have ANY space
after them, other than customizing the variable sentence-end-regexp
directly.
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
- M-k, Sean Sieger, 2009/07/06
- Re: M-k,
Barry Margolin <=
- Re: M-k, harven, 2009/07/07