emacs-devel
[Top][All Lists]
Advanced

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

Re: quit-window


From: Christoph Scholtes
Subject: Re: quit-window
Date: Mon, 24 Oct 2011 19:00:01 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (windows-nt)

martin rudalics <address@hidden> writes:

> W'de have to handle this test
>
>   (if Info-standalone
>       (save-buffers-kill-emacs)
>     (quit-window)))
>
> somehow without creating surprises for people using the standalone
> version.

What surprises are you thinking of?

> You might also try patching (some of) them right away so we know whether
> there are any pitfalls ;-)

Yes, for short term the most annoying instancse can be fixed without a hook.

> The problem is that the more hooks we have in one call, the more the
> order in which these hooks are executed does matter.  For example, I
> believe that when I run `kill-buffer', `kill-buffer-hook' is called
> before `window-configuration-change-hook'.  When I run `quit-window'
> with the first argument t, the order seems
> `window-configuration-change-hook', `kill-buffer-hook', and possibly
> another `window-configuration-change-hook' if the buffer was displayed
> in a second window.  This is already very confusing for me in current
> Emacs.

That does seem confusing. I wonder why there are differences.




reply via email to

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