From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Something like #+BIND but for the destination buffer Date: Sat, 14 Jan 2017 15:46:04 +0100 Message-ID: <877f5xaedv.fsf@nicolasgoaziou.fr> References: <874m1krwk5.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40289) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cSPar-0001P8-RG for emacs-orgmode@gnu.org; Sat, 14 Jan 2017 09:46:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cSPar-0006mi-5a for emacs-orgmode@gnu.org; Sat, 14 Jan 2017 09:46:09 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:56737) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cSPar-0006mJ-08 for emacs-orgmode@gnu.org; Sat, 14 Jan 2017 09:46:09 -0500 In-Reply-To: (Jonas Bernoulli's message of "Sat, 14 Jan 2017 14:42:39 +0100") 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" To: Jonas Bernoulli Cc: Org-Mode mailing list , "Charles C. Berry" Hello, Jonas Bernoulli writes: > This seemed promising at first but let to all kinds of strange behavior. > Code-blocks that are part of a list item turned out to particularly > painful, as here "Finally, you can use =E2=80=98-i=E2=80=99 to preserve t= he indentation of > a specific code block" means that an additional five (if I remember > correctly) spaces appear out of nowhere (only for code-blocks, > example-blocks behaved as expected (or at least in an reasonable > way)). With -i, indentation is taken from column 0, so the five spaces didn't come out of nowhere, but probably from the indentation you gave to the contents of the source block, which is not necessary. E.g., - Some list item #+BEGIN_SRC emacs-lisp -i This is the code, and it will not break list #+END_SRC Regards, --=20 Nicolas Goaziou