GNU bug report logs - #8911
bs-cycle-next deletes window in some cases.

Previous Next

Package: emacs;

Reported by: Juanma Barranquero <lekktu <at> gmail.com>

Date: Tue, 21 Jun 2011 11:03:01 UTC

Severity: normal

Done: Juanma Barranquero <lekktu <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juanma Barranquero <lekktu <at> gmail.com>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 8911 <at> debbugs.gnu.org
Subject: bug#8911: bs-cycle-next deletes window in some cases.
Date: Tue, 21 Jun 2011 16:00:00 +0200
On Tue, Jun 21, 2011 at 15:37, martin rudalics <rudalics <at> gmx.at> wrote:

> `bs-cycle-next' is probably not to blame because it just wants to make
> sure that the buffer is not chosen again soon for displaying it.  So we
> have a number of ways to restore the old behavior, namely
>
> - have `bs-cycle-next' call `unrecord-buffer' instead of `bury-buffer',

That seems to work, yes.

> - have `bury-buffer' only delete dedicated windows as before,

I don't follow you. Before that change, bury-buffer was not called
only on dedicated windows. The trouble was that, when called on a
dedicated window, it iconified the frame.

> - give `bury-buffer' an extra argument which allows (or forbids) to
>  delete the selected window (or corresponding frame),

Perhaps this is the best long term answer.

> - make sure that `bury-buffer' deletes only automatically created
>  windows (much like the recent option `frame-auto-delete').

What's an "automatically created window"?

> Earlier versions of this used
> to iconify frames which some people on this list disliked severely so I
> removed it.  So far no one missed this issue, but maybe I shall restore
> it as well?

Again, I don't follow you. This:

(progn
  (set-window-dedicated-p (selected-window) t)
  (bury-buffer))

still iconifies the frame.

    Juanma




This bug report was last modified 13 years and 324 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.