From: Lars Ingebrigtsen <larsi@gnus.org>
To: "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
Cc: 39707@debbugs.gnu.org
Subject: bug#39707: dired-sort-toggle-or-edit sometimes wastes the whole bottom of the screen
Date: Wed, 05 Aug 2020 14:41:18 +0200 [thread overview]
Message-ID: <87d0458du9.fsf@gnus.org> (raw)
In-Reply-To: <87zhdcdbrf.5.fsf@jidanni.org> ("積丹尼 Dan Jacobson"'s message of "Fri, 21 Feb 2020 08:28:36 +0800")
積丹尼 Dan Jacobson <jidanni@jidanni.org> writes:
> s runs the command dired-sort-toggle-or-edit
>
> It is great, except sometimes it wastes the whole bottom half of the
> screen, with emptiness.
>
> mkdir z
> cd z
> for i in `seq 200 299`
> do
> touch -d "now + $i seconds" $i
> done
> emacs -nw -q .
>
> Now hit "s". Isn't it terrible how the whole bottom of the screen is
> empty when it need not be?
It just does the normal "Emacs jumps to a different place in the buffer"
action, as far as I can see, which means that it puts the target line
somewhere towards the middle of the buffer.
If the target line is the final line in the buffer, there'll be some
empty space towards the end of the buffer. So I think dired is behaving
consistently with how Emacs normally works, and changing the behaviour
here would be surprising. So I'm closing this bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
prev parent reply other threads:[~2020-08-05 12:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-21 0:28 bug#39707: dired-sort-toggle-or-edit sometimes wastes the whole bottom of the screen 積丹尼 Dan Jacobson
2020-08-05 12:41 ` Lars Ingebrigtsen [this message]
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=87d0458du9.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=39707@debbugs.gnu.org \
--cc=jidanni@jidanni.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).