From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: mthesaur v synonyms Date: Sat, 11 Aug 2007 07:34:18 -0700 Message-ID: References: <8bejiab13d.fsf@news.ubuntu.home> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1186842932 1356 80.91.229.12 (11 Aug 2007 14:35:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 11 Aug 2007 14:35:32 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Hadron" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 11 16:35:25 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IJs3o-0006Nd-GJ for geh-help-gnu-emacs@m.gmane.org; Sat, 11 Aug 2007 16:35:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IJs3n-0000Ri-Qw for geh-help-gnu-emacs@m.gmane.org; Sat, 11 Aug 2007 10:35:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IJs3X-0000Pi-5K for help-gnu-emacs@gnu.org; Sat, 11 Aug 2007 10:35:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IJs3V-0000Ne-LT for help-gnu-emacs@gnu.org; Sat, 11 Aug 2007 10:35:06 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IJs3V-0000Nb-E3 for help-gnu-emacs@gnu.org; Sat, 11 Aug 2007 10:35:05 -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 1IJs3U-0003x5-Vz for help-gnu-emacs@gnu.org; Sat, 11 Aug 2007 10:35:05 -0400 Original-Received: from rgmgw1.us.oracle.com (rgmgw1.us.oracle.com [138.1.186.110]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id l7BEZ2BO008069; Sat, 11 Aug 2007 08:35:02 -0600 Original-Received: from acsmt350.oracle.com (acsmt350.oracle.com [141.146.40.150]) by rgmgw1.us.oracle.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id l7BDYJpw020244; Sat, 11 Aug 2007 08:35:02 -0600 Original-Received: from dhcp-amer-whq-csvpn-gw3-141-144-81-120.vpn.oracle.com by acsmt351.oracle.com with ESMTP id 3115463621186842866; Sat, 11 Aug 2007 07:34:26 -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: <8bejiab13d.fsf@news.ubuntu.home> 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: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:46503 Archived-At: > >> >> It's not a bug customising it doesn't work since the > >> >> customization is at the > >> >> end the .emacs the menu/keybinding code is called before the > >> >> customization variable is set. > >> > > >> > I think you're saying that there is no bug and things work OK for you > >> > now. > >> > >> Sorry. I wasn't clear. It only works for me with the code below. The > >> customization does not work because the key bindings are done > before the > >> customization section is invoked I assume? > > > > It all depends when your customizations (from Customize) are invoked. If > > they are invoked after you've loaded Icicles, then, yes, some > of them, like > > this one, will have no effect, because the value will have already been > > tested by Icicles. > > > > Your customizations (from Customize) are in either your > `custom-file' (if > > non-nil) or your `user-init-file' (most likely `~/.emacs'). In > the former > > case, the behavior depends on when you load `custom-file' (e.g. > from your > > .emacs). > > > > In the latter case, the behavior depends on where the customizations are > > located in your .emacs. If they are evaluated before you enter > Icicle mode, > > you should be OK. > > They are in the default place afaik - at the end of the .emacs. I switch > on icy-mode in my .emacs. is there a bettter way to do it? No, that's fine. But you will need to do as you are doing now: set the value of this option before you enter Icicle mode. Keep in mind that you can load Icicles and your customizations in any order. What's important is that you don't turn on Icicle mode until after you have set the option value the way you want it. When you enter Icicle mode, it checks the value, and if it's nil, then it does not rebind f5 etc. That's all.