From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: completing-read-function variable for completing-read Date: Fri, 18 Sep 2009 00:33:11 -0700 Message-ID: <5696CE979DDD4C1AA1396E7BF6BCFD9E@us.oracle.com> References: <004901c8a19f$b9ef5140$0200a8c0@us.oracle.com><7dbe73ed0804192323y311f967apd1c0e98d5732abe9@mail.gmail.com><480AF1A0.8060408@gmail.com><002b01c8a57d$7a4de740$c2b22382@us.oracle.com><004401c8ac61$c29c0870$0200a8c0@us.oracle.com><8763tws4hi.fsf@jurta.org><002801c8e63b$6ea623e0$0200a8c0@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1253259216 28205 80.91.229.12 (18 Sep 2009 07:33:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Sep 2009 07:33:36 +0000 (UTC) Cc: 'Juri Linkov' , emacs-devel@gnu.org To: "'Stefan Monnier'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 18 09:33:29 2009 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 1MoXy9-0007Li-O4 for ged-emacs-devel@m.gmane.org; Fri, 18 Sep 2009 09:33:26 +0200 Original-Received: from localhost ([127.0.0.1]:47653 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MoXy9-0007xF-24 for ged-emacs-devel@m.gmane.org; Fri, 18 Sep 2009 03:33:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MoXy3-0007xA-I2 for emacs-devel@gnu.org; Fri, 18 Sep 2009 03:33:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MoXxy-0007wy-PR for emacs-devel@gnu.org; Fri, 18 Sep 2009 03:33:18 -0400 Original-Received: from [199.232.76.173] (port=56709 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MoXxy-0007wv-JW for emacs-devel@gnu.org; Fri, 18 Sep 2009 03:33:14 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:50178) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MoXxy-0004tn-0R for emacs-devel@gnu.org; Fri, 18 Sep 2009 03:33:14 -0400 Original-Received: from acsinet11.oracle.com ([141.146.126.233]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MoXxx-0000cH-9r for emacs-devel@gnu.org; Fri, 18 Sep 2009 03:33:13 -0400 Original-Received: from rgminet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by acsinet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n8I7YLCN029906 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 18 Sep 2009 07:34:22 GMT Original-Received: from abhmt001.oracle.com (abhmt001.oracle.com [141.146.116.10]) by rgminet13.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n8I7XWtZ010206; Fri, 18 Sep 2009 07:33:32 GMT Original-Received: from dradamslap1 (/141.144.80.110) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 18 Sep 2009 00:33:07 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: Aco4DCCHwzVTi9DMTiWOQTDB21BExAAJSCYg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: abhmt001.oracle.com [141.146.116.10] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090205.4AB337B4.00A3:SCFSTAT5015188,ss=1,fgs=0 X-detected-operating-system: by mx20.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by monty-python.gnu.org: GNU/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:115459 Archived-At: > > > From: Drew Adams Sent: Monday, July 14, 2008 10:27 PM > > > > > > > From: Juri Linkov Sent: Friday, May 02, 2008 4:53 PM > > > > >> > >> How about having `completing-read' just call a > > > > >> > >> `completing-read-function' variable if non-nil? > > > > >> > >> This is the same thing that `read-file-name' does, with > > > > >> > >> `read-file-name-function'. > > > > >> > > > > > > >> > > It sounds useful to authors of Emacs extensions and > > > > >> > > might even be useful directly for end users, letting > > > > >> > > them decide what completing-read function they feel > > > > >> > > like using on any particular day. > > > > >> > > > > > >> > I agree. Is there any reason not to add > > > > >> > completing-read-function? > > > > >> > > > > >> No one has objected to the idea. > > > > >> Could someone please implement this? > > > > > > > > > > Any news on this? > > > > > > > > Let's wait when Stefan moves completing-read to > > > > minibuffer.el and then just add > > > > (if completing-read-function > > > > (funcall completing-read-function ;-) > > > > > > Any news? > > > > Any news? > > Send a patch for it and we'll see Sorry, someone else will have to patch the C code. But the idea was that Stefan would move `completing-read' to Lisp (`minibuffer.el'). ;-) Then the patch for this will be trivial, as mentioned.