* bug#39707: dired-sort-toggle-or-edit sometimes wastes the whole bottom of the screen
@ 2020-02-21 0:28 積丹尼 Dan Jacobson
2020-08-05 12:41 ` Lars Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: 積丹尼 Dan Jacobson @ 2020-02-21 0:28 UTC (permalink / raw)
To: 39707
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?
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#39707: dired-sort-toggle-or-edit sometimes wastes the whole bottom of the screen
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
0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2020-08-05 12:41 UTC (permalink / raw)
To: 積丹尼 Dan Jacobson; +Cc: 39707
積丹尼 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-08-05 12:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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).