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: Sat, 17 Aug 2002 17:33:09 +0200 Organization: Olymp Sender: emacs-devel-admin@gnu.org Message-ID: References: <200208170450.g7H4owO08637@wijiji.santafe.edu> <878z35ir2p.fsf@emacswiki.org> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1029592581 10302 127.0.0.1 (17 Aug 2002 13:56:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 17 Aug 2002 13:56:21 +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 17g43v-0002fx-00 for ; Sat, 17 Aug 2002 15:56:19 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17g4UP-0004Df-00 for ; Sat, 17 Aug 2002 16:23:41 +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 17g44t-0007IO-00; Sat, 17 Aug 2002 09:57:19 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17g43g-0007HL-00 for emacs-devel@gnu.org; Sat, 17 Aug 2002 09:56:04 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17g43e-0007H9-00 for emacs-devel@gnu.org; Sat, 17 Aug 2002 09:56:03 -0400 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17g43d-0007H1-00 for emacs-devel@gnu.org; Sat, 17 Aug 2002 09:56:02 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 17g42Z-00020E-00 for ; Sat, 17 Aug 2002 15:54:55 +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 17g42Y-0001zp-00 for ; Sat, 17 Aug 2002 15:54:54 +0200 Original-Path: hermes!nobody Original-Newsgroups: gmane.emacs.devel Original-Lines: 37 Original-NNTP-Posting-Host: dialin-145-254-206-225.arcor-ip.net Original-X-Trace: main.gmane.org 1029592494 7590 145.254.206.225 (17 Aug 2002 13:54:54 GMT) Original-X-Complaints-To: usenet@main.gmane.org Original-NNTP-Posting-Date: Sat, 17 Aug 2002 13:54:54 +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:iw7G8PsAuDcNgnC0wJDG7ocys9A= 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:6601 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6601 Alex Schroeder writes: > Perhaps you need to find the variable for ido or iswitch-buffer that > filters the buffers, and make it frame-local. Then switching buffers > will offer different buffers based what frame you are on, without > interfering with low-level stuff. [...] Yes, thank you. I will do something along these lines, if I can not convince you all, that this is a) a useful feature and that it is b) useful enough to justify a change in Emacs. Personally I wouldn't even mind to redefine the critical function of my most beloved switch-function, if necessary. I guess my main point is, that I think this is useful as a generalized feature, regardless of the SFDJ (Switch Function Du Jour) that someone might use. In fact the history how I came to this idea is as follows: I have usually six frames: one for Gnus, one for emacs-wiki-mode, one for eshell and the shell-mode and three for everything else. I simply maintained those "dedications" for months by refraining to switch to a buffer of another type, as Richard Stallmann suggested. I found it always a bit annoying, that I had to stay alert to avoid messing this setting up. So I decided lately to hack something in my .emacs. While I was looking up in ido.el, how to do this in the best way, it occurred to me that something like this as an optional addition might be an improvement to the user interface of Emacs in general. So thought a bit about the possibilities this might offer and then I decided to write a package. I intended to publish it on gnu.emacs.sources. But in the middle of the work I discovered that my approach is doomed to fail without a change to Emacs. A quick survey on gnu.emacs.help revealed nothing better and so -- well -- here I am. -- Oliver -- 30 Thermidor an 210 de la Révolution Liberté, Egalité, Fraternité!