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, 21 Apr 2008 23:10:20 -0400 Message-ID: References: <87hceouksk.fsf@jurta.org> <87y77zlqji.fsf@jurta.org> <873aq2czp4.fsf@jurta.org> <871w5j2ca1.fsf@jurta.org> <87r6d6vjg2.fsf@jurta.org> <87od89sb4y.fsf@jurta.org> <87mynsrg9m.fsf@jurta.org> <87zlrp8zn1.fsf@jurta.org> <873aph5v28.fsf@jurta.org> <87od82alu9.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 1208833891 3166 80.91.229.12 (22 Apr 2008 03:11:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 22 Apr 2008 03:11:31 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 22 05:12:06 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 1Jo8vM-0003Yf-5H for ged-emacs-devel@m.gmane.org; Tue, 22 Apr 2008 05:12:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jo8uJ-0000wO-Cf for ged-emacs-devel@m.gmane.org; Mon, 21 Apr 2008 23:10:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jo8u5-0000rv-MS for emacs-devel@gnu.org; Mon, 21 Apr 2008 23:10:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jo8u0-0000pO-1W for emacs-devel@gnu.org; Mon, 21 Apr 2008 23:10:45 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jo8tz-0000pF-Qf for emacs-devel@gnu.org; Mon, 21 Apr 2008 23:10:39 -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 1Jo8tq-0002LH-Cj; Mon, 21 Apr 2008 23:10:30 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ai8DAKrzDEjO+KGddGdsb2JhbACBUpACASqZHw X-IronPort-AV: E=Sophos;i="4.25,691,1199682000"; d="scan'208";a="18851645" Original-Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238]) by ironport2-out.teksavvy.com with ESMTP; 21 Apr 2008 23:10:21 -0400 Original-Received: from pastel.home ([206.248.161.157]) by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id CHG08221; Mon, 21 Apr 2008 23:10:21 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id D31148066; Mon, 21 Apr 2008 23:10:20 -0400 (EDT) In-Reply-To: <87od82alu9.fsf@jurta.org> (Juri Linkov's message of "Tue, 22 Apr 2008 01:54:42 +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:95727 Archived-At: >> That is why I propose creating a function `buffer-alist' that returns >> a copy of Vbuffer_alist, not using this variable directly. So modifications >> on this alist would be impossible. >> >> (defun buffer-alist () >> (mapcar (lambda (b) (cons (buffer-name b) b)) >> (buffer-list))) > If this is so simple, then what problems would cause moving > `internal-complete-buffer' to Lisp? None (other than a very minor reduction in consing), but I'm not sure what would be the benefits, Stefan