unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* minibuffer-avoid-prompt and ido
@ 2006-08-11  6:17 Klaus Zeitler
  2006-08-11 23:25 ` Kim F. Storm
  0 siblings, 1 reply; 2+ messages in thread
From: Klaus Zeitler @ 2006-08-11  6:17 UTC (permalink / raw)


I've added minibuffer-avoid-prompt to minibuffer-prompt-properties with:
(setq minibuffer-prompt-properties
      (append minibuffer-prompt-properties
              (list 'point-entered 'minibuffer-avoid-prompt)))

It looks as if the normal file commands (like find-file, write-file) treat the
prompt differently as ido commands do. For example comparing write-file with
ido-write-file, in both cases the mini-buffer starts with:
"Write file: <default-directory>_"
The 'normal' write-file prompt allows to move the mouse pointer (e.g. for cut
and paste) into the default directory, but ido-write-file doesn't. Is there a
specific reason why ido doesn't allow access to the default directory?

-- 
 ------------------------------------------
|  Klaus Zeitler      Lucent Technologies  |
|  Email:             kzeitler@lucent.com  |
 ------------------------------------------
---
It is very difficult to prophesy, especially when it pertains to the future.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: minibuffer-avoid-prompt and ido
  2006-08-11  6:17 minibuffer-avoid-prompt and ido Klaus Zeitler
@ 2006-08-11 23:25 ` Kim F. Storm
  0 siblings, 0 replies; 2+ messages in thread
From: Kim F. Storm @ 2006-08-11 23:25 UTC (permalink / raw)
  Cc: emacs-devel

Klaus Zeitler <kzeitler@lucent.com> writes:

> I've added minibuffer-avoid-prompt to minibuffer-prompt-properties with:
> (setq minibuffer-prompt-properties
>       (append minibuffer-prompt-properties
>               (list 'point-entered 'minibuffer-avoid-prompt)))
>
> It looks as if the normal file commands (like find-file, write-file) treat the
> prompt differently as ido commands do. For example comparing write-file with
> ido-write-file, in both cases the mini-buffer starts with:
> "Write file: <default-directory>_"
> The 'normal' write-file prompt allows to move the mouse pointer (e.g. for cut
> and paste) into the default directory, but ido-write-file doesn't. Is there a
> specific reason why ido doesn't allow access to the default directory?

Because with ido there are no trivial commands you can use to move into the prompt.

If you need this, use C-x C-w C-e to enter ido edit mode, and then
copy /paste as you like, and continue with RET.

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-08-11 23:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-11  6:17 minibuffer-avoid-prompt and ido Klaus Zeitler
2006-08-11 23:25 ` Kim F. Storm

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).