* issue indent src block?
@ 2020-04-20 15:43 zimoun
2020-04-20 16:12 ` Nicolas Goaziou
0 siblings, 1 reply; 3+ messages in thread
From: zimoun @ 2020-04-20 15:43 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: issue indent src block?
2020-04-20 15:43 issue indent src block? zimoun
@ 2020-04-20 16:12 ` Nicolas Goaziou
2020-04-21 7:58 ` zimoun
0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2020-04-20 16:12 UTC (permalink / raw)
To: zimoun; +Cc: emacs-orgmode
Hello,
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
such.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-04-21 7:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-20 15:43 issue indent src block? zimoun
2020-04-20 16:12 ` Nicolas Goaziou
2020-04-21 7:58 ` zimoun
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.