unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: jonetsu <jonetsu@teksavvy.com>
To: help-gnu-emacs@gnu.org
Subject: Re: emacs 26.1: ediff navigation/control window ?
Date: Tue, 25 Jun 2019 14:22:11 -0400	[thread overview]
Message-ID: <20190625142211.2adf3e8b@mistral> (raw)
In-Reply-To: <83ef3hlex2.fsf@gnu.org>

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).




  reply	other threads:[~2019-06-25 18:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-25 17:24 emacs 26.1: ediff navigation/control window ? jonetsu
2019-06-25 17:42 ` Eli Zaretskii
2019-06-25 17:54   ` jonetsu
2019-06-25 18:04     ` Eli Zaretskii
2019-06-25 18:22       ` jonetsu [this message]
2019-06-25 18:51         ` Eli Zaretskii
2019-06-25 19:13           ` jonetsu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190625142211.2adf3e8b@mistral \
    --to=jonetsu@teksavvy.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).