[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Binding RET to org-return-and-maybe-indent
From: |
Jarmo Hurri |
Subject: |
Re: Binding RET to org-return-and-maybe-indent |
Date: |
Thu, 23 Jul 2020 12:52:21 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hello again.
Kévin Le Gouguec <kevin.legouguec@gmail.com> writes:
> As ORG-NEWS notes, if you want RET to stop indenting, you can disable
> electric-indent-mode in org-mode-hook:
>
> #+begin_src emacs-lisp
> (add-hook 'org-mode-hook (lambda () (electric-indent-mode -1)))
> #+end_src
Unfortunately this has side effects: it changes at least the way
parentheses and indentation interact when opening a Babel source code
block. It might be a good idea to mention this in ORG-NEWS.
Next I will try to change the binding of RET.
All the best, and stay safe.
Jarmo
- Binding RET to org-return-and-maybe-indent, Jarmo Hurri, 2020/07/22
- Re: Binding RET to org-return-and-maybe-indent, Kévin Le Gouguec, 2020/07/22
- Re: Binding RET to org-return-and-maybe-indent, Jarmo Hurri, 2020/07/23
- Re: Binding RET to org-return-and-maybe-indent,
Jarmo Hurri <=
- Re: Binding RET to org-return-and-maybe-indent, Kévin Le Gouguec, 2020/07/23
- Re: Binding RET to org-return-and-maybe-indent, Jarmo Hurri, 2020/07/24
- Re: Binding RET to org-return-and-maybe-indent, Kévin Le Gouguec, 2020/07/24
- Re: Binding RET to org-return-and-maybe-indent, Jarmo Hurri, 2020/07/27
- [PATCH] Fix recommendation in ORG-NEWS (was: Binding RET to org-return-and-maybe-indent), Kévin Le Gouguec, 2020/07/27
- Re: [PATCH] Fix recommendation in ORG-NEWS (was: Binding RET to org-return-and-maybe-indent), Kyle Meyer, 2020/07/28