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#27879: Bad behavior with sr-speedbar package Date: Sun, 30 Jul 2017 21:55:10 +0200 Message-ID: <877eypem3l.fsf@rosalinde> References: <912f1be4-1d2c-1a97-5e3f-fbb0b1e004c9@alice.it> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1501444576 5049 195.159.176.226 (30 Jul 2017 19:56:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 30 Jul 2017 19:56:16 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: sebastian_rose@gmx.de, 27879@debbugs.gnu.org To: Angelo Graziosi Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 30 21:56:11 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 1dbuJr-0000lo-Jm for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 Jul 2017 21:56:07 +0200 Original-Received: from localhost ([::1]:56325 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dbuJv-000843-O2 for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 Jul 2017 15:56:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57092) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dbuJp-00082c-Nl for bug-gnu-emacs@gnu.org; Sun, 30 Jul 2017 15:56:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dbuJm-00085q-Jw for bug-gnu-emacs@gnu.org; Sun, 30 Jul 2017 15:56:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60105) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dbuJm-00085b-G0 for bug-gnu-emacs@gnu.org; Sun, 30 Jul 2017 15:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dbuJl-0005SS-Vk for bug-gnu-emacs@gnu.org; Sun, 30 Jul 2017 15:56: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: Sun, 30 Jul 2017 19:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27879 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27879-submit@debbugs.gnu.org id=B27879.150144452020928 (code B ref 27879); Sun, 30 Jul 2017 19:56:01 +0000 Original-Received: (at 27879) by debbugs.gnu.org; 30 Jul 2017 19:55:20 +0000 Original-Received: from localhost ([127.0.0.1]:34549 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dbuJ6-0005RU-Eo for submit@debbugs.gnu.org; Sun, 30 Jul 2017 15:55:20 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:60931) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dbuJ4-0005RH-UO for 27879@debbugs.gnu.org; Sun, 30 Jul 2017 15:55:19 -0400 Original-Received: from rosalinde ([83.135.31.86]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MfVU3-1dDTgy2JPH-00P2mY; Sun, 30 Jul 2017 21:55:11 +0200 In-Reply-To: <912f1be4-1d2c-1a97-5e3f-fbb0b1e004c9@alice.it> (Angelo Graziosi's message of "Sun, 30 Jul 2017 19:23:09 +0200") X-Provags-ID: V03:K0:E02I48x+phqfV2ie5ck6zYEy0yHQBuAfHttItH8muYrvC5st2Z8 dITsmLYnB4RE2wpf8jpnRdw9cj57+XOqTSUn3g9dMH9sa4HCuTFO+5pLIPnS8xYWnMOst4U 0/ekvpBsSYtylm4F1Bfff1H5PYQ7Bkbz76SUyOvivDetUbYdjEgothADUEUMaDVhjg60u6k 3hAMq2uz3lw+4kUjTWPgQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:CTnhslefAvE=:OIFpFUVoojQORjcEwZ6N2K FsEWI3TOhwk+QDrkX0juhjHpJpmEugQCsJtFBYeB0nT4bBASucoTMyFyFgVSt336qNkqbxInK d7wNN+q/y6jnD0F85UieMHR6LP6R4VTMhH2fKgBgkPFEd+GNnGikknciu5Ni4USDjju2Qpswq gxjF1yNs6blaZk7wHrLzjrD7wGWeWMFp2XuVojb0MHxD/XyQmRQLNwot0HFNQd2EYXcPC1F3G peiCRilWsAdzxERs1NxhIKeclEV1k0E0LkKmpnx60UR8GhlB8N2SFFpsburTdR69s8CyvYwUK HW5VGTdKjREeUkwRIMdmCR4CgDJX++wvcOGoXKUI6HJFR8eOXi2UYcZ33vIt+fwpwg0tiSKeF 9ERm01HiR/nPNbZ6EcuFju69C7rWkdddKNoxX2my3vm1OdZ8cWF+uHf4Ev8f1r3YksBJWOr/W lCTUxATIBXTl6uKhev+1VMVfgPE1NXj8FdF1HC4tfa71HEdzQZh5y+jRjQHT0MBfYK7pOEK/I gLS2vWyW/jvcNVGuWy90etAtTiOxn7zYU0SXi73Yc198nv3jFZhqRSZIQiRayr72EbQiMetXt S1/g3EhVCNrz7XLUjdBJncx6Tg+PIfniJD1MtHF1RNPLUHIuYytzeQ36mYpLJ4HIilvdd2jEQ OtJxGKXqAcBbz2kuB6a72SNClBuNpY9JQacCeuKMT/l0T8seILX24OJ0n+nMjpnZxfC29DlcX V1beNF4Wjdws+hZ/KVHcmOXsInom8ZQttoQ8dJxvBFiVLpnHEyUTg+Mps2Vn0lNN5fDAssRK 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:135170 Archived-At: On Sun, 30 Jul 2017 19:23:09 +0200 Angelo Graziosi wrote: > OK, I found the commit that causes this issue: > > > committer Stephen Berman > commit 8e394b082bd6ecd9ba212cb3ca07cbace66767a6 > > Preserve point under 'dired-auto-revert-buffer' (third case) > * lisp/files.el (find-file): Use pop-to-buffer-same-window > instead of switch-to-buffer. This preserves Dired window > point when dired-auto-revert-buffer is non-nil. (Bug#27243) As Martin Rudalics noted, sr-speedbar advises pop-to-buffer. I executed your recipe, but before calling sr-speedbar-toggle I deactivated the advice (M-x ad-deactivate). This still creates a speedbar in the frame, but now C-x C-f visits the file in the same window instead of splitting the window. Whether other sr-speedbar functionality is impaired by not advising pop-to-buffer, I don't know, but Martin's advice in surely appropriate, and sr-speedbar should take it. Steve Berman