From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] org.el: Preserve indentation of manually indented lines in example blocks. Date: Mon, 08 Aug 2011 22:40:50 +0200 Message-ID: <87sjpbmyb1.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:42534) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqWdU-0003zJ-GK for emacs-orgmode@gnu.org; Mon, 08 Aug 2011 16:41:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QqWdT-0000OK-Mh for emacs-orgmode@gnu.org; Mon, 08 Aug 2011 16:41:20 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:47733) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqWdT-0000O7-Fw for emacs-orgmode@gnu.org; Mon, 08 Aug 2011 16:41:19 -0400 Received: by wyi11 with SMTP id 11so365386wyi.0 for ; Mon, 08 Aug 2011 13:41:18 -0700 (PDT) In-Reply-To: ("Valentin =?utf-8?Q?W=C3=BCstholz=22's?= message of "Mon, 8 Aug 2011 21:48:36 +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 =?utf-8?Q?W=C3=BCstholz?= Cc: emacs-orgmode Hello, Valentin W=C3=BCstholz writes: > lines in example blocks are currently indented like the surrounding > begin and end delimiters. =C2=A8This works fine unless, you want to indent > some lines manually; You may use colons instead. They are meant for this task. I.e.: : some text : ^ > in this case, auto-indenting the buffer reverts the manual > indentation. This patch should prevent this from happening. I don't think we should prevent that as it would be more hassle to cope with the new behaviour than doing it with colons. Regards, --=20 Nicolas Goaziou