From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: emacs 26.1: ediff navigation/control window ? Date: Tue, 25 Jun 2019 21:51:55 +0300 Message-ID: <83blyllcqc.fsf@gnu.org> References: <20190625132421.6748c073@mistral> <83ftnxlfxa.fsf@gnu.org> <20190625135454.39e0e1cd@mistral> <83ef3hlex2.fsf@gnu.org> <20190625142211.2adf3e8b@mistral> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="84208"; mail-complaints-to="usenet@blaine.gmane.org" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 25 20:52:21 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hfqYG-000LfP-Dq for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Jun 2019 20:52:20 +0200 Original-Received: from localhost ([::1]:34688 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hfqY9-0001zr-Op for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Jun 2019 14:52:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54911) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hfqY1-0001zY-Li for help-gnu-emacs@gnu.org; Tue, 25 Jun 2019 14:52:06 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:35923) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hfqY1-0003zC-HY for help-gnu-emacs@gnu.org; Tue, 25 Jun 2019 14:52:05 -0400 Original-Received: from [176.228.60.248] (port=4008 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hfqY0-0005AU-3M for help-gnu-emacs@gnu.org; Tue, 25 Jun 2019 14:52:05 -0400 In-reply-to: <20190625142211.2adf3e8b@mistral> (message from jonetsu on Tue, 25 Jun 2019 14:22:11 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:121050 Archived-At: > Date: Tue, 25 Jun 2019 14:22:11 -0400 > From: jonetsu > > (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). Is SrSpeedbar active when the problem happens? Are any of the windows whose buffers you compare SrSpeedbar windows?