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 08:59:54 +0200 Message-ID: <7b501d5c0908132359g7a309178pbb646c5b6b9a6ad3@mail.gmail.com> References: <7b501d5c0908131337g300e8895i465719007e29074c@mail.gmail.com> <87ljlns61x.fsf@mail.jurta.org> <7b501d5c0908131633h74ecc2c3s9ff607de840a6064@mail.gmail.com> <87ab2387rn.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1250233216 31180 80.91.229.12 (14 Aug 2009 07:00:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Aug 2009 07:00:16 +0000 (UTC) Cc: Juri Linkov , Emacs-Devel devel To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 14 09:00:08 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 1Mbqlj-0001og-VL for ged-emacs-devel@m.gmane.org; Fri, 14 Aug 2009 09:00:08 +0200 Original-Received: from localhost ([127.0.0.1]:47892 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mbqlj-0000vs-5w for ged-emacs-devel@m.gmane.org; Fri, 14 Aug 2009 03:00:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mbqld-0000vc-Ki for emacs-devel@gnu.org; Fri, 14 Aug 2009 03:00:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MbqlY-0000ui-Qj for emacs-devel@gnu.org; Fri, 14 Aug 2009 03:00:01 -0400 Original-Received: from [199.232.76.173] (port=49648 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbqlY-0000uf-M0 for emacs-devel@gnu.org; Fri, 14 Aug 2009 02:59:56 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:32265) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MbqlY-0007r2-42 for emacs-devel@gnu.org; Fri, 14 Aug 2009 02:59:56 -0400 Original-Received: from mail-ew0-f207.google.com ([209.85.219.207]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MbqlX-0003OB-FD for emacs-devel@gnu.org; Fri, 14 Aug 2009 02:59:55 -0400 Original-Received: by ewy3 with SMTP id 3so1674333ewy.42 for ; Thu, 13 Aug 2009 23:59:54 -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=5vYSY1eyT3iJhvdxLxOy28K0V1024pT5gDDNO/1IedQ=; b=OcvzwT07Sof9xCsG8YY1xDuLYt/iZDF4JQ3leAYBlNeYCeeT3wZXa4TYjT6/g2iMPJ NPPn0TyvG4DedZJ5N/Z//ZmjrsfsJrZyQYM4IuPwD82PrAPU3qcCIBcl7KWHVvFP0n40 s6eAZq5QVr/grQv9bN3bM3lv7DPhIK0nHTEZk= 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=mkz5LlmsFNPA3WfYQ91clEBS5f7pOCBdvJvF5s/72CLIx+kDCg8Y0sLVSQgowtjh6u A6A6QoiKwARahtVuITKIz4e6BIu9JeXZ7/GvkUZxfBj/EbuidExcOFr4wUIfl+02zlle 21E1RGpvUUIsxRp9p1VW9gFqhkqiX4HZQZ444= Original-Received: by 10.210.136.15 with SMTP id j15mr414902ebd.68.1250233194490; Thu, 13 Aug 2009 23:59:54 -0700 (PDT) In-Reply-To: <87ab2387rn.fsf@uwakimon.sk.tsukuba.ac.jp> X-Detected-Operating-System: by mx20.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:114219 Archived-At: 2009/8/14 Stephen J. Turnbull : > Deniz Dogan writes: > =A0> 2009/8/14 Juri Linkov : > > =A0> > No, it's a controversial change. =A0Just imagine typing M-SPC at t= he end > =A0> > of the paragraph. > =A0> > =A0> That's exactly why I wrote this change, because that's how I use my > =A0> own version of M-SPC. I very rarely use the version that's in CVS no= w. > > I use the current definition a lot; usage patterns vary, it seems. > > In your typical use there are *no* non-newline spaces? No, it is usually a combination of spaces and newlines, e.g. in:

c Hello

...where point is at "c". Then I'd just merge the lines using M-SPC DEL or M-0 M-SPC. Then I would probably do it again: ...where point is at "c". The result: > It seems to me that a more flexible and discoverable (and to you > equivalent, up to default keybindings) idea would be to define > `paragraph-join' and `paragraph-break', and bind the former to M-SPC. Sounds interesting. So basically we would make `paragraph-join' the same as "my" version of `just-one-space'? Or did you have something different in mind? --=20 Deniz Dogan