From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Deniz Dogan Newsgroups: gmane.emacs.devel Subject: Re: Patch to change just-one-space Date: Fri, 14 Aug 2009 01:37:55 +0200 Message-ID: <7b501d5c0908131637q77df6ce8i87b59466fe58afbf@mail.gmail.com> References: <7b501d5c0908131337g300e8895i465719007e29074c@mail.gmail.com> <7b501d5c0908131630j73f0cda2le909dfe7248d9516@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1250206693 12946 80.91.229.12 (13 Aug 2009 23:38:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Aug 2009 23:38:13 +0000 (UTC) Cc: Emacs-Devel devel To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 14 01:38:06 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mbjrx-00026z-RN for ged-emacs-devel@m.gmane.org; Fri, 14 Aug 2009 01:38:06 +0200 Original-Received: from localhost ([127.0.0.1]:47165 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mbjrx-0002lY-7h for ged-emacs-devel@m.gmane.org; Thu, 13 Aug 2009 19:38:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mbjrt-0002lS-5d for emacs-devel@gnu.org; Thu, 13 Aug 2009 19:38:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mbjro-0002lF-Q6 for emacs-devel@gnu.org; Thu, 13 Aug 2009 19:38:00 -0400 Original-Received: from [199.232.76.173] (port=46110 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mbjro-0002lC-KM for emacs-devel@gnu.org; Thu, 13 Aug 2009 19:37:56 -0400 Original-Received: from mail-ew0-f207.google.com ([209.85.219.207]:45013) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mbjro-0008KJ-4g for emacs-devel@gnu.org; Thu, 13 Aug 2009 19:37:56 -0400 Original-Received: by ewy3 with SMTP id 3so1487054ewy.42 for ; Thu, 13 Aug 2009 16:37:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=gDFsWXoZws5g83v/ojusiuI4brRpV57o92cSaTAPUsQ=; b=kbaqD2G+zffNyrbEB8cY1J/q5SvvRbB09vZuFJ4UYjdxCNskZizC2u2q7xuXCc1uya rkqiguhmsdFAlVogPy7mlYhz+1F+1NPJzUoMjuDjnNaTp7C8XW4HY8vymhjvgtXtK/V2 ru/Vy7HH1zxTdrSfBwa3UzMITpc56wnz3dWDA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=CHvJj6JIZld+qII5UVacZCAl/PMUvEbnRR2NU1EbDBV34/NFBNikeOnukx5pyABoMb aPjHsNApePPMDHtQdGH7rHBV9TuL6IShpTjxZuQji7XmfvTW5nC1rNX6sZ0MOfgVPxrf 6Pz7W+6P6jT85LjdkouJEEaO3WLDCM1qwOFFg= Original-Received: by 10.210.131.6 with SMTP id e6mr55526ebd.29.1250206675423; Thu, 13 Aug 2009 16:37:55 -0700 (PDT) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:114207 Archived-At: 2009/8/14 Daniel Colascione : > On Aug 13, 2009, at 7:30 PM, Deniz Dogan wrote: >> >> Not a bad idea. I'd like to take your idea and revise it a bit: If >> there are only whitespace characters characters between point and EOL, >> nuke including newlines. Otherwise, nuke excluding newlines. > > just-one-space with a negative prefix argument is currently meaningless > (more precisely, negative arguments are treated as 0). Why not make a > negative argument mean "kill including newlines"? That way, you can just > whack M-- M-SPC to get the behavior you want. > If no one else has a problem with that behavior, I'd be all for it. Let's see what people decide that this alternative version of just-on-space should act like first. -- Deniz Dogan