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: Sat, 05 Aug 2017 22:07:38 +0900 Message-ID: <877eyi6u3p.fsf@calancha-pc> 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 X-Trace: blaine.gmane.org 1501938488 13188 195.159.176.226 (5 Aug 2017 13:08:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 5 Aug 2017 13:08:08 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Stephen Berman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 05 15:07:54 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 1ddyo0-0002Lv-7Z for ged-emacs-devel@m.gmane.org; Sat, 05 Aug 2017 15:07:48 +0200 Original-Received: from localhost ([::1]:56790 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddyo4-0002lr-IA for ged-emacs-devel@m.gmane.org; Sat, 05 Aug 2017 09:07:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34509) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddyny-0002lY-2T for emacs-devel@gnu.org; Sat, 05 Aug 2017 09:07:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ddynu-00066V-TV for emacs-devel@gnu.org; Sat, 05 Aug 2017 09:07:46 -0400 Original-Received: from mail-pf0-x243.google.com ([2607:f8b0:400e:c00::243]:33397) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ddynu-00066F-O9; Sat, 05 Aug 2017 09:07:42 -0400 Original-Received: by mail-pf0-x243.google.com with SMTP id c65so4458605pfl.0; Sat, 05 Aug 2017 06:07:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=pRE/rUMOSwF4DaxMMXEBFycQrFJ8+mU1S8Yk68RKDWg=; b=q5yBf5Kq1bWxICDfNUpjYGR+8QbuOS1n7QHLSNEAg72W4msUMLSp9xgzwgE4e5i6kn eg5JNM5NNLq4+y7wyBoKrm8Xqczdg9nbgnKnKmmSJvaGkYb8btXNoyXFxXbSRURwAC9H hy7AvMYYlABYWnJyf9/HakSctgP4WxhZRrJ+DuaLegFd2N8A9dsPloB7tDY/GTjMz/Iz 1HoKtF20oknntPCwOxIeQuZu2leTHAgGKahOq2MTUrwUW01G/Ya6h+h1r4XH2GAsC2kY ivLu1MHwaUGsPiWZwkrptt1m2ZjK7aA3AsPZZMjH+29NTQBB9myNpldZynDFVTqGVshf +ssw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=pRE/rUMOSwF4DaxMMXEBFycQrFJ8+mU1S8Yk68RKDWg=; b=RYl9Pags+SS1q2XBAxQl6YPRB2/+Jpn19NDBjoVVqnxCiyDHfND3uaItPMXjvXq4aM e4jeIw2Sf+4h4/lqKb7NkrO9BYVX+JWy/uqIIhpQG/jDmKfMMRtmZhqieGCdaswDoFkI uxQpkRvA3ndOlLbY7J9qZLhRKnwBk5bbK3ZDEz+2ydGnAuU0vdO6Rwv7kEgskmDpMn8A Fu601afZInD+uXUjPsOVVVcE+2S5RYqIThFQIrJMw7PAHQuoNR2mff/ZHbh9qahyLalp x/9utln/H3FtCIsU4YbjwZa+CsdauaMEcebasJrx5R1mF7k9PPm+ZL9ja7A73xX7MVTg /5fA== X-Gm-Message-State: AIVw111VOFwRerqkRD4/UsJaxdI0jpTmXlyStuJHme89HFtVi3b5NCla 1c34rxpf6UjObWkS X-Received: by 10.99.234.69 with SMTP id l5mr5594576pgk.221.1501938461611; Sat, 05 Aug 2017 06:07:41 -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 i67sm4782693pgd.25.2017.08.05.06.07.39 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 05 Aug 2017 06:07:40 -0700 (PDT) In-Reply-To: (Tino Calancha's message of "Tue, 1 Aug 2017 19:17:57 +0900 (JST)") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::243 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:217315 Archived-At: 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). > That's 1 million dollard question I want my million bucks in a bag in the usual place; please, in small bills. No cops.