unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Could anyone tackle Emacs bug#23794 in sort-lines before Emacs 26 is released?
@ 2017-09-22  0:07 Robert Weiner
  2017-09-22  5:59 ` John Wiegley
  0 siblings, 1 reply; 3+ messages in thread
From: Robert Weiner @ 2017-09-22  0:07 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 1021 bytes --]

This is the bug that sort-lines since Emacs 25 has not handled collapsed
(invisible) lines properly (keeping them with their parents) when sorting.
Prior to Emacs 25, sort-lines handled outline sorting properly.

It should be a fairly straightforward thing (relative to the complexity of
other Emacs issues) since it is well understood and a potential patch has
been offered.  Eli suggested that any change be limited to outlining modes
to limit its effects.

​I cannot work on it myself right now and that is why I am asking someone
else to pick it up.​


I think this is a bug that should be eliminated before Emacs 26 goes live
​ so it does not impact people with large outlines who might sort them and
get the wrong results but not notice until their data has been corrupted
for a while and they can't get back to the original proper hierarchical
associations.​

At the very least the present behavior makes no sense for outline modes
that use invisibility for collapsing.

​Bob
​

[-- Attachment #2: Type: text/html, Size: 1994 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-09-22  8:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-22  0:07 Could anyone tackle Emacs bug#23794 in sort-lines before Emacs 26 is released? Robert Weiner
2017-09-22  5:59 ` John Wiegley
2017-09-22  8:38   ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).