From unknown Thu Sep 11 11:26:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#39707: dired-sort-toggle-or-edit sometimes wastes the whole bottom of the screen Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 21 Feb 2020 03:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39707 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 39707@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158225633015374 (code B ref -1); Fri, 21 Feb 2020 03:39:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 Feb 2020 03:38:50 +0000 Received: from localhost ([127.0.0.1]:46232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j4z9O-0003zu-0G for submit@debbugs.gnu.org; Thu, 20 Feb 2020 22:38:50 -0500 Received: from lists.gnu.org ([209.51.188.17]:37105) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j4z9M-0003zn-KY for submit@debbugs.gnu.org; Thu, 20 Feb 2020 22:38:48 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53925) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j4z9L-00054A-6u for bug-gnu-emacs@gnu.org; Thu, 20 Feb 2020 22:38:48 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: ** X-Spam-Status: No, score=2.4 required=5.0 tests=BAYES_50,DATE_IN_PAST_03_06, RCVD_IN_DNSWL_NONE,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j4z9J-0003Jf-QU for bug-gnu-emacs@gnu.org; Thu, 20 Feb 2020 22:38:46 -0500 Received: from crocodile.birch.relay.mailchannels.net ([23.83.209.45]:3050) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j4z9J-00039C-EB for bug-gnu-emacs@gnu.org; Thu, 20 Feb 2020 22:38:45 -0500 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 197482188E for ; Fri, 21 Feb 2020 03:38:41 +0000 (UTC) Received: from pdx1-sub0-mail-a50.g.dreamhost.com (100-96-219-25.trex.outbound.svc.cluster.local [100.96.219.25]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id A44C621BCA for ; Fri, 21 Feb 2020 03:38:40 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from pdx1-sub0-mail-a50.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.5); Fri, 21 Feb 2020 03:38:41 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Broad-Fumbling: 4ebb98b01ebeae97_1582256320880_2084985504 X-MC-Loop-Signature: 1582256320880:1429193265 X-MC-Ingress-Time: 1582256320880 Received: from pdx1-sub0-mail-a50.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a50.g.dreamhost.com (Postfix) with ESMTP id 69C1185112 for ; Thu, 20 Feb 2020 19:38:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=qGpeskNNBzZYEasO6AOPzhfWltE=; b=SqotIZpKCKD+zSFh dTvmDOwsN8saNchmwJ9pAHW74rQSWMb2/0Gu6qIpM52X/B+BPk0XcO8c95dYxSFv F8TW7XBBpvhX4NcuUjfGNkcBLRbTJkXKtUZ3aiv+Vmo9+eyd+tZcvVAwB+toITxp uC34jgzogWSj06eRXtjJzBTroL0= Received: from jidanni.org (1-170-86-222.dynamic-ip.hinet.net [1.170.86.222]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a50.g.dreamhost.com (Postfix) with ESMTPSA id 846B185115 for ; Thu, 20 Feb 2020 19:38:35 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a50 From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Date: Fri, 21 Feb 2020 08:28:36 +0800 Message-ID: <87zhdcdbrf.5.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedugedrkeefgdeivdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfggtgesthdtredttddtjeenucfhrhhomhepnjjnnjcuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqnecukfhppedurddujedtrdekiedrvddvvdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehjihgurghnnhhirdhorhhgpdhinhgvthepuddrudejtddrkeeirddvvddvpdhrvghtuhhrnhdqphgrthhhpeeprehuthhfqdekreeureehiehmpfehnfhiheehsgevkeerpecuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqpdhmrghilhhfrhhomhepjhhiuggrnhhnihesjhhiuggrnhhnihdrohhrghdpnhhrtghpthhtohepsghughdqghhnuhdqvghmrggtshesghhnuhdrohhrgh X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 23.83.209.45 X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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 . Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: jidanni.org] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [209.51.188.17 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom; id=jidanni%40jidanni.org; ip=209.51.188.17; r=debbugs.gnu.org] 1.1 DATE_IN_PAST_03_06 Date: is 3 to 6 hours before Received: date X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) 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? From unknown Thu Sep 11 11:26:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#39707: dired-sort-toggle-or-edit sometimes wastes the whole bottom of the screen Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 Aug 2020 12:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39707 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Cc: 39707@debbugs.gnu.org Received: via spool by 39707-submit@debbugs.gnu.org id=B39707.1596631297329 (code B ref 39707); Wed, 05 Aug 2020 12:42:02 +0000 Received: (at 39707) by debbugs.gnu.org; 5 Aug 2020 12:41:37 +0000 Received: from localhost ([127.0.0.1]:50324 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3Ijh-00005F-3Z for submit@debbugs.gnu.org; Wed, 05 Aug 2020 08:41:37 -0400 Received: from quimby.gnus.org ([95.216.78.240]:40590) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3Ijd-0008WU-LO for 39707@debbugs.gnu.org; Wed, 05 Aug 2020 08:41:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=Tmg07KdBdZ0CoIt5aY4ZGz0+BfDb4t5RTmAmCBl1Dj8=; b=ceUBqsz2qk54CHB5thwlpf2jBH IRFYPsMJxge/Dgt+M6vmWLV1UQ/C++8qnO5rUmR0bFWngP0ouT2FQSIXwUAyDltsD3T7SL11j+jOR r8OswIaifrXflhHm2Dxvm8M7yb9oAIHlP7lhgNi1A1usbUMLxk3cCMV2iQhcDNAN44OA=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k3IjQ-0004hP-92; Wed, 05 Aug 2020 14:41:22 +0200 From: Lars Ingebrigtsen References: <87zhdcdbrf.5.fsf@jidanni.org> Date: Wed, 05 Aug 2020 14:41:18 +0200 In-Reply-To: <87zhdcdbrf.5.fsf@jidanni.org> ("=?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson"'s message of "Fri, 21 Feb 2020 08:28:36 +0800") Message-ID: <87d0458du9.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson 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 > tou [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson 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.=20 --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 05 08:41:40 2020 Received: (at control) by debbugs.gnu.org; 5 Aug 2020 12:41:40 +0000 Received: from localhost ([127.0.0.1]:50327 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3Ijk-00005V-BM for submit@debbugs.gnu.org; Wed, 05 Aug 2020 08:41:40 -0400 Received: from quimby.gnus.org ([95.216.78.240]:40604) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3Ijj-00004y-D8 for control@debbugs.gnu.org; Wed, 05 Aug 2020 08:41:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=sFxHbcQzTI3nqMdcxuMwDsmg8++CLV89eDeYmBvfNsU=; b=sZaxtCSs96TlXHcbJqIuAqh5DL rh+sSaANaDqGZnu4msErZiAPkqSGHj2K9JFpVXpTA13QNlnu5+3zCvEbtAa9SVHGW/XCAwQ7jLY/t Qgqkdk1m/NB4BUXuCACghC6IhKm9IkI73EuXbQHgTr5JfENnqQbnzI9KxzpCY4LkY/ls=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k3IjZ-0004hW-JL for control@debbugs.gnu.org; Wed, 05 Aug 2020 14:41:31 +0200 Date: Wed, 05 Aug 2020 14:41:28 +0200 Message-Id: <87bljp8dtz.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #39707 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 39707 wontfix close 39707 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 39707 wontfix close 39707 quit