From: John Hendy <jw.hendy@gmail.com>
To: Adam Porter <adam@alphapapa.net>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: BUG: Wrong indentation inside src block
Date: Sat, 16 Apr 2016 09:50:33 -0500 [thread overview]
Message-ID: <CA+M2ft-zWTTMAUpwAt3xGHHcbOfqUvxbueDPTh6E7aYL65+n8w@mail.gmail.com> (raw)
In-Reply-To: <87mvotpqv1.fsf@alphapapa.net>
[-- Attachment #1: Type: text/plain, Size: 1209 bytes --]
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 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.
John
>
>
[-- Attachment #2: Type: text/html, Size: 1732 bytes --]
next prev parent reply other threads:[~2016-04-16 14:50 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-15 22:56 BUG: Wrong indentation inside src block fm4d
2016-04-16 0:57 ` Adam Porter
2016-04-16 8:45 ` fm4d
2016-04-16 10:14 ` Nicolas Goaziou
2016-04-16 14:31 ` Adam Porter
2016-04-16 14:50 ` John Hendy [this message]
2016-04-16 15:42 ` fm4d
[not found] ` <5f4b206cd53f4894b6e8fe2bb5334a25@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-04-16 16:24 ` Eric S Fraga
2016-04-16 17:12 ` fm4d
2016-04-19 19:18 ` Nicolas Goaziou
2016-04-20 17:16 ` fm4d
2016-04-20 21:42 ` Nicolas Goaziou
2016-04-20 21:52 ` fm4d
2016-04-20 22:02 ` Nicolas Goaziou
2016-04-16 17:29 ` fm4d
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CA+M2ft-zWTTMAUpwAt3xGHHcbOfqUvxbueDPTh6E7aYL65+n8w@mail.gmail.com \
--to=jw.hendy@gmail.com \
--cc=adam@alphapapa.net \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.