From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.devel Subject: Re: Patch to change just-one-space Date: Thu, 13 Aug 2009 19:35:19 -0400 Message-ID: References: <7b501d5c0908131337g300e8895i465719007e29074c@mail.gmail.com> <7b501d5c0908131630j73f0cda2le909dfe7248d9516@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1250206544 12663 80.91.229.12 (13 Aug 2009 23:35:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Aug 2009 23:35:44 +0000 (UTC) Cc: Emacs-Devel devel To: Deniz Dogan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 14 01:35:37 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 1MbjpW-0001I9-MB for ged-emacs-devel@m.gmane.org; Fri, 14 Aug 2009 01:35:35 +0200 Original-Received: from localhost ([127.0.0.1]:46681 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbjpW-0001ZB-1P for ged-emacs-devel@m.gmane.org; Thu, 13 Aug 2009 19:35:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MbjpQ-0001Y7-TT for emacs-devel@gnu.org; Thu, 13 Aug 2009 19:35:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MbjpL-0001RG-JC for emacs-devel@gnu.org; Thu, 13 Aug 2009 19:35:27 -0400 Original-Received: from [199.232.76.173] (port=46071 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbjpL-0001R3-Ax for emacs-devel@gnu.org; Thu, 13 Aug 2009 19:35:23 -0400 Original-Received: from vpn.merrillpress.com ([64.61.107.78]:35656) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MbjpK-0007YF-QA for emacs-devel@gnu.org; Thu, 13 Aug 2009 19:35:23 -0400 Original-Received: from cpe-67-246-181-235.buffalo.res.rr.com ([67.246.181.235] helo=[192.168.1.103]) by mars.merrillpress.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1MbjpJ-0003Tw-EX; Thu, 13 Aug 2009 19:35:21 -0400 In-Reply-To: <7b501d5c0908131630j73f0cda2le909dfe7248d9516@mail.gmail.com> X-Mailer: Apple Mail (2.936) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:114206 Archived-At: 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.