From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Josh Newsgroups: gmane.emacs.devel Subject: Re: Patch for delete-indentation in simple.el Date: Fri, 23 Aug 2013 09:16:44 -0700 Message-ID: References: <1377264671.59291.YahooMailBasic@web163405.mail.gq1.yahoo.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1377274652 17179 80.91.229.3 (23 Aug 2013 16:17:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Aug 2013 16:17:32 +0000 (UTC) Cc: Stefan Monnier , emacs-devel To: Gian Fontanilla Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 23 18:17:31 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VCu3G-000327-FP for ged-emacs-devel@m.gmane.org; Fri, 23 Aug 2013 18:17:30 +0200 Original-Received: from localhost ([::1]:37777 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VCu3G-0003rk-1v for ged-emacs-devel@m.gmane.org; Fri, 23 Aug 2013 12:17:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33229) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VCu38-0003n4-Jf for emacs-devel@gnu.org; Fri, 23 Aug 2013 12:17:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VCu32-0005LG-2e for emacs-devel@gnu.org; Fri, 23 Aug 2013 12:17:22 -0400 Original-Received: from mail-qe0-f43.google.com ([209.85.128.43]:62080) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VCu31-0005Kx-VH for emacs-devel@gnu.org; Fri, 23 Aug 2013 12:17:16 -0400 Original-Received: by mail-qe0-f43.google.com with SMTP id t7so440581qeb.2 for ; Fri, 23 Aug 2013 09:17:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=F3XF1SzIEbQEEAhKHEdbOYMecXPLuPAd/1y0RhUVkVg=; b=Mw9+icxo2IyKiv+13/oRiR2m5YRinAUNP7MFr/fv0zV8g+20Z5Cj8NEWCgYw2X7UnA Jp18njxbcKIClgBcuw3x4c8R5QNjTkq+TuGe9Fw3gbxuEx4UOmdtk5u5SnPbXMqMsrm0 tOa1jHzX7WP84FAypGgIW+bPsINN0AO+wQpFmuZJ1zvZq6zLzmE8e8mNJpqzer/xJBMU aCOOn8Fa86vjdAD/P1+JXjx1ea3CgtN44oJdoo1uvPvho3YUFOItshLq61k3KFnwm3E5 a7npm39/kKIx81me+Dg+KZoGKL5TSrw4xiT1PeaOssURAmDJGj/dRwuULjB+wrG2NsIj 01lg== X-Gm-Message-State: ALoCoQn/SFVgnUikRHZKveuEhmRpFTVzYYxoQKKNkAxImZHZzTBmMCYnI/p3HccLT0qtaw765mEK X-Received: by 10.224.122.195 with SMTP id m3mr25688511qar.9.1377274635438; Fri, 23 Aug 2013 09:17:15 -0700 (PDT) Original-Received: by 10.49.38.162 with HTTP; Fri, 23 Aug 2013 09:16:44 -0700 (PDT) In-Reply-To: <1377264671.59291.YahooMailBasic@web163405.mail.gq1.yahoo.com> X-Google-Sender-Auth: bUCtCGsCxSTpyg_wC4H-GXn9oyk X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.128.43 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:162995 Archived-At: On Fri, Aug 23, 2013 at 6:31 AM, Gian Fontanilla wrot= e: > Just some clarifications: > > 1) Should I create a separate function which does `delete-indentation' on= a region, and not change `delete-indentation' itself? > > 2) If the answer to 1 is yes, what name should I give it? The feature I'm= proposing is semantically closer to "join lines", rather than the inverse = of `fill-region' or `fill-paragraph', so I don't think it is correct to cal= l it "unfill". To further explain this, I envision this to be the inverse o= f a "split" function (not `split-line') , which will split the line into se= veral lines based on a delimiter (whitespace by default or user specified, = or can also be fill-prefix). Thanks for your patch. In case you weren't already aware of it, there is s= ome related discussion at http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D14973 = . Josh