GNU bug report logs - #39707
dired-sort-toggle-or-edit sometimes wastes the whole bottom of the screen

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Fri, 21 Feb 2020 03:39:01 UTC

Severity: wishlist

Tags: wontfix

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 39707 <at> 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
積丹尼 Dan Jacobson <jidanni <at> 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




This bug report was last modified 4 years and 328 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.