[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19576: write-file writes the wrong buffer
From: |
Eli Zaretskii |
Subject: |
bug#19576: write-file writes the wrong buffer |
Date: |
Sat, 21 Nov 2015 21:08:29 +0200 |
> Date: Sat, 21 Nov 2015 19:44:07 +0100
> From: martin rudalics <rudalics@gmx.at>
> CC: andlind@gmail.com, acm@muc.de, 19576@debbugs.gnu.org,
> juri@linkov.net
>
> > We could run both types of hooks, couldn't we?
>
> As I said we do that already for splitting and deleting windows. So we
> obviously could. But this means that packages run the same function
> twice because they are used to run the same function in both hooks.
That'[s why I think we should do this on master, to see if this causes
any problems.
> > The documentation
> > seems to suggest that both of them should be run in this situation.
>
> ‘window-configuration-change-hook’ shouldn't run since the window
> configuration does not change.
But the ELisp manual says it should:
-- Variable: window-configuration-change-hook
A normal hook that is run every time you change the window
configuration of an existing frame. This includes splitting or
deleting windows, changing the sizes of windows, or displaying a
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
different buffer in a window.
> But why should we OT1H make ‘window-size-change-functions’ more
> efficient when OTOH we call it after we already called
> ‘window-configuration-change-hook’?
Sorry, I don't see the relevance of efficiency to this issue.
- bug#19576: write-file writes the wrong buffer, (continued)
- bug#19576: write-file writes the wrong buffer, Eli Zaretskii, 2015/11/21
- bug#19576: write-file writes the wrong buffer, Alan Mackenzie, 2015/11/21
- bug#19576: write-file writes the wrong buffer, Eli Zaretskii, 2015/11/21
- bug#19576: write-file writes the wrong buffer, Anders Lindgren, 2015/11/21
- bug#19576: write-file writes the wrong buffer, Eli Zaretskii, 2015/11/21
- bug#19576: write-file writes the wrong buffer, martin rudalics, 2015/11/21
- bug#19576: write-file writes the wrong buffer, Eli Zaretskii, 2015/11/21
- bug#19576: write-file writes the wrong buffer, martin rudalics, 2015/11/21
- bug#19576: write-file writes the wrong buffer,
Eli Zaretskii <=
- bug#19576: write-file writes the wrong buffer, Anders Lindgren, 2015/11/21
- bug#19576: write-file writes the wrong buffer, martin rudalics, 2015/11/22
- bug#19576: write-file writes the wrong buffer, Eli Zaretskii, 2015/11/22
- bug#21333: bug#19576: write-file writes the wrong buffer, Eli Zaretskii, 2015/11/21
- bug#19576: write-file writes the wrong buffer, martin rudalics, 2015/11/22
- bug#19576: write-file writes the wrong buffer, Eli Zaretskii, 2015/11/22
- bug#19576: write-file writes the wrong buffer, martin rudalics, 2015/11/22
- bug#19576: write-file writes the wrong buffer, Eli Zaretskii, 2015/11/23
- bug#19576: write-file writes the wrong buffer, Alan Mackenzie, 2015/11/23
- bug#19576: write-file writes the wrong buffer, martin rudalics, 2015/11/24