From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: `buffer-list' and the frame-parameter `buffer-predicate' Date: Sun, 18 Aug 2002 00:31:32 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200208180631.g7I6VWc08974@wijiji.santafe.edu> References: <200208170450.g7H4owO08637@wijiji.santafe.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1029652318 23898 127.0.0.1 (18 Aug 2002 06:31:58 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 18 Aug 2002 06:31:58 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17gJbQ-0006DH-00 for ; Sun, 18 Aug 2002 08:31:56 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17gK2F-0003VU-00 for ; Sun, 18 Aug 2002 08:59:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17gJcP-0006Hn-00; Sun, 18 Aug 2002 02:32:57 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17gJb5-0005pu-00 for emacs-devel@gnu.org; Sun, 18 Aug 2002 02:31:35 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17gJb3-0005pa-00 for emacs-devel@gnu.org; Sun, 18 Aug 2002 02:31:35 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17gJb3-0005pI-00; Sun, 18 Aug 2002 02:31:33 -0400 Original-Received: from wijiji.santafe.edu (wijiji [192.12.12.5]) by pele.santafe.edu (8.11.6+Sun/8.11.6) with ESMTP id g7I6Vq528558; Sun, 18 Aug 2002 00:31:52 -0600 (MDT) Original-Received: (from rms@localhost) by wijiji.santafe.edu (8.11.6+Sun/8.9.3) id g7I6VWc08974; Sun, 18 Aug 2002 00:31:32 -0600 (MDT) X-Authentication-Warning: wijiji.santafe.edu: rms set sender to rms@wijiji using -f Original-To: alkibiades@gmx.de In-Reply-To: (message from Oliver Scholz on Sat, 17 Aug 2002 13:19:08 +0200) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:6619 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6619 The whole idea behind this is to get the buffers sorted. It is like keeping my stuff sorted in different drawers instead of keeping it in one single box in the middle of my room. Now I understand. The idea of limiting which buffers you can switch to is not the issue, I think. What you want to do is limit that buffers are included in lists that are shown or offered to you. It should be easy to do as a customization that by writing replacements for the buffer menu commands, for list-buffers, and for switch-to-buffer (supplying a different list for completion, perhaps). I suggest you give these commands new names and bind them to keys as you see fit. That is cleaner than redefiniting the standard functions. As for making this a feature in Emacs, the question is whether people can develop simple and easy-to-use ways of specifying which buffers to list for each frame. I think that is the crucial issue. If those methods are simple and don't require users to remember a lot, they could be widely used. Otherwise they won't be used much, so it is not worth the trouble of adding them.