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: propose adding Icicles to Emacs Date: Thu, 14 Jun 2007 08:51:28 -0700 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1181836399 30378 80.91.229.12 (14 Jun 2007 15:53:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 14 Jun 2007 15:53:19 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 14 17:53:16 2007 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 1HyrdL-0007w4-90 for ged-emacs-devel@m.gmane.org; Thu, 14 Jun 2007 17:53:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HyrdK-00044q-N2 for ged-emacs-devel@m.gmane.org; Thu, 14 Jun 2007 11:53:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HyrdG-00042e-IQ for emacs-devel@gnu.org; Thu, 14 Jun 2007 11:53:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HyrdE-00040q-Tr for emacs-devel@gnu.org; Thu, 14 Jun 2007 11:53:10 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HyrdE-00040X-N8 for emacs-devel@gnu.org; Thu, 14 Jun 2007 11:53:08 -0400 Original-Received: from rgminet01.oracle.com ([148.87.113.118]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HyrdD-0005e6-DX; Thu, 14 Jun 2007 11:53:07 -0400 Original-Received: from rgmgw3.us.oracle.com (rgmgw3.us.oracle.com [138.1.186.112]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id l5EFr3PK029980; Thu, 14 Jun 2007 09:53:03 -0600 Original-Received: from acsmt351.oracle.com (acsmt351.oracle.com [141.146.40.151]) by rgmgw3.us.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id l5EFr1dm008879; Thu, 14 Jun 2007 09:53:01 -0600 Original-Received: from dhcp-amer-rmdc-csvpn-gw6-141-144-112-35.vpn.oracle.com by acsmt350.oracle.com with ESMTP id 2895919781181836292; Thu, 14 Jun 2007 08:51:32 -0700 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: Linux 2.4-2.6 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:72863 Archived-At: > I don't see how to do that. Concrete suggestions welcome. > Please have a look at the existing code. Likewise for the > other, related functions (`read-file-name', etc.). > > I already do a lot of stuff on `minibuffer-setup-hook'. See, > for instance, `icicle-minibuffer-setup', which is on > `minibuffer-setup-hook' when in Icicle mode. I have no idea > how to do what would need to be done for `completing-read', > `read-file-name',... with `minibuffer-setup-hook'. > > What are the jobs that need to be done there, > which you don't know how to do this way? What do you mean by "there"? If you mean on `minibuffer-setup-hook', then please reread the above. I am saying that I cannot do there the different things that I do now in various functions (`completing-read', `read-file-name',...) on `minibuffer-setup-hook' instead. I gave concrete examples for `completing-read' and pointed to the code for the others as well. Each of the functions has different additional things added, which cannot be done on `minibuffer-setup-hook'. Initializations etc. that are appropriate for only one function (e.g. `completing-read') cannot be put on a hook that is run when every function activates the minibuffer.