emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Adam Porter <adam@alphapapa.net>
To: emacs-orgmode@gnu.org
Subject: Re: BUG: Wrong indentation inside src block
Date: Sat, 16 Apr 2016 09:31:30 -0500	[thread overview]
Message-ID: <87mvotpqv1.fsf@alphapapa.net> (raw)
In-Reply-To: 87fuum2b8u.fsf@fm4d.net

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.

  parent reply	other threads:[~2016-04-16 14:31 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 [this message]
2016-04-16 14:50       ` John Hendy
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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mvotpqv1.fsf@alphapapa.net \
    --to=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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).