From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [PATCH] org.el: Preserve indentation of manually indented lines in example blocks. Date: Tue, 16 Aug 2011 21:18:06 +0200 Message-ID: <871uwljhch.fsf@gnu.org> References: <87sjpbmyb1.fsf@gmail.com> <87obzzmt2p.fsf@gmail.com> <878vr3lz8c.fsf@gmail.com> <87vcu6lnzy.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:37840) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtP8i-0008VD-OA for emacs-orgmode@gnu.org; Tue, 16 Aug 2011 15:17:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QtP8h-0002Sp-Iu for emacs-orgmode@gnu.org; Tue, 16 Aug 2011 15:17:28 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:41266) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtP8h-0002Se-7D for emacs-orgmode@gnu.org; Tue, 16 Aug 2011 15:17:27 -0400 Received: by wyi11 with SMTP id 11so188565wyi.0 for ; Tue, 16 Aug 2011 12:17:26 -0700 (PDT) In-Reply-To: ("Valentin \=\?iso-8859-1\?Q\?W\=FCstholz\=22's\?\= message of "Tue, 9 Aug 2011 21:37:10 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Valentin =?iso-8859-1?Q?W=FCstholz?= Cc: emacs-orgmode , Nicolas Goaziou Hi Valentin, Valentin Wüstholz writes: >> Meanwhile, could you please reformat a bit your patch (no more than 80 >> columns, no parents on their own line), add a commit message followed >> by TINYCHANGE (unless you have signed FSF papers already) and use git >> format-patch for the output? > > Sure. I have attached the output. Thanks for making the effort of reformatting patches this way. With so many patches coming in, it's really important that everyone tries to stick to immediately-applicable patches. > From c64f1b607d937c6484dfc18110125b1287175ac4 Mon Sep 17 00:00:00 2001 > From: =?UTF-8?q?Valentin=20W=FCstholz?= > Date: Tue, 9 Aug 2011 21:28:56 +0200 > Subject: [PATCH] Preserve indentation of explicitly indented lines in example blocks > > * lisp/org.el (org-indent-line-function): Made the way in which example blocks are > indented more flexible. This line a bit long and should be something like: > * lisp/org.el (org-indent-line-function): Made the way in which > example blocks are indented more flexible. Use M-q in change-log-mode on the ChangeLog to fill the region correctly. > Before: Lines in example blocks were indented like the surrounding begin and end > delimiters. > After: By default, lines in example blocks are indented like the surrounding begin and end > delimiters, unless the user explicitly indents them differently. Here again, I prefer <80 characters lines, but that's less important than the ChangeLog entry. Thanks, -- Bastien