From: Luc Teirlinck <teirllm@dms.auburn.edu>
Cc: emacs-devel@gnu.org
Subject: Re: find-file and backward-kill-word
Date: Mon, 11 Oct 2004 19:59:03 -0500 (CDT) [thread overview]
Message-ID: <200410120059.i9C0x3O16263@raven.dms.auburn.edu> (raw)
In-Reply-To: <16746.62602.225874.363145@zarniwoop.ms25.local> (message from Reinhard Kotucha on Mon, 11 Oct 2004 23:00:58 +0200)
Reinhard Kotucha wrote:
When I run find-file I get a prompt like this:
Find file: /tmp/reinhard/
I can edit everything on the right to the space after the colon. For
instance, beginning-of-line moves the cursor to the first slash.
So far so good. But if I then run the command backward-kill-word
(M-DEL), the cursor moves to the "f" of the word "file" and I get the
message
Text is read-only: #<buffer *Minibuf-1*>
That is not a bug. You are right after the prompt: `Find file: '.
`backward-kill-word' kills the preceding word, in this case `file: '.
Of course, `file: ' is read-only, so it can not be deleted. But it is
copied to the kill ring, which in certain situations could be useful.
The cursor moves to the `f' to allow a following `backward-kill-word'
to prepend `Find ' to the kill-ring entry, which would then be `Find file: '.
See `(emacs)Killing' for details.
Sincerely,
Luc.
next prev parent reply other threads:[~2004-10-12 0:59 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-11 21:00 find-file and backward-kill-word Reinhard Kotucha
2004-10-12 0:59 ` Luc Teirlinck [this message]
2004-10-12 8:31 ` David Kastrup
2004-10-12 13:06 ` Luc Teirlinck
2004-10-12 13:22 ` David Kastrup
2004-10-13 2:15 ` Richard Stallman
2004-10-12 14:16 ` Alan Shutko
2004-10-12 21:58 ` Reinhard Kotucha
2004-10-13 1:55 ` Luc Teirlinck
2004-10-13 20:45 ` Alan Shutko
2004-10-15 0:26 ` Richard Stallman
2004-10-16 1:00 ` Stefan Daschek
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=200410120059.i9C0x3O16263@raven.dms.auburn.edu \
--to=teirllm@dms.auburn.edu \
--cc=emacs-devel@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.