From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#27243: another case: dired-auto-revert-buffer jumps point to beginning of buffer Date: Sun, 31 May 2020 01:11:32 +0300 Organization: LINKOV.NET Message-ID: <87o8q5nkdn.fsf@mail.linkov.net> References: <83d1ac6yih.fsf@gnu.org> <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> <87mv7n4gd2.fsf@rosalinde> <874ks4ekpg.fsf@web.de> <87lflgfpap.fsf@gmx.net> <87r1v69nnq.fsf@web.de> <87blma9bx8.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="46615"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: Michael Heerdegen , 27243@debbugs.gnu.org, Stephen Berman , monnier@IRO.UMontreal.CA, antoine.levitt@gmail.com To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 31 00:35:42 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jfA4r-000C05-LD for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 31 May 2020 00:35:41 +0200 Original-Received: from localhost ([::1]:54960 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jfA4q-0001d4-Cg for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 30 May 2020 18:35:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46266) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jfA4E-000147-Fh for bug-gnu-emacs@gnu.org; Sat, 30 May 2020 18:35:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47826) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jfA4E-00014v-1l for bug-gnu-emacs@gnu.org; Sat, 30 May 2020 18:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jfA4D-0004gy-Si for bug-gnu-emacs@gnu.org; Sat, 30 May 2020 18:35:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 May 2020 22:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27243 X-GNU-PR-Package: emacs Original-Received: via spool by 27243-submit@debbugs.gnu.org id=B27243.159087806117974 (code B ref 27243); Sat, 30 May 2020 22:35:01 +0000 Original-Received: (at 27243) by debbugs.gnu.org; 30 May 2020 22:34:21 +0000 Original-Received: from localhost ([127.0.0.1]:59369 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jfA3Z-0004fq-8V for submit@debbugs.gnu.org; Sat, 30 May 2020 18:34:21 -0400 Original-Received: from relay2-d.mail.gandi.net ([217.70.183.194]:39167) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jfA3X-0004fb-Ns for 27243@debbugs.gnu.org; Sat, 30 May 2020 18:34:20 -0400 X-Originating-IP: 91.129.108.6 Original-Received: from mail.gandi.net (m91-129-108-6.cust.tele2.ee [91.129.108.6]) (Authenticated sender: juri@linkov.net) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 3D22540008; Sat, 30 May 2020 22:34:10 +0000 (UTC) In-Reply-To: (martin rudalics's message of "Wed, 27 May 2020 16:52:59 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:181269 Archived-At: >> There is no restoration of the old window's window-point, I think it's >> the buffer's current value of point that becomes window-point in the >> first window. I verified here that when running the recipe the function >> `window-prev-buffers' is never consulted. > > Right. Maybe we should call 'switch-to-buffer' here so people with > 'switch-to-buffer-obey-display-actions' non-nil get the > 'pop-to-buffer-same-window' behavior and others are unaffected. Let's > wait for Juri to comment. Yes, now 'pop-to-buffer-same-window' could be changed back to 'switch-to-buffer'. But we need to ask Stephen if reverting back to 'switch-to-buffer' and customizing 'switch-to-buffer-obey-display-actions' to non-nil really provides the same behavior.