unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ian Dunn <dunni@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: "Clément Pit-Claudel" <cpitclaudel@gmail.com>, emacs-devel@gnu.org
Subject: Re: Tabulated list recenter issue
Date: Wed, 12 Apr 2017 21:10:33 -0400	[thread overview]
Message-ID: <87d1chgliu.fsf@escafil> (raw)
In-Reply-To: <83a87lk9ez.fsf@gnu.org>


Eli Zaretskii writes:

>
> Btw, in addition to what I proposed, I'm also okay with changing the
> default behavior globally, as long as there's an option to get the old
> behavior back.  The current behavior exists for the last 6 years, so
> if we change it, there should be a way to get it back if someone wants
> or needs that.

If there are people that like the current behavior (obviously you're one
of them), then I agree that my proposed changes should only be optional.

My problem with the current behavior is that when sorting networks in
ENWC, it appears as if many of them disappear when reversing the sort.
It might be obvious that they didn't vanish, but I think of it similar
to narrowing; even though it's relatively easy to notice and reverse, it
may confuse new users.

It makes sense to me to use a local variable set by the inheriting mode
of tabulated-list-mode, similar to tabulated-list-printer or
tabulated-list-format.  That way, uses like ENWC with few expected
entries can use the new behavior that works better for fewer entries,
and uses like the Package List can retain the old behavior if desired.

--
Ian Dunn



  parent reply	other threads:[~2017-04-13  1:10 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-01  2:51 Tabulated list recenter issue Ian Dunn
2017-04-12  0:56 ` Ian Dunn
2017-04-12  6:03   ` Eli Zaretskii
2017-04-12  6:25     ` Clément Pit-Claudel
2017-04-12  7:15       ` Eli Zaretskii
2017-04-12 12:28         ` Clément Pit-Claudel
2017-04-12 12:44           ` Eli Zaretskii
2017-04-12 13:11             ` Clément Pit-Claudel
2017-04-12 14:06               ` Eli Zaretskii
2017-04-12 15:13                 ` Clément Pit-Claudel
2017-04-13  1:10                 ` Ian Dunn [this message]
2017-04-13  6:17                   ` Eli Zaretskii
2017-04-15 21:02                     ` Ian Dunn
2017-04-12 10:19   ` 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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d1chgliu.fsf@escafil \
    --to=dunni@gnu.org \
    --cc=cpitclaudel@gmail.com \
    --cc=eliz@gnu.org \
    --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 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).