From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#27243: another case: dired-auto-revert-buffer jumps point to beginning of buffer Date: Sat, 29 Jul 2017 13:44:41 +0200 Message-ID: <87mv7n4gd2.fsf@rosalinde> References: <83d1ac6yih.fsf@gnu.org> <87shjf48se.fsf@epsilon> <87r2yizu66.fsf@beta> <87bmpm20zt.fsf@rosalinde> <87zicd1pfy.fsf@beta> <87379vwh7d.fsf@rosalinde> <87o9scv6bo.fsf@beta> <87k230qea5.fsf_-_@rosalinde> <83h8y38b98.fsf@gnu.org> <5974EDB5.7080608@gmx.at> <83a83v7zgl.fsf@gnu.org> <5975109E.3010209@gmx.at> <8760ed7xp3.fsf@rosalinde> <838tj84ser.fsf@gnu.org> <597B46DA.5040305@gmx.at> <8360ec4o42.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1501328777 26315 195.159.176.226 (29 Jul 2017 11:46:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 29 Jul 2017 11:46:17 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: antoine.levitt@gmail.com, monnier@IRO.UMontreal.CA, 27243@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 29 13:46:07 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1dbQC7-0006KR-6Z for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Jul 2017 13:46:07 +0200 Original-Received: from localhost ([::1]:51903 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dbQCD-0000oO-4O for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Jul 2017 07:46:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46160) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dbQC6-0000o7-DX for bug-gnu-emacs@gnu.org; Sat, 29 Jul 2017 07:46:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dbQC2-0002uo-Ea for bug-gnu-emacs@gnu.org; Sat, 29 Jul 2017 07:46:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58006) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dbQC2-0002uI-B7 for bug-gnu-emacs@gnu.org; Sat, 29 Jul 2017 07:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dbQC1-0006T5-Sy for bug-gnu-emacs@gnu.org; Sat, 29 Jul 2017 07:46:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Jul 2017 11:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27243 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27243-submit@debbugs.gnu.org id=B27243.150132870324793 (code B ref 27243); Sat, 29 Jul 2017 11:46:01 +0000 Original-Received: (at 27243) by debbugs.gnu.org; 29 Jul 2017 11:45:03 +0000 Original-Received: from localhost ([127.0.0.1]:60683 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dbQB4-0006Rp-NL for submit@debbugs.gnu.org; Sat, 29 Jul 2017 07:45:02 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:63033) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dbQB2-0006R2-PE for 27243@debbugs.gnu.org; Sat, 29 Jul 2017 07:45:01 -0400 Original-Received: from rosalinde ([83.135.8.62]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MfVU3-1dDyJ50wA7-00P2FJ; Sat, 29 Jul 2017 13:44:44 +0200 In-Reply-To: <8360ec4o42.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 28 Jul 2017 17:45:01 +0300") X-Provags-ID: V03:K0:uwQsgHKAqhq8OjlkNbkBiRa8m9kaUqkSwW6dGorI6VU8VrzB0bf finrvqNZqrZYEKaTCWOjTrP3BXnwWeXrdPgZRNL6Zh1IgrlCDGqxQlA7l8UoFRd6ZcfF7Td B9eDLqamNsXUKpiIcsltDGR0XfJaOtSkKi4GCnpBQoSnrg8+JNpmM/323Ye40hEe2kfu9T2 t6K2Ajj3MyAi4C6lcsbBg== X-UI-Out-Filterresults: notjunk:1;V01:K0:u6bGEQDDZ40=:Q3H+Ey/vmFIbd136js4EbB ahuh89Dm0qgGi5zoQEvYSyk1uk1ftmQYTeQ6ek+Zar647/rYbACrai6z9/AZQw+Zg9FzR5/HD TZYmElgouD7kvWTrHPqxf8k+iHlbF0luE5mfvEoLmyIcYho9/9K7AtqrykFMD0pYtajFDWGvW 3zD5wCTiPecCalQiSnsDGfjKLMlEhb+VHDeLTMPcaMB8CCNA6vxgiQxATG/ZA3gb5Jy3HuLBW CHNZix3qj1TpPMPuJOfY9GepPnY9kIslDepjJqxcLb8ZOTLDzsedeX/Lt/ThQoA3SgElzMoC7 /St/1gEVi4mEfvwoijwGWytsvs3WnVN0mboccvuE20Kk5hZlfi5Yixu0j9nV0HIpep7YSrQHb T4CJHFMPNnJkUwtVZENsgtYEeD72z8xEXBoJBQjBfPFQ715fM5iVsDm+/SzYISEcsRe8qqgJy +cvkWl4GmcXE3YdbNX9IM2YnvS5l9Y2lujlaz4hXM770kAYVXOprBqon9Y3dZphRqzjk7Kp71 W112C8XJ35KlyXcLj5xkB/9Gz5MCce+KVxAAU5hvvDyZJUGRykL3HdGSxCDPs2A9Icnu8RW9t jFPkUu9PoZoM3aX5LeXE9kGlg2zttW7O5SdaDP/y0k0mMK4+SvXPB7RWPadqwknlKo6YB4NfS KxfRmYmftSlXF7na4KXCR/TBGp8WlTIAbERB7gidACS6uWXtjggEaSitzOTutD8i3DcmlxBwJ S3amG3Lpl16qFqHhIFL2pgVczTGd+ZyXtI1Th3OjiWRCd/UsFxfx4kL039LKsNO63YkoO3ry X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:135113 Archived-At: On Fri, 28 Jul 2017 17:45:01 +0300 Eli Zaretskii wrote: >> Date: Fri, 28 Jul 2017 16:14:50 +0200 >> From: martin rudalics >> CC: stephen.berman@gmx.net, antoine.levitt@gmail.com, >> 27243@debbugs.gnu.org >> >> >> Doesn't this already happen, and will continue happening after the >> >> proposed change? >> > >> > Yes. >> >> Here it doesn't already happen and will not continue happening >> after the proposed change. > > As long as the current behavior doesn't change, it's fine with me. I pushed the fix to master (8e394b082b). I also added a test for this case; even though the change is to find-file, I added the test to dired-tests.el, since it's testing dired-auto-revert-buffer and belongs with the other two cases of this bug. (I also pulled apart the test of the two previous cases into two separate tests. I did this because the Hydra build system shows the previous combined test failing intermittently; it doesn't fail for me with make check, and AFAICS the test doesn't depend on anything outside of the test environment, so it's a mystery why it sometimes fails on Hydra, but maybe separately testing the two cases, though nearly identical, will help locate the point of failure.) Steve Berman