From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: BUG: Wrong indentation inside src block Date: Sat, 16 Apr 2016 09:50:33 -0500 Message-ID: References: <87bn5axteh.fsf@alphapapa.net> <87fuum2b8u.fsf@fm4d.net> <87mvotpqv1.fsf@alphapapa.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c04336eed75a705309b3f69 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58085) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arRYS-0003KV-PC for emacs-orgmode@gnu.org; Sat, 16 Apr 2016 10:50:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1arRYR-0002zt-FU for emacs-orgmode@gnu.org; Sat, 16 Apr 2016 10:50:36 -0400 Received: from mail-vk0-x235.google.com ([2607:f8b0:400c:c05::235]:33738) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arRYR-0002zn-8x for emacs-orgmode@gnu.org; Sat, 16 Apr 2016 10:50:35 -0400 Received: by mail-vk0-x235.google.com with SMTP id n62so61984363vkb.0 for ; Sat, 16 Apr 2016 07:50:34 -0700 (PDT) In-Reply-To: <87mvotpqv1.fsf@alphapapa.net> 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: Adam Porter Cc: emacs-orgmode --94eb2c04336eed75a705309b3f69 Content-Type: text/plain; charset=UTF-8 On Apr 16, 2016 09:31, "Adam Porter" wrote: > > fm4d writes: > > > I can see that I should have explain it with more clarity. > > I am using and the actual code is indented correctly inside > > and when tangled, BUT it is displayed incorrectly in the > > src block after I return from and org-indent-mode is on. > > The code I posted should show what I mean, the expression inside > > src block (pasted and indented correctly inside ) is just > > incorrectly rendered outside of . Tracking it to this merge > > commit was the best I could do, I was trying to look throught the > > changes but with no luck. > > The only thing I can think of is that it might be something to do with > indenting with tabs vs. spaces. Maybe check your indentation settings. > Also see if you can reproduce it with emacs -q; if not, it's probably an > issue with your config. Not sure of it's the same, but I had some issues with spaces/tabs myself a bit back and agree it's a good place to look. - https://lists.gnu.org/archive/html/emacs-orgmode/2014-01/msg01505.html One can also check the mentioned variable, org-src-preserve-indentation. John > > --94eb2c04336eed75a705309b3f69 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Apr 16, 2016 09:31, "Adam Porter" <adam@alphapapa.net> wrote:
>
> fm4d <m@fm4d.net> writes:
>
> > I can see that I should have explain it with more clarity.
> > I am using <C-c '> and the actual code is indented corr= ectly inside
> > <C-c '> and when tangled, BUT it is displayed incorrect= ly in the
> > src block after I return from <C-c '> and org-indent-mo= de is on.
> > The code I posted should show what I mean, the expression inside<= br> > > src block (pasted and indented correctly inside <C-c '>= ) is just
> > incorrectly rendered outside of <C-c '>. Tracking it to= this merge
> > commit was the best I could do, I was trying to look throught the=
> > changes but with no luck.
>
> The only thing I can think of is that it might be something to do with=
> indenting with tabs vs. spaces.=C2=A0 Maybe check your indentation set= tings.
> Also see if you can reproduce it with emacs -q; if not, it's proba= bly an
> issue with your config.

Not sure of it's the same, but I had some issues with sp= aces/tabs myself a bit back and agree it's a good place to look.
- https://lists.gnu.org/archive/html/emacs-orgmode/2014-01/msg01505= .html

One can also check the mentioned variable, org-src-preserve-= indentation.

John

>
>

--94eb2c04336eed75a705309b3f69--