[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: newline-and-indent vs. electric-indent-mode

From: Rudolf Schlatte
Subject: Re: newline-and-indent vs. electric-indent-mode
Date: Mon, 25 Jan 2021 21:10:48 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> I was thinking instead of something that removes the trailing space(s)
> when point leaves the line (like Madhu suggested).  Of course that's
> also fraught with danger (e.g. you don't want that whitespace to
> disappear just because you did `C-x C-x`), so the result might end up
> just as ugly&brittle.

Even here there are corner cases: in markdown, two or more spaces at the
end of a line denote a line break.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]