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


Message #65 received at 8911 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 'Juanma Barranquero' <lekktu <at> gmail.com>, 8911 <at> debbugs.gnu.org
Subject: Re: bug#8911: bs-cycle-next deletes window in some cases.
Date: Wed, 22 Jun 2011 16:07:53 -0400
> As I also said earlier, to me (and per the doc string and the
> function's past behavior) `bury-buffer' is not about display.  (That
> is, it is only secondarily about display, and only in the one
> particular case quoted above.)

There are two ways to call bury-buffer, which correspond to two fairly
different behaviors.  One is with a non-nil argument, where it only
touches the order in the buffer-list.  This one is uncontroversial and
doesn't matter much to me.

The other is when the argument is nil, in which case it is
*specifically* meant to make the buffer disappear (additionally to
changing the buffer-list order).  This case is very much about display,
not just secondarily so.

> The reason is primarily the annoyance that iconifying can produce - on
> Windows it is kind of animated, essentially sweeping across the
> display down to the task bar.  With frame deletion it just disappears
> instantly - poof.

Then we could add an option so that bury-buffer uses delete-frame
instead of iconify-frame.  But doing nothing is not an option since the
caller specifically asked to undisplay the buffer.


        Stefan




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.