[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] BUG: Wrong indentation inside src block

From: John Hendy
Subject: Re: [O] BUG: Wrong indentation inside src block
Date: Sat, 16 Apr 2016 09:50:33 -0500

On Apr 16, 2016 09:31, "Adam Porter" <address@hidden> wrote:
> fm4d <address@hidden> writes:
> > I can see that I should have explain it with more clarity.
> > I am using <C-c '> and the actual code is indented correctly inside
> > <C-c '> and when tangled, BUT it is displayed incorrectly in the
> > src block after I return from <C-c '> 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 <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.  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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]