all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 14676@debbugs.gnu.org
Subject: bug#14676: 24.3.50; winner doesn't immediately notice windows created by server
Date: Thu, 20 Jun 2013 23:54:25 +0200	[thread overview]
Message-ID: <871u7we9da.fsf@web.de> (raw)
In-Reply-To: <jwvfvwcfqhj.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Thu, 20 Jun 2013 17:00:47 -0400")

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.





  reply	other threads:[~2013-06-20 21:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-20 18:09 bug#14676: 24.3.50; winner doesn't immediately notice windows created by server Michael Heerdegen
2013-06-20 20:31 ` Stefan Monnier
2013-06-20 21:00   ` Stefan Monnier
2013-06-20 21:54     ` Michael Heerdegen [this message]
2013-06-21 14:38       ` Stefan Monnier
2013-06-22 22:44         ` Michael Heerdegen
2020-09-09 13:41           ` Lars Ingebrigtsen
2020-09-16 23:44             ` Michael Heerdegen
2020-09-17  3:19               ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871u7we9da.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=14676@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.