[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: find-file and backward-kill-word
From: |
Luc Teirlinck |
Subject: |
Re: find-file and backward-kill-word |
Date: |
Tue, 12 Oct 2004 20:55:29 -0500 (CDT) |
Reinhard Kotucha wrote:
This is still possible with this configuration. Except with the
minibuffer prompt. But I assume that this is ok for you.
I think that most users expect that the cursor runs against a wall
rather than move into the read-only portion of the minibuffer.
The question is not whether most users would expect that, but whether
most users would find that more useful.
With the proposed new default value of minibuffer-prompt-properties, namely
(read-only t point-entered minibuffer-avoid-prompt face minibuffer-prompt),
it at first view seems difficult (impossible?) to kill and yank any
part of the prompt in any way. (I might be missing something.)
Killing and yanking the prompt is sometimes useful, say, when filing a
bug report or discussing Emacs' behavior over email.
On the other hand, I do not often accidentally enter the minibuffer
prompt and even if I do, it is no big deal, a variety of conveniently
bound commands get me out of there in a hurry.
Note that Custom makes it very convenient to get the behavior you
want. When you customize minibuffer-prompt-properties through Custom
and click on "Show Value", you get:
Minibuffer Prompt Properties: Hide Value
[X] Read-Only
Prevent prompt from being modified
[ ] Inviolable
Prevent point from ever entering prompt
Other Properties:
INS DEL Property: face
Value: minibuffer-prompt
INS
State: this option has been changed outside the customize buffer.
Just check `inviolable' and save.
Sincerely,
Luc.
- find-file and backward-kill-word, Reinhard Kotucha, 2004/10/11
- Re: find-file and backward-kill-word, Luc Teirlinck, 2004/10/11
- Re: find-file and backward-kill-word, Alan Shutko, 2004/10/12
- Re: find-file and backward-kill-word, Reinhard Kotucha, 2004/10/12
- Re: find-file and backward-kill-word,
Luc Teirlinck <=
- Re: find-file and backward-kill-word, Alan Shutko, 2004/10/13
- Re: find-file and backward-kill-word, Richard Stallman, 2004/10/14
- Re: find-file and backward-kill-word, Stefan Daschek, 2004/10/16