From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Window configurations Date: Thu, 06 May 2010 12:17:19 -0400 Message-ID: References: <4BB4CF6B.2000007@alice.it> <87vdbhgqgd.fsf@mail.jurta.org> <828BB36311A84C43B96D1F2A559DACAE@us.oracle.com> <87d3xo662u.fsf@mail.jurta.org> <69D40D69CC6F4982A8E91D8D8F0F494F@us.oracle.com> <87r5m4hz39.fsf@mail.jurta.org> <4BD40821.70808@gmx.at> <87zl0rtmqy.fsf@mail.jurta.org> <871vdu6qn5.fsf@mail.jurta.org> <87bpcv1wvt.fsf@mail.jurta.org> <4BE13828.2030609@gmx.at> <4BE27C33.8000801@gmx.at> <4BE2D944.5060408@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1273162682 23859 80.91.229.12 (6 May 2010 16:18:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 6 May 2010 16:18:02 +0000 (UTC) Cc: Juri Linkov , Ken Hori , Emacs To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 06 18:17:59 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OA3lu-0003eW-V0 for ged-emacs-devel@m.gmane.org; Thu, 06 May 2010 18:17:59 +0200 Original-Received: from localhost ([127.0.0.1]:48938 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OA3lt-0000D0-PT for ged-emacs-devel@m.gmane.org; Thu, 06 May 2010 12:17:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1OA3lX-0008P5-4f for emacs-devel@gnu.org; Thu, 06 May 2010 12:17:35 -0400 Original-Received: from [140.186.70.92] (port=47914 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OA3lQ-0008Hn-DT for emacs-devel@gnu.org; Thu, 06 May 2010 12:17:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OA3lO-00055T-C7 for emacs-devel@gnu.org; Thu, 06 May 2010 12:17:27 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:41585) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OA3lO-00055A-2a for emacs-devel@gnu.org; Thu, 06 May 2010 12:17:26 -0400 Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id o46GHKC2008339; Thu, 6 May 2010 12:17:20 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id BCC017004D; Thu, 6 May 2010 12:17:19 -0400 (EDT) In-Reply-To: <4BE2D944.5060408@gmx.at> (martin rudalics's message of "Thu, 06 May 2010 16:59:16 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3529=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:124593 Archived-At: >>> Having `set-window-configuration' "kill the window if the buffer died" >>> is not entirely trivial though. >> What kind of problems did you encounter (other than the one below)? > A minor technical annoyance - I have to construct a list of windows to > delete because I cannot delete a window before restoration is complete. > And obviously I have to assign some buffer during restoration just to > handle the case where the deletion fails for whatever reason. I think it's OK. If you can provide a patch for it, please submit (or install) it. > We'd still have to solve the problem where a frame is the last frame > anyway. But we haven't yet decided what to do with non-dedicated > windows that lose their buffers. Solving that more general problem > should solve this corner case too. The desired behavior for (non-sole) dedicated windows is pretty clear, so we can install a fix for it right away. For the remaining cases, it's much less clear what would be the "right" behavior (it seems to depend on the intention behind the save&restore of the window-config, so it should probably be handled at some other level). Stefan