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 #131 received at 8911 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 'Juanma Barranquero' <lekktu <at> gmail.com>,
	'Stefan Monnier' <monnier <at> iro.umontreal.ca>, 8911 <at> debbugs.gnu.org
Subject: Re: bug#8911: bs-cycle-next deletes window in some cases.
Date: Thu, 30 Jun 2011 09:00:08 +0200
> Let me also be clear that it is not about hook vs option.  It would be fine with
> me if we had a user option for this instead of a hook, as long as it let you do
> just as much.

Since I hardly ever bury a buffer please tell me when and how you want
to set up things and what precisely you want that option to do.  We now
have an option called `frame-auto-delete' which might be expanded to do
something in this sense.

> E.g., a function to be invoked after the buffer order is changed.

`buffer-list-update-hook' is run when the "buffer order" changes.  Note
that there were "f + 1" buffer orders in Emacs 23 where "f" is the
number of live frames and there are "f + w + 1" buffer orders in Emacs
24 where "w" is the number of live windows.

> Function
> `ignore' would take care of the do-nothing case.  The function would need to
> accept the buffer as its (first) argument.

`buffer-list-update-hook' doesn't have a buffer as argument.  We could
change that.  But this would not necessarily tell you enough about the
frame that should be deleted or iconified.

> What I object to is Stefan's proposal of an option that allows only a choice
> between deleting the frame and iconifying it.

martin





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.