From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Hadron Newsgroups: gmane.emacs.help Subject: Re: mthesaur v synonyms Date: Fri, 10 Aug 2007 16:26:54 +0200 Organization: http://en.wikipedia.org/wiki/Quark Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1186756870 7121 80.91.229.12 (10 Aug 2007 14:41:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 10 Aug 2007 14:41:10 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 10 16:41:05 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 1IJVfk-0003zG-0w for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Aug 2007 16:41:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IJVfj-0001QQ-Ju for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Aug 2007 10:41:03 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 67 Original-X-Trace: individual.net z9uqRMTXTyaruXixHR7Cpg50pQ+pvH+Dmvx/74GVft71fHNaO+ X-Orig-Path: news6.ibm.net!news Cancel-Lock: sha1:J91Ut7Ktjwsou+tnd6Xx1EfX670= sha1:5H2KGPKZXQ1SqT+I88aYOYBGtOQ= User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.0 (gnu/linux) Original-Xref: shelby.stanford.edu gnu.emacs.help:150901 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:46476 Archived-At: "Drew Adams" writes: >> > at point, into the minibuffer as your input. Edit it if you like, before >> > hitting RET. >> > >> > If you also use Icicles, and you want the default value to _always_ be >> > inserted in the minibuffer as the initial input, then customize >> > `icicle-init-value-flag' to `insert'. I personally prefer that >> > behavior, but I think most people do not. >> >> Any command which replies on word-at-point should default it IMO. > > Not sure what you mean. > >> I have now got icicles ( cant say I like it at first attempt - >> there's a lot there :)) and set the flag as above and its much >> better. Although if something is pre-selected then typing should >> erase it, not append to it. That would be a nice fix. > > Use `delete-selection-mode' to type over selected text (region). > > To automatically have the initial value be preselected in the minibuffer, > use `preselect-start' or `preselect-end' as the value of > `icicle-init-value-flag', depending on where you want the cursor to be. > > I use `insert' as the value, because I don't want the initial input > preselected. I generally edit it only slightly - I don't want to replace it > entirely. FYI, I have (setq icicle-init-value-flag (quote preselect-end)) and have noticed an annoying "bug" (I guess bug but I suspect you will tell me how to modify it so it does what I want :-)) This is conjunction with delete-selection-mode. If you bring up file-open, C-x C-f, then the first option (home dir in this example) is there and preselected with the cursor at the end. If I hit "end" or right cursor then it should unselect the text and append. As it is, its behaviour seems inconcistent. Right cursor says "end of buffer", "end" does nothing. In both cases the text stays selected which means any typing removes the base path. e.g bring up file open, "~/" is the hilited default. There is no easy way to append to this in "preselect" mode. If I cursor left, the select is dropped but when I cursor right again the "~"is reselected for some reason. I prefer not to use "insert" mode as I am too used to "preselect" modes in other apps I use so any advice on the above would be appreciated. > >> Do you know if I can stop f5 being bound by icicles by normal >> customization? > > (define-key icicle-mode-map [f5] 'whatever-you-want) > > Put that on `icicle-mode-hook' if you want. > > Or, if you also do not want other top-level commands rebound by Icicles, > customize option `icicle-bind-top-level-commands-flag' to nil. > > HTH > > > > --