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: Fri, 15 Jun 2007 06:23:56 -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 1181913861 10782 80.91.229.12 (15 Jun 2007 13:24:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 15 Jun 2007 13:24:21 +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 Fri Jun 15 15:24:18 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 1HzBmj-0004wF-KM for ged-emacs-devel@m.gmane.org; Fri, 15 Jun 2007 15:24:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HzBmj-0001uE-4Z for ged-emacs-devel@m.gmane.org; Fri, 15 Jun 2007 09:24:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HzBmf-0001tz-Ne for emacs-devel@gnu.org; Fri, 15 Jun 2007 09:24:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HzBme-0001tn-5u for emacs-devel@gnu.org; Fri, 15 Jun 2007 09:24:13 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HzBme-0001tk-0I for emacs-devel@gnu.org; Fri, 15 Jun 2007 09:24:12 -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 1HzBmc-00069P-RX; Fri, 15 Jun 2007 09:24:11 -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 l5FDO7eG007841; Fri, 15 Jun 2007 07:24:08 -0600 Original-Received: from acsmt350.oracle.com (acsmt350.oracle.com [141.146.40.150]) by rgmgw3.us.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id l5FDC0bl027912; Fri, 15 Jun 2007 07:24:06 -0600 Original-Received: from dhcp-amer-csvpn-gw1-141-144-64-138.vpn.oracle.com by acsmt351.oracle.com with ESMTP id 2920351221181913844; Fri, 15 Jun 2007 06:24:04 -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-Whitelist: TRUE X-Whitelist: TRUE X-Brightmail-Tracker: AAAAAQAAAAI= 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:72952 Archived-At: > What do you mean by "there"? If you mean on > `minibuffer-setup-hook', then please reread the above. > > It says that there are things you don't see how to do, > and that they are in a function `icicle-minibuffer-setup'. > But it doesn't say what they are. No, it's the opposite. Stefan asked why I couldn't do what I do now in my redefined `completing-read', `read-file-name' etc. in `minibuffer-setup-hook' instead. What I replied ("above") was that I was already doing all that could be done on that hook (via `icicle-minibuffer-setup', which is on that hook). IOW, I was saying that I didn't think that more that is done in `completing-read' etc. could be moved to `minibuffer-setup-hook' (e.g. to `icicle-minibuffer-setup'). > To study the code to figure that out could take an hour, > and I have so much work I can't do it that way. > I need someone to explain to me. I explained it in detail in my last reply to Stefan. > 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. > > Maybe that is so. Therefore I need to know what features these things > are trying to implement, and in general terms how you've implemented > those features; they I can look for other ways to do it. Please see my last mail to Stefan, where I replied in detail about each bit of code in each standard function that I redefine, including `completing-read'. I detail some solutions and clarify some remaining questions. Summary: I think some things can be dropped and others would need, IMO, to be moved into standard Emacs functions such as `completing-read'. We can address those explanations one by one, if you like.