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: Sun, 23 Jul 2017 00:48:18 +0200 Message-ID: <87k230qea5.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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1500763754 20475 195.159.176.226 (22 Jul 2017 22:49:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 22 Jul 2017 22:49:14 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 27243@debbugs.gnu.org To: Antoine Levitt Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 23 00:49:08 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 1dZ3Cu-0004mk-Ek for geb-bug-gnu-emacs@m.gmane.org; Sun, 23 Jul 2017 00:49:08 +0200 Original-Received: from localhost ([::1]:48574 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZ3Cw-0001yi-E7 for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Jul 2017 18:49:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZ3Cr-0001yb-HR for bug-gnu-emacs@gnu.org; Sat, 22 Jul 2017 18:49:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dZ3Co-0008CL-GF for bug-gnu-emacs@gnu.org; Sat, 22 Jul 2017 18:49:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50010) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dZ3Co-0008C9-Cf for bug-gnu-emacs@gnu.org; Sat, 22 Jul 2017 18:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dZ3Cn-0006YM-Sh for bug-gnu-emacs@gnu.org; Sat, 22 Jul 2017 18:49: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, 22 Jul 2017 22:49: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.150076370925154 (code B ref 27243); Sat, 22 Jul 2017 22:49:01 +0000 Original-Received: (at 27243) by debbugs.gnu.org; 22 Jul 2017 22:48:29 +0000 Original-Received: from localhost ([127.0.0.1]:52687 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dZ3CG-0006Xe-SG for submit@debbugs.gnu.org; Sat, 22 Jul 2017 18:48:29 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:64662) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dZ3CF-0006XR-GS for 27243@debbugs.gnu.org; Sat, 22 Jul 2017 18:48:28 -0400 Original-Received: from rosalinde ([83.135.22.79]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0LfTVx-1dwrc23Ai1-00p2qM; Sun, 23 Jul 2017 00:48:19 +0200 In-Reply-To: <87o9scv6bo.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XL1mGy3j DfN65R5hHvjNnZAqA9zjjPQt5RggCIle2DyfaLsQQp6jRsxN4a2UuSXQAHrYdvJcsq6uEAlp 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:134867 Archived-At: [Altered Subject to attract more attention] On Sat, 22 Jul 2017 17:28:59 +0200 Antoine Levitt wrote: > Sorry to be the bearer of bad news, but still not completely fixed ;-) >>>From emacs -Q, (setq dired-auto-revert-buffer t), C-x C-f RET, C-x b > RET, C-x C-f RET, and point jumps. This is exactly the same probem as the last one with dired and the same change -- using pop-to-buffer-same-window instead of switch-to-buffer in find-file -- fixes it. Since the dired change exposed a problematic dependency on switch-to-buffer in todo-mode.el (since fixed), if there are other packages that have a similar dependency, making the same change in find-file runs the risk of changing behavior in these packages. But like with todo-mode.el, presumably it would be better to expose and eliminate such a dependency than to leave it as a possibly ticking time-bomb. So should we go ahead and make this change to find-file? (I wonder if there are more such cases waiting in the wings...) Steve Berman