GNU bug report logs - #27879
Bad behavior with sr-speedbar package

Previous Next

Package: emacs;

Reported by: Angelo Graziosi <angelo.graziosi <at> alice.it>

Date: Sun, 30 Jul 2017 14:57:01 UTC

Severity: normal

Tags: wontfix

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stephen Berman <stephen.berman <at> gmx.net>
To: Angelo Graziosi <angelo.graziosi <at> alice.it>
Cc: sebastian_rose <at> gmx.de, 27879 <at> debbugs.gnu.org
Subject: bug#27879: Bad behavior with sr-speedbar package
Date: Sun, 30 Jul 2017 21:55:10 +0200
On Sun, 30 Jul 2017 19:23:09 +0200 Angelo Graziosi <angelo.graziosi <at> alice.it> 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




This bug report was last modified 7 years and 301 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.