[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Disabling automatic reindentation of the current line after a newlin
From: |
Stefan Monnier |
Subject: |
Re: Disabling automatic reindentation of the current line after a newline |
Date: |
Thu, 27 Oct 2022 12:46:32 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Jean Abou Samra [2022-10-26 23:55:30] wrote:
> Le 24/10/2022 à 19:58, Stefan Monnier via Users list for the GNU Emacs text
> editor a écrit :
>>> line when I press RET. What I'd like is for Emacs to auto-insert the
>>> number of spaces it deems necessary for the new, still blank line
>>> whenever I press RET, without also reindenting the previous line,
>> Set `electric-indent-inhibit` to t.
> Thanks! This works in Lisp and Scheme. It does not prevent the
> C++ mode from reindenting when inserting a semicolon, but I can
> live with that one.
You might report this as a bug. It probably affects all CC-modes :-(
Stefan
- Re: Disabling automatic reindentation of the current line after a newline, (continued)
- Disabling automatic reindentation of the current line after a newline, Jean Abou Samra, 2022/10/24
- Re: Disabling automatic reindentation of the current line after a newline, Stefan Monnier, 2022/10/24
- Re: Disabling automatic reindentation of the current line after a newline, Anders Munch, 2022/10/25
- Re: Disabling automatic reindentation of the current line after a newline, Stefan Monnier, 2022/10/25
- Re: Disabling automatic reindentation of the current line after a newline, Anders Munch, 2022/10/25
- Re: Disabling automatic reindentation of the current line after a newline, Stefan Monnier, 2022/10/25
- Re: Disabling automatic reindentation of the current line after a newline, Emanuel Berg, 2022/10/26
- Re: Disabling automatic reindentation of the current line after a newline, Jean Abou Samra, 2022/10/26
- Re: Disabling automatic reindentation of the current line after a newline, Eli Zaretskii, 2022/10/27
- Re: Disabling automatic reindentation of the current line after a newline,
Stefan Monnier <=