From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.devel Subject: Re: Question about test failure on Hydra Date: Tue, 1 Aug 2017 19:17:57 +0900 (JST) Message-ID: 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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Trace: blaine.gmane.org 1501582703 21452 195.159.176.226 (1 Aug 2017 10:18:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 1 Aug 2017 10:18:23 +0000 (UTC) User-Agent: Alpine 2.20 (DEB 67 2015-01-07) Cc: Eli Zaretskii , emacs-devel@gnu.org, Tino Calancha To: Stephen Berman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 01 12:18:14 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 1dcUFf-0004xE-7p for ged-emacs-devel@m.gmane.org; Tue, 01 Aug 2017 12:18:11 +0200 Original-Received: from localhost ([::1]:41607 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcUFl-0008Gw-0m for ged-emacs-devel@m.gmane.org; Tue, 01 Aug 2017 06:18:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51891) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcUFb-0008Gr-OF for emacs-devel@gnu.org; Tue, 01 Aug 2017 06:18:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dcUFa-00052e-Jw for emacs-devel@gnu.org; Tue, 01 Aug 2017 06:18:07 -0400 Original-Received: from mail-pf0-x242.google.com ([2607:f8b0:400e:c00::242]:33063) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dcUFW-0004zn-0V; Tue, 01 Aug 2017 06:18:02 -0400 Original-Received: by mail-pf0-x242.google.com with SMTP id c65so1641877pfl.0; Tue, 01 Aug 2017 03:18:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=g1R2RXYBTps8mYh6G6yCwyM6e2BD7nnfcvWs/UUktas=; b=A4DRS61/r8HJnKJ5eF7RAJVOGk8uaVxT6Iihu/yYgHcT45bLsEbgmK5JKKfzfqFKW6 2PfM/AxA/Mv0YX8VicVifuVvZYopzTAWqInnOpj+UoGmxWJIXzGnW1OL8Bsp3SOB+tyv rvkeyScG6RHwAqEWJI6hFvlj4oGq2kFFXpjn1U4rAd9dhFjLJ7vmcJwVjWX/QMcJrYWv sdBpi9hIT5dGLN7kkiffcdXz8UC74BgDPNAQhoiozmvbw+rFEodvolezxCwahqYc5Ohs BEYIBnETTDOj4qBbusANJ9zl6Z2OY4EM6UaYVddu/sTW/7yza61Xg49Mslo2oyrW9vPW tJEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=g1R2RXYBTps8mYh6G6yCwyM6e2BD7nnfcvWs/UUktas=; b=cCAagstL5uD/NxbXIBjfTQB+sX2UGBMLrFCbPLfr2CmdfNJVZzp1v6iPBjhTA/LU9U XpOPbRR90BV8sUgo2P/E7RF4YPyNRc14aQVan9GmNbe7g+jcqFMejz9OlJ/CkzGonzz6 PjKR8ovjVc2Yj9TlHGGDFXRwJKgepde4B9K8jjU5bZIX6UpDotkhjXtJtkM9JlEfgtKG bFPgerMjtI9Q+YcvscDdlVVjQ6nGRsruoS/0JOUAUKlyoCthcFXEJzfBzPKRFdZc7oVP +O3nHvT24aCuFlE9qMce5s+mNy3NjaiDnc9XdnU5Fnf7y08V5sW6Sw7zhCRsbqppP1Ku 0QNg== X-Gm-Message-State: AIVw113Zg8goPxPFHeM9HV7PrmqXW75h4xbvVZX8P+/0S6oyfoggfEU7 6/0gGBkpZSxQFw== X-Received: by 10.98.27.65 with SMTP id b62mr18635305pfb.258.1501582680874; Tue, 01 Aug 2017 03:18:00 -0700 (PDT) Original-Received: from calancha-pc (170.224.128.101.dy.bbexcite.jp. [101.128.224.170]) by smtp.gmail.com with ESMTPSA id q66sm51509421pfb.188.2017.08.01.03.17.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Aug 2017 03:18:00 -0700 (PDT) X-Google-Original-From: Tino Calancha X-X-Sender: calancha@calancha-pc In-Reply-To: <87r2wv7gq5.fsf@rosalinde> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::242 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:217197 Archived-At: 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) > > I'm seeing point at point-max now, too, but I did see it at point-min > yesterday and also when I first tried again after reading your mail, > though, strangely, I can't reproduce that now. I was testing with two > frames and switched back and forth between them, maybe that affects > point. I've made last 24 hours, two commits that might have impact on the issue at hands: 6ebef3daf24c847d6f16621489ae587e98c11ec0 192342a3a93a2e467ab589ae2d1ffd5e7acf1398 >>> 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? That's 1 million dollard question (but i cannot pay such amount to whom find the answer: just invite 1 icescream). > >> We can insert additional `should' calls in the failing tests and >> wait until next hydra failoure. >> >> (Following just add more should forms into `dired-test-bug27243-01'; we >> might do the same in `dired-test-bug27243-02' and `dired-test-bug27243-03'). > > That's probably a good idea; can you add them? I did, just on 'dired-test-bug27243-01' test.