From: Robert Weiner <rsw@gnu.org>
To: emacs-devel <emacs-devel@gnu.org>
Subject: Could anyone tackle Emacs bug#23794 in sort-lines before Emacs 26 is released?
Date: Thu, 21 Sep 2017 20:07:17 -0400 [thread overview]
Message-ID: <CA+OMD9izt-UjnxAdOQuyr2pf=vuBQ3usj4N5K9Q_b+aLPnMaeg@mail.gmail.com> (raw)
[-- 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 --]
next reply other threads:[~2017-09-22 0:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-22 0:07 Robert Weiner [this message]
2017-09-22 5:59 ` Could anyone tackle Emacs bug#23794 in sort-lines before Emacs 26 is released? John Wiegley
2017-09-22 8:38 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CA+OMD9izt-UjnxAdOQuyr2pf=vuBQ3usj4N5K9Q_b+aLPnMaeg@mail.gmail.com' \
--to=rsw@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=rswgnu@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.