unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Ian Dunn <dunni@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Tabulated list recenter issue
Date: Wed, 12 Apr 2017 09:03:45 +0300	[thread overview]
Message-ID: <83o9w2jh6m.fsf@gnu.org> (raw)
In-Reply-To: <87mvbm30lc.fsf@escafil> (message from Ian Dunn on Tue, 11 Apr 2017 20:56:31 -0400)

> From: Ian Dunn <dunni@gnu.org>
> Date: Tue, 11 Apr 2017 20:56:31 -0400
> 
> >   If moving the window to keep the current entry at the same line would leave
> > blank space at the end of the window, don't move the window, but keep point on
> > the current entry.
> 
> I made this modification and tried it out on ENWC and the Package List.
> 
> I'd like to apply this to master, but, since it will affect the Package List, I want to get feedback on it first.

This will affect all the features that use tabulated-list, including,
for example, buffer-menu.  Since the use case where this behavior is
somewhat problematic is quite special, I don't think changing the
behavior globally would be a good idea.  Perhaps there should be a
special value of the optional argument REMEMBER-POS that would avoid
recentering under the conditions you describe, and ENWC (and perhaps
package.el as well, if users of package.el would like) should use that
special value?



  reply	other threads:[~2017-04-12  6:03 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 [this message]
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
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=83o9w2jh6m.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=dunni@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).