all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Hadron <hadronquark@googlemail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: mthesaur v synonyms
Date: Fri, 10 Aug 2007 16:26:54 +0200	[thread overview]
Message-ID: <bsr6mb1n4h.fsf@news.ubuntu.home> (raw)
In-Reply-To: mailman.4587.1186682548.32220.help-gnu-emacs@gnu.org

"Drew Adams" <drew.adams@oracle.com> 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
>
>
>
>

-- 

  parent reply	other threads:[~2007-08-10 14:26 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.4587.1186682548.32220.help-gnu-emacs@gnu.org>
2007-08-10 11:45 ` mthesaur v synonyms Hadron
2007-08-10 12:02   ` Hadron
2007-08-10 14:41     ` Drew Adams
2007-08-10 14:49   ` Drew Adams
2007-08-10 14:26 ` Hadron [this message]
2007-08-10 15:34   ` Drew Adams
     [not found] <mailman.4628.1186771826.32220.help-gnu-emacs@gnu.org>
2007-08-11 11:34 ` Hadron
2007-08-11 14:16   ` Drew Adams
2007-08-11 14:24     ` Hadron
2007-08-11 14:34       ` Drew Adams
2007-08-11 14:28     ` Drew Adams
     [not found] <mailman.4626.1186765860.32220.help-gnu-emacs@gnu.org>
2007-08-10 17:33 ` Hadron
2007-08-10 18:50   ` Drew Adams
     [not found] <mailman.4617.1186757453.32220.help-gnu-emacs@gnu.org>
2007-08-10 15:51 ` Hadron
2007-08-10 16:36   ` Hadron
2007-08-10 17:10   ` Drew Adams
     [not found] <mailman.4579.1186674061.32220.help-gnu-emacs@gnu.org>
2007-08-09 16:48 ` Hadron
2007-08-09 18:02   ` Drew Adams
2007-08-09 12:26 Hadron
2007-08-09 15:38 ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bsr6mb1n4h.fsf@news.ubuntu.home \
    --to=hadronquark@googlemail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.