emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: zimoun <zimon.toutoune@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: issue indent src block?
Date: Mon, 20 Apr 2020 18:12:53 +0200	[thread overview]
Message-ID: <87pnc2rv96.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAJ3okZ1NPe9d82vraN3hgALLo8g8S9TCaiknpYGoDchvGE7Oow@mail.gmail.com> (zimoun's message of "Mon, 20 Apr 2020 17:43:14 +0200")


zimoun <zimon.toutoune@gmail.com> writes:

> I have noted unexpected alignment with source blocks. For example:
> --8<---------------cut here---------------start------------->8---
> #+begin_src shell
> 0
> #+end_src
> * One
>   #+begin_src shell
>   1
>   #+end_src
> ** Two
>    #+begin_src shell
>    2
>    #+end_src
> --8<---------------cut here---------------end--------------->8---
> where the blocks are filled using the usual C-c '.
> I was expecting that 0, 1 and 2 aligned with the 'b' of 'begin'.
> And if I move them by hand and them hit C-x h and Tab, they are placed
> again as in the example above.

I cannot reproduce it. You may want to check if something is setting
`org-edit-src-content-indentation' to 0, e.g., .dir-locals.el or some


Nicolas Goaziou

  reply	other threads:[~2020-04-20 16:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-20 15:43 zimoun
2020-04-20 16:12 ` Nicolas Goaziou [this message]
2020-04-21  7:58   ` zimoun

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:

  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=87pnc2rv96.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=zimon.toutoune@gmail.com \
    --subject='Re: issue indent src block?' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:


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).