issue247: buffer_kill_before_hook does not run for every buffer?

Priority: bug Status: chatting
msg557 (view) Author: retroj Date: 2010-02-18.15:56:34
from koning_robot:

   I noticed that buffer_kill_before_hook gets run when a window is
   closed, but not when an individual buffer is killed.  is this intended?
msg558 (view) Author: retroj Date: 2010-02-18.16:07:54
looks like an error to me
msg560 (view) Author: retroj Date: 2010-02-18.16:16:21
also see issue191
msg561 (view) Author: retroj Date: 2010-02-18.18:20:44
Further thoughts: there is an important distinction between manually
killing a buffer, and having a buffer automatically killed because you
closed its window.  so we will need to think about whether the differences
between those two situations warrant having 2 hooks, or whether we can
just have 1 hook to cover both cases.  If two hooks would be better, was
the existing buffer_kill_before_hook misnamed?
msg1157 (view) Author: BruceConnor Date: 2013-10-27.22:39:40
I understand this is an old report, but would it be interesting to patch this? 

Possibly by running buffer_before_kill_hook near the start of kill_buffer.
Date User Action Args
2013-10-27 22:39:41BruceConnorsetmessages: + msg1157
2010-02-18 18:20:44retrojsetmessages: + msg561
2010-02-18 16:16:21retrojsetmessages: + msg560
2010-02-18 16:07:55retrojsetstatus: unread -> chatting
messages: + msg558
2010-02-18 15:56:34retrojcreate