[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13810: 24.3.50; Docstring of `newline' is confusing
From: |
Lars Ingebrigtsen |
Subject: |
bug#13810: 24.3.50; Docstring of `newline' is confusing |
Date: |
Mon, 21 Sep 2020 16:35:56 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Stephen Berman <stephen.berman@gmx.net> writes:
> Your report prompted me to check the code of newline and I think I found
> a bug: a comment says, "If the newline leaves the previous line blank,
> and we have a left margin, delete that from the blank line", but the
> code only checks whether the previous line consists of a *single* space
> or tab, so if there's more than one space or tab and the line is
> otherwise blank, these won't be deleted. I doubt this asymmetry is
> intended, so at least the following patch should be made:
Thanks; I've now applied your patch to Emacs 28.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#13810: 24.3.50; Docstring of `newline' is confusing,
Lars Ingebrigtsen <=