From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.devel Subject: Re: Question about test failure on Hydra Date: Sat, 05 Aug 2017 23:34:25 +0200 Message-ID: <87bmntog0u.fsf@gmx.net> References: <87efsxexf5.fsf@rosalinde> <83r2wx29w9.fsf@gnu.org> <8760e9eksb.fsf@rosalinde> <83ini91e2o.fsf@gnu.org> <87tw1t7yk5.fsf@rosalinde> <87efsvkijt.fsf@calancha-pc> <87r2wv7gq5.fsf@rosalinde> <877eyi6u3p.fsf@calancha-pc> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1501968890 30342 195.159.176.226 (5 Aug 2017 21:34:50 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 5 Aug 2017 21:34:50 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Tino Calancha Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 05 23:34:42 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1de6iT-0007Hj-Rg for ged-emacs-devel@m.gmane.org; Sat, 05 Aug 2017 23:34:37 +0200 Original-Received: from localhost ([::1]:58853 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1de6ia-0006En-42 for ged-emacs-devel@m.gmane.org; Sat, 05 Aug 2017 17:34:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45232) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1de6iQ-0006DL-Eu for emacs-devel@gnu.org; Sat, 05 Aug 2017 17:34:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1de6iP-0000Se-2P for emacs-devel@gnu.org; Sat, 05 Aug 2017 17:34:34 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:64953) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1de6iK-0000R0-Ud; Sat, 05 Aug 2017 17:34:29 -0400 Original-Received: from rosalinde ([83.135.14.205]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LkSOt-1d6xp32L19-00cSUA; Sat, 05 Aug 2017 23:34:26 +0200 In-Reply-To: <877eyi6u3p.fsf@calancha-pc> (Tino Calancha's message of "Sat, 05 Aug 2017 22:07:38 +0900") X-Provags-ID: V03:K0:yV2zKqr1oltMtPWvbNQ/qJ7jXiH7i6ocNdprMCnysT50FXyJGRG uKAoXixyu+y9dwnlXXGAzNq+VAScX6KoHwhyjSZvqpRyRbrpp87iRX8Z6hUb4Rr7uro1CJK a38Rip04WpvyNVDwvzqKmhVCSBL7PruC+AqEoxE2IeDgLU8ZeCvXxBrPbc5sDZleRO5IZwy ViDYRcGdGIAUWqZSS+pFg== X-UI-Out-Filterresults: notjunk:1;V01:K0:edcCaHJlGCc=:RWy6+jYsncPosxpPadpMO4 iAEb0kXeJPvvRiajwqQehsSCAaY5vg15K8c/cXN5SCssO5HDwY9glDlufukDxcbkpFVLpcvmh AZ3QXgIK+sKdhA9DRQH5rqn9GLVFvGPEzYrf8JEU192HPNrQqfdU2ZOA/VG0+NCSy1+erDk39 Xy2oOlLklNF8o//tRrRpoYeUMBcLjgF/2arRA6ozuMcqlYKFCH1+wYluGzVgshMqFOmV5YpfF S0NIgTEtKQVwJkJ/9mlnx2to5Mrd2p0KK6Ntoj7pGu+2NVDGX+UH63r66XvH+SC2g7E2SbTt8 J/l+4YP6Lc3A40lRVH8nIZlRQKVJFGVltuaehUxBYdhk36/qhcWM4873sZCNH9uoOKOaCPlhr 5BZsd/A98iEpkK/9xfUtvqQPUU2hUH5mJH90nXk2F++Rtq0sLXO+gHJFs0oeCurTZLmW4wUBA ocSpB2inI9quqtHXW9FiTr4/+uBBBzPyshYr32muE4qig3Ztnso+zQlSmRt1zshgYUgEuQAHd AMlaY/AFrSIJeR7LhsDLrggvBRYaNXw5b85dIv8dYK32O2XsyMvH+McQ4JkxJvxAPCBrPKUSm TMQAD65XuuhNc1HJoLvm8O3C9d3iG6A6r0KOyf3u79nTf/Vj6nQWKHSWEbsAfRY6WH9zkqbjB MRc7z4LubEVLzKmBHG2jyBRlq5kOlJiH87+SAzuctm2PdoeAkx6ByIlz8Kd5sUKQQKqyqJaHX /KG20ApttTXxRj0JVq6ItsEm92XRNxCO7Zp7odlMr1Ggv9NdHW+U98GGty0Ul7kHdi+FQqDo X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.17.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:217333 Archived-At: On Sat, 05 Aug 2017 22:07:38 +0900 Tino Calancha wrote: > Tino Calancha writes: > >> On Tue, 1 Aug 2017, Stephen Berman wrote: >> >>> On Tue, 01 Aug 2017 13:39:50 +0900 Tino Calancha wrote: >>> >>>> Stephen Berman writes: >>>> >>>>> On Mon, 31 Jul 2017 06:26:55 +0300 Eli Zaretskii wrote: >>>>> >>>>> (dired test-dir) reverts an existing Dired buffer, because of setting >>>>> dired-auto-revert-buffer to t. (When I step through the code, it is >>>>> after reverting that point moves to the subdirectory line, which the >>>>> should make "sanity check" true (and does, both when I step through the >>>>> code and just run the test in any way). When I comment out the >>>>> dired-auto-revert-buffer line, then point stays at point-min, which >>>>> makes the sanity check fail (dired-file-name-at-point returns nil), >>>> When i comment out i see the point in point-max, and the test fails >>>> same as you but: (dired-file-name-at-point returns nil) >>> >>>>> though not in the way Hydra reports (it shows point being on the ".." >>>>> entry).) >>>> If somehow, we have in such Dired buffer the point at ".." _before_ >>>> call `dired-revert', then _after_ revert the point is preserved: >>> >>> Yes, but the question is, how does point get there in Hydra? > I got the answer: because the Dired header line changed its size. > *) Before revert, it looks like: > " total used in directory 8 available 37449484" > **) After revert, it changed to something like: > " total used in directory 12 available 37449480" > ;; 1 char longer: that mess up the saved position. > (See http://debbugs.gnu.org/27968). Very well spotted! And your fix LGTM too. >> That's 1 million dollard question > I want my million bucks in a bag in the usual place; please, in small > bills. No cops. I'm afraid I only have very small bags, so it will take about a million deliveries. Steve Berman