From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Barry Margolin Newsgroups: gmane.emacs.help Subject: Re: M-k Date: Mon, 06 Jul 2009 22:55:40 -0400 Organization: A noiseless patient Spider Message-ID: References: NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1246938047 30083 80.91.229.12 (7 Jul 2009 03:40:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 Jul 2009 03:40:47 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 07 05:40:41 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MO1Xs-0006rg-W9 for geh-help-gnu-emacs@m.gmane.org; Tue, 07 Jul 2009 05:40:41 +0200 Original-Received: from localhost ([127.0.0.1]:53477 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MO1Xr-0002XW-SN for geh-help-gnu-emacs@m.gmane.org; Mon, 06 Jul 2009 23:40:39 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!aotearoa.belnet.be!news.belnet.be!feed.xsnews.nl!border-1.ams.xsnews.nl!newsfeed.kamp.net!newsfeed.kamp.net!188.40.43.213.MISMATCH!feeder.eternal-september.org!eternal-september.org!news.eternal-september.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 39 Original-X-Trace: news.eternal-september.org U2FsdGVkX18S45GcZugr/FnlDKi1OI7KP741iq8pVaM6lrKeSDod2+rOTNfiqAl66Ah+dxt47UpPgCnhyhL4w6C7BdKXKyE9PG5Lq+de3rlKGFWepwDFNFZpgFhEY6L0oa7pz4aOnhU= Original-X-Complaints-To: abuse@eternal-september.org Original-NNTP-Posting-Date: Tue, 7 Jul 2009 02:59:53 +0000 (UTC) X-Auth-Sender: U2FsdGVkX19JIRhotCSeYPS7/P4hrlbP3KvKEvumClU= Cancel-Lock: sha1:6tiRxMA5lprO3aKoJzkWgVxGkhI= User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) Mail-Copies-To: nobody Original-Xref: news.stanford.edu gnu.emacs.help:170604 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:65805 Archived-At: In article , Sean Sieger 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 '? > > 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 ***