From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#8911: bs-cycle-next deletes window in some cases. Date: Thu, 30 Jun 2011 09:00:08 +0200 Message-ID: <4E0C1EF8.5050002@gmx.at> References: <4E009EB0.1050903@gmx.at><181538AC4C8B4765A99060E0425B9AB5@us.oracle.com><9170F33E41584E0B8D96DD5EFC84599E@us.oracle.com><8E864413162C4814BE8EFFD0C1FA1989@us.oracle.com><4E06FBF8.9040205@gmx.at> <339CDDF170EF4297B476C3ADC0A7CBCC@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1309418064 19404 80.91.229.12 (30 Jun 2011 07:14:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 30 Jun 2011 07:14:24 +0000 (UTC) Cc: 'Juanma Barranquero' , 8911@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 30 09:14:19 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QcBS6-0007zJ-Vk for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 Jun 2011 09:14:19 +0200 Original-Received: from localhost ([::1]:33944 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcBS5-0005u6-Bg for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 Jun 2011 03:14:17 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:48859) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcBO1-0004wd-Ne for bug-gnu-emacs@gnu.org; Thu, 30 Jun 2011 03:10:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QcBO0-0002kb-8u for bug-gnu-emacs@gnu.org; Thu, 30 Jun 2011 03:10:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41546) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcBO0-0002kU-3M for bug-gnu-emacs@gnu.org; Thu, 30 Jun 2011 03:10:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QcBNy-0002PV-PU; Thu, 30 Jun 2011 03:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 Jun 2011 07:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8911-submit@debbugs.gnu.org id=B8911.13094177819228 (code B ref 8911); Thu, 30 Jun 2011 07:10:02 +0000 Original-Received: (at 8911) by debbugs.gnu.org; 30 Jun 2011 07:09:41 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QcBNc-0002On-R8 for submit@debbugs.gnu.org; Thu, 30 Jun 2011 03:09:41 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.23]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QcBNb-0002OY-32 for 8911@debbugs.gnu.org; Thu, 30 Jun 2011 03:09:40 -0400 Original-Received: (qmail invoked by alias); 30 Jun 2011 07:09:32 -0000 Original-Received: from 62-47-57-182.adsl.highway.telekom.at (EHLO [62.47.57.182]) [62.47.57.182] by mail.gmx.net (mp023) with SMTP; 30 Jun 2011 09:09:32 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19viNIU++tv8BouxNlKToYNMyROG4VmE4jzMtAWtD fHM5veRz3v9GXw User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: <339CDDF170EF4297B476C3ADC0A7CBCC@us.oracle.com> X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 30 Jun 2011 03:10:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:47609 Archived-At: > 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