From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: managing windows in two frames Date: Sat, 07 Sep 2013 11:37:52 +0200 Message-ID: <522AF3F0.8070801@gmx.at> References: <8561uiclrj.fsf@stephe-leake.org> <5225DB8D.6060709@gmx.at> <858uzcbggs.fsf@stephe-leake.org> <5229B3E7.4070908@gmx.at> <85d2ol57t1.fsf@stephe-leake.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1378546696 13424 80.91.229.3 (7 Sep 2013 09:38:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 7 Sep 2013 09:38:16 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stephen Leake Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 07 11:38:19 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VIEyB-0001iG-1g for ged-emacs-devel@m.gmane.org; Sat, 07 Sep 2013 11:38:19 +0200 Original-Received: from localhost ([::1]:41304 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIEyA-0004bH-LE for ged-emacs-devel@m.gmane.org; Sat, 07 Sep 2013 05:38:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39044) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIEy0-0004X3-Oq for emacs-devel@gnu.org; Sat, 07 Sep 2013 05:38:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VIExq-0003J4-1j for emacs-devel@gnu.org; Sat, 07 Sep 2013 05:38:08 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:52834) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIExp-0003Ip-OQ for emacs-devel@gnu.org; Sat, 07 Sep 2013 05:37:57 -0400 Original-Received: from [62.47.33.250] ([62.47.33.250]) by mail.gmx.com (mrgmx001) with ESMTPA (Nemesis) id 0M2c1V-1WACxd2hbp-00sK0t for ; Sat, 07 Sep 2013 11:37:56 +0200 In-Reply-To: <85d2ol57t1.fsf@stephe-leake.org> X-Provags-ID: V03:K0:oaGJ0Q+iAdHejIKndxzu2gXXEZ/57OC9OQ5M39DmWDu1i0W39iT vpx7Fz+7zOscUT5D0pmd/jF5PplGKZysKmX5zH+cqpkXYKfjGun/RaunfmRQs1vDAq49ZS2 LCE/C/GjkDepNDDpx+6wqmrV4M7yQFNNVOg6YB+h6UxW9be0Q69CcCuThekuy/FKFSzeett VZiylG/LuCAWF1WmMPvTQ== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.17.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:163254 Archived-At: >> No. But consider the case where a user wants to have one and the same >> frame share just *Help* and *info* output and that frame is the car of >> filtered-frame-list. > > So other windows would then be added to it sometimes, which is not what > the user wants. > > A general solution to that sort of problem would require a > user-specified filter for picking a frame; it could check if the frame > has *Help* and return nil. Usually, this is done by making the *Help* frame dedicated. But dedicated windows are not very popular. >> Your approach is two-frames-centric - people might >> use three frames or more. > > Yes, more frames requires more a intelligent filter, or a more > interactive choice of frame (ie prompting with a list). > > But you said my current code is "overly restrictive"; here you are > proposing adding (user-specified) restrictions, not relaxing them. I meant it's restrictive by paying attention only to the first frame of what `filtered-frame-list' returns. martin