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: C-r and C-s in minibuffer should search completion Date: Mon, 07 Apr 2008 11:32:23 -0400 Message-ID: References: <87prtiik0l.fsf@jurta.org> <87iqz969fh.fsf@jurta.org> <87od9181m7.fsf@jurta.org> <87lk440z31.fsf@jurta.org> <87od8xccz6.fsf@jurta.org> <87hceouksk.fsf@jurta.org> <87y77zlqji.fsf@jurta.org> <873aq2czp4.fsf@jurta.org> <871w5j2ca1.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1207582448 13733 80.91.229.12 (7 Apr 2008 15:34:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Apr 2008 15:34:08 +0000 (UTC) Cc: emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 07 17:34:41 2008 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.50) id 1JitMg-0004K6-1F for ged-emacs-devel@m.gmane.org; Mon, 07 Apr 2008 17:34:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JitM2-0003AH-Tp for ged-emacs-devel@m.gmane.org; Mon, 07 Apr 2008 11:33:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JitKk-0001c8-KG for emacs-devel@gnu.org; Mon, 07 Apr 2008 11:32:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JitKi-0001Xa-Al for emacs-devel@gnu.org; Mon, 07 Apr 2008 11:32:33 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JitKi-0001XD-1t for emacs-devel@gnu.org; Mon, 07 Apr 2008 11:32:32 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JitKh-0000Ui-9y for emacs-devel@gnu.org; Mon, 07 Apr 2008 11:32:31 -0400 Original-Received: from 76-10-147-176.dsl.teksavvy.com ([76.10.147.176] helo=ceviche.home) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JitKg-0005sO-F1 for emacs-devel@gnu.org; Mon, 07 Apr 2008 11:32:30 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id F0C26B46F1; Mon, 7 Apr 2008 11:32:23 -0400 (EDT) In-Reply-To: <871w5j2ca1.fsf@jurta.org> (Juri Linkov's message of "Sun, 06 Apr 2008 23:45:10 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 3) X-Greylist: delayed 2114 seconds by postgrey-1.27 at nadesico; Mon, 07 Apr 2008 11:32:29 EDT X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:94578 Archived-At: > OTOH, my latest patch implements exactly what is needed: using your > suggestion to place code in the interactive spec of switch-buffer-*, > it also sets a special function minibuffer-default-add-function > that removes the current buffer from the list of defaults of > switch-buffer-* commands. Yes, that's an acceptable solution, but really if there are only 2 buffers, C-x b TAB should select the only other buffer, so the better solution is to fix the completion table. > Thus, this is a very localized fix. I spent enough time trying hard > to find a better solution, but I see no better. I propose to install > this fix and move to more important things. Sure, Stefan