GNU bug report logs - #21785
25.0.50; sort-fields fails if region ends in a newline and sort-paragraph fails if it doesn't

Previous Next

Package: emacs;

Reported by: bruce.connor.am <at> gmail.com

Date: Thu, 29 Oct 2015 12:39:01 UTC

Severity: minor

Tags: fixed, patch

Found in version 25.0.50

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> mouse.gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> mouse.gnus.org>
To: Artur Malabarba <bruce.connor.am <at> gmail.com>
Cc: 21785 <at> debbugs.gnu.org
Subject: bug#21785: 25.0.50; sort-fields fails if region ends in a newline and sort-paragraph fails if it doesn't
Date: Fri, 23 Aug 2019 03:44:06 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> The second does seem like a bug.  If the final paragraph doesn't end in
> a newline, it's squashed into the following paragraph after sorting.
>
> The following patch fixes the problem (by adding a newline in these
> cases).  Does this seems like the correct approach for everybody?

There were no comments, so I've applied the patch.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 5 years and 271 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.