GNU bug report logs - #14676
24.3.50; winner doesn't immediately notice windows created by server

Previous Next

Package: emacs;

Reported by: michael_heerdegen <at> web.de

Date: Thu, 20 Jun 2013 18:11:01 UTC

Severity: normal

Found in version 24.3.50

Full log


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

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 14676 <at> debbugs.gnu.org
Subject: Re: bug#14676: 24.3.50;
 winner doesn't immediately notice windows created by server
Date: Thu, 20 Jun 2013 23:54:25 +0200
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

> >> (add-hook 'server-switch-hook 'winner-save-old-configurations)
> >> fixes the problem for me.  Should we do something like that in the
> >> definition of `winner-mode'?
> > I don't much like this solution.
>
> I think the better solution is to move the (run-hooks
> 'post-command-hook) in server.el.  Currently it's run at the end of
> server-visit-files which I think is simply too early.  It should be run
> at the end of server-execute instead.  And that should fix your problem
> as well since winner-mode hooks itself on post-command-hook.

That sounds reasonable.  I tested your approach quickly, and it worked.

Michael.




This bug report was last modified 4 years and 270 days ago.

Previous Next


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