emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: emacs-orgmode@gnu.org
Subject: issue indent src block?
Date: Mon, 20 Apr 2020 17:43:14 +0200	[thread overview]
Message-ID: <CAJ3okZ1NPe9d82vraN3hgALLo8g8S9TCaiknpYGoDchvGE7Oow@mail.gmail.com> (raw)

Dear,
(please CC me because I have not subscribed)


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.


Is this alignment expected?
Do I misconfigure something? Even if I reproduce the behaviour with "emacs -q".


Emacs 26.3 and Org 9.3.6 comes from Guix
de5200ada9932501dbe010990ed1acf7688846a6.


Thank you in advance for any comment.

All the best,
simon


             reply	other threads:[~2020-04-20 15:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-20 15:43 zimoun [this message]
2020-04-20 16:12 ` issue indent src block? Nicolas Goaziou
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:
  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=CAJ3okZ1NPe9d82vraN3hgALLo8g8S9TCaiknpYGoDchvGE7Oow@mail.gmail.com \
    --to=zimon.toutoune@gmail.com \
    --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).