all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: emacs-devel@gnu.org
Subject: Re: Emacs bug #23794; sort-line behavior regressed from prior Emacs versions
Date: Sat, 18 Jun 2016 14:22:18 -0400	[thread overview]
Message-ID: <jwvy4625pi5.fsf-monnier+gmane.emacs.devel@gnu.org> (raw)
In-Reply-To: 83inx69xcx.fsf@gnu.org

> IOW, I don't think it was ever the design goal to have sorting
> disregard invisible text.

While I agree in general, the reason why the text is made invisible
should be taken into account: in the case of outline-mode, it seems
rather unlikely that the user would like to sort lines where some lines
are headers and others aren't, since it will completely mess up
the structure.

So by including the subsequent invisible text into each visible line,
sort-line can become usable again in outline-mode (since it then sorts
(sub)sections rather than lines).


        Stefan




  reply	other threads:[~2016-06-18 18:22 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-18 17:01 Emacs bug #23794; sort-line behavior regressed from prior Emacs versions Robert Weiner
2016-06-18 17:26 ` Eli Zaretskii
2016-06-18 17:42   ` Eli Zaretskii
2016-06-18 17:50     ` Robert Weiner
2016-06-18 18:15       ` Eli Zaretskii
2016-06-18 18:22         ` Stefan Monnier [this message]
2016-06-18 18:28           ` Eli Zaretskii
2016-06-18 18:37             ` Robert Weiner
2016-06-18 18:31         ` Robert Weiner
2016-06-18 21:28           ` Drew Adams
2016-06-18 22:41             ` Robert Weiner
2016-06-19  2:39             ` Eli Zaretskii
2016-06-19 13:31               ` Robert Weiner
2016-06-19 15:18                 ` Eli Zaretskii
2016-06-19 16:12                   ` Robert Weiner
2016-06-19 16:30                     ` Eli Zaretskii
2016-06-19 16:51                       ` bug#23794: " Robert Weiner
2016-06-19 16:55                         ` Eli Zaretskii
2016-06-19 16:55                         ` Eli Zaretskii
2016-06-19 17:03                           ` bug#23794: " Robert Weiner
2016-06-19 17:03                           ` Robert Weiner
2016-06-19 20:59                         ` Drew Adams
2016-06-19 20:59                         ` bug#23794: " Drew Adams
2016-06-20  0:55                         ` Stefan Monnier
2016-06-19 18:16                       ` John Wiegley

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=jwvy4625pi5.fsf-monnier+gmane.emacs.devel@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    /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.