From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Oliver Scholz Newsgroups: gmane.emacs.devel Subject: Re: `buffer-list' and the frame-parameter `buffer-predicate' Date: Sun, 18 Aug 2002 23:12:13 +0200 Organization: Olymp Sender: emacs-devel-admin@gnu.org Message-ID: References: <200208170450.g7H4owO08637@wijiji.santafe.edu> <200208180631.g7I6VWc08974@wijiji.santafe.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1029699250 26695 127.0.0.1 (18 Aug 2002 19:34:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 18 Aug 2002 19:34:10 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17gVoN-0006wO-00 for ; Sun, 18 Aug 2002 21:34:07 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17gWFS-0004aH-00 for ; Sun, 18 Aug 2002 22:02:07 +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 17gVpR-00032J-00; Sun, 18 Aug 2002 15:35:13 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17gVoX-00030s-00 for emacs-devel@gnu.org; Sun, 18 Aug 2002 15:34:17 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17gVoV-00030f-00 for emacs-devel@gnu.org; Sun, 18 Aug 2002 15:34:17 -0400 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17gVoV-00030a-00 for emacs-devel@gnu.org; Sun, 18 Aug 2002 15:34:15 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 17gVnN-0006Zb-00 for ; Sun, 18 Aug 2002 21:33:05 +0200 Original-To: emacs-devel@gnu.org X-Injected-Via-Gmane: http://gmane.org/ Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 17gVnL-0006Z6-00 for ; Sun, 18 Aug 2002 21:33:03 +0200 Original-Path: hermes!nobody Original-Newsgroups: gmane.emacs.devel Original-Lines: 50 Original-NNTP-Posting-Host: dialin-145-254-208-093.arcor-ip.net Original-X-Trace: main.gmane.org 1029699182 25202 145.254.208.93 (18 Aug 2002 19:33:02 GMT) Original-X-Complaints-To: usenet@main.gmane.org Original-NNTP-Posting-Date: Sun, 18 Aug 2002 19:33:02 +0000 (UTC) X-Operating-System: Linux from Scratch X-Attribution: os X-Face: "HgH2sgK|bfH$;PiOJI6|qUCf.ve<51_Od(%ynHr?=>znn#~#oS>",F%B8&\vus),2AsPYb -n>PgddtGEn}s7kH?7kH{P_~vu?]OvVN^qD(L)>G^gDCl(U9n{:d>'DkilN!_K"eNzjrtI4Ya6;Td% IZGMbJ{lawG+'J>QXPZD&TwWU@^~A}f^zAb[Ru;CT(UA]c& User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i686-pc-linux-gnu) Cancel-Lock: sha1:j5JTTf8JF3csIRz6H1ftsmgdxSE= 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:6626 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6626 Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes: > Richard Stallman writes: > >> 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. > > I think this is not the right solution, as there are a lot of > functions that list buffers (either as completions, like > switch-to-buffer, or as a menu, like buffer-menu). Just an addition: This issue is not only related to the functions of the type `buffer-menu' and of the type `switch-to-buffer'. It is does also matter for packages that provide ways to cycle through the buffer-list via simple keystrokes. Here are a few examples from my personal Wiki: ,---- | - buffer-stack.el | http://www.sixfingeredman.net/proj/xemacs/buffer-stack.el | Beschrieben in . | | - ibs.el | http://www.geekware.de/software/emacs/ibs.el | | - swbuf.el | http://perso.wanadoo.fr/david.ponce/downloads/swbuff-3.1.zip | | - swbuff-advice.el | http://www.northbound-train.com/emacs/swbuff-advice.el `---- [Disclaimer: Personally I have tested none of them.] -- Oliver -- 1 Fructidor an 210 de la Révolution Liberté, Egalité, Fraternité!