Re: Reconciling org-mode idiosyncrasies with Emacs core

2020-05-04 Thread Kévin Le Gouguec
Nicolas Goaziou writes: > Tests for `org-return' (named "test-org/return") are in the > "test-org.el" file in the "testing/lisp" directory. We only need to test > if electric-indent-mode has an effect, but only in regular cases. Thanks for the pointer! (I forgot to mention that AFAICT, all curr

Re: Reconciling org-mode idiosyncrasies with Emacs core

2020-05-04 Thread Nicolas Goaziou
Hello, Kévin Le Gouguec writes: > I took a stab at making RET obey electric-indent-mode in org-mode. Thank you! > I've got something working; I'd like to ask for a review before moving > on to Changelog and ORG-NEWS entries (and tackling C-j… and maybe > writing a few unit tests?). Tests for

Re: Reconciling org-mode idiosyncrasies with Emacs core

2020-05-04 Thread Kévin Le Gouguec
Hi Nicolas, I took a stab at making RET obey electric-indent-mode in org-mode. I've got something working; I'd like to ask for a review before moving on to Changelog and ORG-NEWS entries (and tackling C-j… and maybe writing a few unit tests?). Here's the patch, with some additional comments belo

Re: Reconciling org-mode idiosyncrasies with Emacs core

2020-04-29 Thread Nicolas Goaziou
Hello, Kévin Le Gouguec writes: > Nicolas Goaziou writes: > >> For example, having RET >> inserting a plain newline would be a disaster in many locations. > > I don't think I've seen anybody advocating for that! If you are > referring to this bit: