|
From: | Michael Heerdegen |
Subject: | bug#14676: 24.3.50; winner doesn't immediately notice windows created by server |
Date: | Thu, 20 Jun 2013 23:54:25 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Stefan Monnier <monnier@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.
[Prev in Thread] | Current Thread | [Next in Thread] |