emacs-devel
[Top][All Lists]
Advanced

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

Re: save-frame-excursion?


From: Stephen J. Turnbull
Subject: Re: save-frame-excursion?
Date: Mon, 27 Jul 2009 13:50:09 +0900

Bastien writes:
 > Stefan Monnier <address@hidden> writes:
 > 
 > > So the really better fix would be to make sure make-frame doesn't change
 > > the focus (especially since the above note is not quite correct: even
 > > for click-to-focus WMs, the new frames may get selected just by virtue
 > > of being new, which is most likely what you're seeing).
 > 
 > This patch makes sure that `make-frame' gives the focus back to the
 > previously selected frame.

I think the hook should be run *after* returning focus to the frame,
in case of a hook function that wants to do something with the focus.

I have no opinion on whether this patch is a good way to address the
issue, however.
w




reply via email to

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