[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs 26.1: ediff navigation/control window ?
From: |
jonetsu |
Subject: |
Re: emacs 26.1: ediff navigation/control window ? |
Date: |
Tue, 25 Jun 2019 14:22:11 -0400 |
On Tue, 25 Jun 2019 21:04:41 +0300
Eli Zaretskii <eliz@gnu.org> wrote:
> Strange, that's not what I see in a GUI session.
>
> Does this happen in "emacs -Q"? If it does, what does this display:
>
> M-: (frame-list) RET
Thanks, that lead to investigate the .emacs file and I traced the
problem to a snippet I got from the Emacs Wiki concerning the speedbar,
to prevent it popping up in another window:
https://www.emacswiki.org/emacs/SrSpeedbar
(defadvice delete-other-windows (after
my-sr-speedbar-delete-other-window-advice activate) "Check whether we
are in speedbar, if it is, jump to next window." (let ()
(when (and (sr-speedbar-window-exist-p sr-speedbar-window)
(eq sr-speedbar-window (selected-window)))
(other-window 1)
)))
(ad-enable-advice 'delete-other-windows 'after
'my-sr-speedbar-delete-other-window-advice) (ad-activate
'delete-other-windows)
Although I do not know much at all with lisp and lisp used in emacs, it
looks like a specific target is used, sr-speedbar although there is
a more generic function used: delete-other-window, about which context
execution is not clear (for me).