GNU bug report logs - #16436
feature request: select-window-hook

Previous Next

Package: emacs;

Reported by: 陈育龙 <chenyulong1 <at> gmail.com>

Date: Tue, 14 Jan 2014 04:56:02 UTC

Severity: wishlist

Merged with 7381

Found in version 24.0.50

Fixed in version 27.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #13 received at 16436 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: 陈育龙 <chenyulong1 <at> gmail.com>, 
 16436 <at> debbugs.gnu.org
Subject: Re: bug#16436: feature request: select-window-hook
Date: Sat, 12 Jan 2019 10:15:39 +0100
> I don't know whether I missed something but I can't find a hook like
> select-window-hook in stand
> hooks<http://www.gnu.org/software/emacs/manual/html_node/elisp/Standard-Hooks.html>,
> and I find some other emacs user has the same issue.
>
> I really want to have a function as select-last-window for emacs, by now, I
> hack it in a ugly way, and I think select-window-hook can make it better.

Emacs now provides a hook called 'window-selection-change-functions'
which should fix your problem.  Please have a look.

Thanks, martin




This bug report was last modified 6 years and 181 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.