[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:17:04 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
>> > On second though, if we are trying to fix the specific use case of
>> > save-window-excursion, why not solve it on the level of
>> > save-window-excursion?
I think we first need to decide what use case we want to fix:
- the use of save-window-excursion is normally for "I want to run this
code which fiddles with the windows, but I don't want it to fiddle
with the windows". I.e. unless the code really only fiddles with
windows and never with frames it is actually a bug since you can't
fully undo frame operations (they're visible to the user before we
get to try and undo them).
- the use of "get current-window-configuration, store it in a global var,
give the hand back to the user, at some later time, call
set-window-configuration". This is not a good solution since it
assumes that the user works in a strict nesting way, whereas in
practice (and with frames even more so), the user may interleave two
or more activities, so the set-window-configuration may end up
deleting/resetting windows in undesired ways.
So the problem is really not in how those primitives are implemented,
but in the functionality offered by those primitives.
Stefan
- bug#9419: 24.0.50; C-x k deletes the entire frame instead of switching to another buffer, Eli Zaretskii, 2011/09/01
- 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, 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 <=
- 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, 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, 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