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: Tue, 15 Apr 2008 22:08:30 -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> <87r6d6vjg2.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 1208322492 28208 80.91.229.12 (16 Apr 2008 05:08:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Apr 2008 05:08:12 +0000 (UTC) Cc: emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 16 07:07:37 2008 connect(): Connection refused 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 1Jlx5L-0001j9-Jt for ged-emacs-devel@m.gmane.org; Wed, 16 Apr 2008 04:09:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jlx4h-0000jk-1g for ged-emacs-devel@m.gmane.org; Tue, 15 Apr 2008 22:08:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jlx4d-0000jU-0o for emacs-devel@gnu.org; Tue, 15 Apr 2008 22:08:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jlx4b-0000j2-KM for emacs-devel@gnu.org; Tue, 15 Apr 2008 22:08:34 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jlx4b-0000iz-EM for emacs-devel@gnu.org; Tue, 15 Apr 2008 22:08:33 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jlx4a-0000vO-W7 for emacs-devel@gnu.org; Tue, 15 Apr 2008 22:08:33 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EACL8BEhMCqsI/2dsb2JhbACBYKtM X-IronPort-AV: E=Sophos;i="4.25,663,1199682000"; d="scan'208";a="18591014" Original-Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238]) by ironport2-out.teksavvy.com with ESMTP; 15 Apr 2008 22:08:30 -0400 Original-Received: from pastel.home ([76.10.171.8]) by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id WGY64230; Tue, 15 Apr 2008 22:08:30 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 55A177F3C; Tue, 15 Apr 2008 22:08:30 -0400 (EDT) In-Reply-To: <87r6d6vjg2.fsf@jurta.org> (Juri Linkov's message of "Wed, 16 Apr 2008 01:28:45 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:95329 Archived-At: > + (defun internal-complete-buffer (string predicate flag) > + (let ((table (mapcar 'buffer-name (buffer-list)))) Why not just use (mapcar 'buffer-name (buffer-list)) rather than using a function as the completion table? If it's because of the hide-spaces argument to all-completions, then please write a comment about it, Stefan