[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: closing emacsclient always focuses another emacs window

From: trygve . flathen
Subject: Re: closing emacsclient always focuses another emacs window
Date: Mon, 10 Mar 2014 15:18:21 -0700 (PDT)
User-agent: G2/1.0

kl. 03:40:15 UTC+1 mandag 10. mars 2014 skrev Michael Heerdegen følgende:
> That looks like a backtrace from the moment when you invoked
> emacsclient, no?  We need a backtrace from the "pathological" point of
> time after you hit C-x #.  So, it's better to M-x debug-on-entry just
> immediately before this C-x #, so that the debugger doesn't pop up in
> other situations before.

Trying again:

$ emacs
M-x server-start

$ emacsclient -c foo

$ emacsclient -c bar
M-x debug-on-entry RET select-frame-set-input-focus RET
C-x #

At that moment this Backtrace pops up in the foo window:

Debugger entered--entering a function:
* select-frame-set-input-focus(#<frame foo 0x115bc90>)
  server-switch-buffer(#<buffer foo> t)
  server-switch-buffer(nil t)
  apply(server-switch-buffer (nil t))
  call-interactively(server-edit nil nil)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]