Re: begin_src Indentation in org 9.4.4, 9.4.5

2021-05-18 Thread Bastien
Hi Sébastien, Sébastien Miquel writes: > Here's such a patch. Applied, thanks a lot. >> Also, do you want to become the maintainer for org-src.el? We need >> more people taking charge of specific areas in Org's code. > I do intend to keep monitoring this list and help around for the >

Re: begin_src Indentation in org 9.4.4, 9.4.5

2021-05-18 Thread Sébastien Miquel
Hi Bastien, Bastien writes: Before I revert the commit and try your suggestion, can you share a patch that add both changes (the revert and your fix) manually so I can test it? If this fixes the original issue while preserving electric indentation, I'm okay with it. Here's such a patch.

Re: begin_src Indentation in org 9.4.4, 9.4.5

2021-05-18 Thread Bastien
Hi Sébastien, Sébastien Miquel writes: > The commit `bfda3cc7df31fa79222efb4c190618c3c85a3d04` breaks automatic > (electric) indentation  in src blocks for all configurations. Yes, this was intentional: there are many variables interfering in this area, and preventing electric indentation for

Re: begin_src Indentation in org 9.4.4, 9.4.5

2021-05-17 Thread Sébastien Miquel
Hi Bastien, The commit `bfda3cc7df31fa79222efb4c190618c3c85a3d04` breaks automatic (electric) indentation  in src blocks for all configurations. Here's what happens with the original issue. When you press `RET` after the first ~hello hi~, the result is that the first line is indented by two

Re: begin_src Indentation in org 9.4.4, 9.4.5

2021-05-15 Thread Nathaniel W Griswold
!!! Great! > On May 15, 2021, at 6:50 AM, Bastien wrote: > > Hi Nathaniel, > > Ihor Radchenko writes: > >> Nathaniel W Griswold writes: >>> The formatting i get looks strange: >>> >>> #+begin_src sh >>>echo hi >>> echo hi >>> #+end_src >> >> Confirmed on master. > > Fixed in the

Re: begin_src Indentation in org 9.4.4, 9.4.5

2021-05-15 Thread Bastien
Hi Nathaniel, Ihor Radchenko writes: > Nathaniel W Griswold writes: >> The formatting i get looks strange: >> >> #+begin_src sh >> echo hi >> echo hi >> #+end_src > > Confirmed on master. Fixed in the maint branch, thanks. -- Bastien

Re: begin_src Indentation in org 9.4.4, 9.4.5

2021-05-07 Thread Ihor Radchenko
Nathaniel W Griswold writes: > The formatting i get looks strange: > > #+begin_src sh > echo hi > echo hi > #+end_src Confirmed on master.

Re: begin_src Indentation in org 9.4.4, 9.4.5

2021-05-07 Thread Nathaniel W Griswold
Sorry i think i scared my email client. I looked at my raw message and some wacky stuff got inserted. I'm rewriting the original message here: I am wondering if other people experience odd formatting when doing the following in org 9.4.4 and org 9.4.5: # emacs -Q /tmp/blah.org M-x

Re: begin_src Indentation in org 9.4.4, 9.4.5

2021-05-07 Thread Nathaniel W Griswold
I messed up the paste, it's supposed to be: -- #+begin_src sh echo hi echo hi #+end_src -- > On May 7, 2021, at 4:01 PM, Nathaniel W Griswold wrote: > > If i launch emacs with emacs -Q /tmp/blah.org > > M-x org-insert-structure-templatesshecho hiecho hi > > It looks like this: > >

begin_src Indentation in org 9.4.4, 9.4.5

2021-05-07 Thread Nathaniel W Griswold
If i launch emacs with emacs -Q /tmp/blah.org M-x org-insert-structure-templatesshecho hiecho hi It looks like this: omw -- #+begin_src sh echo hi