[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#9419: 24.0.50; C-x k deletes the entire frame instead of switching t
From: |
Stefan Monnier |
Subject: |
bug#9419: 24.0.50; C-x k deletes the entire frame instead of switching to another buffer |
Date: |
Tue, 06 Sep 2011 09:06:47 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
>> I can see 3 possible ways to have a consistent behavior:
>> . Never delete a frame except by an explicit call to delete-frame. I
>> think this is what Emacs 23 did, so it is also backward-compatible.
> There are two exceptions in Emacs 23 to this rule - help frames and
> dedicated frames.
>> . A minor variation on the above: never delete a frame, except when
>> it was created by display-buffer, and never had more than one
>> buffer in its buffer list. IIUC the use case you were trying to
>> fix, this will fix it.
> Tracking the "never had more than one buffer" is tedious but could be
> done.
Actually, soft-dedicated windows do just that. Tho they also have one
side-effect, which is to prevent display-buffer from reusing that window.
So what we're trying to do here can be seen as a yet-weaker form of
dedication which does not prevent the reuse of a buffer by
display-buffer.
Stefan
- bug#9419: 24.0.50; C-x k deletes the entire frame instead of switching to another buffer, (continued)
- bug#9419: 24.0.50; C-x k deletes the entire frame instead of switching to another buffer, Eli Zaretskii, 2011/09/03
- bug#9419: 24.0.50; C-x k deletes the entire frame instead of switching to another buffer, martin rudalics, 2011/09/03
- bug#9419: 24.0.50; C-x k deletes the entire frame instead of switching to another buffer, Eli Zaretskii, 2011/09/03
- bug#9419: 24.0.50; C-x k deletes the entire frame instead of switching to another buffer, martin rudalics, 2011/09/03
- bug#9419: 24.0.50; C-x k deletes the entire frame instead of switching to another buffer, Eli Zaretskii, 2011/09/03
- bug#9419: 24.0.50; C-x k deletes the entire frame instead of switching to another buffer, Eli Zaretskii, 2011/09/03
- bug#9419: 24.0.50; C-x k deletes the entire frame instead of switching to another buffer, martin rudalics, 2011/09/04
- bug#9419: 24.0.50; C-x k deletes the entire frame instead of switching to another buffer, Eli Zaretskii, 2011/09/04
- bug#9419: 24.0.50; C-x k deletes the entire frame instead of switching to another buffer, Stefan Monnier, 2011/09/06
- bug#9419: 24.0.50; C-x k deletes the entire frame instead of switching to another buffer, martin rudalics, 2011/09/08
- bug#9419: 24.0.50; C-x k deletes the entire frame instead of switching to another buffer,
Stefan Monnier <=
- bug#9419: 24.0.50; C-x k deletes the entire frame instead of switching to another buffer, martin rudalics, 2011/09/08
- bug#9419: 24.0.50; C-x k deletes the entire frame instead of switching to another buffer, martin rudalics, 2011/09/08
- bug#9419: 24.0.50; C-x k deletes the entire frame instead of switching to another buffer, Eli Zaretskii, 2011/09/09