From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: find-file and backward-kill-word Date: Mon, 11 Oct 2004 19:59:03 -0500 (CDT) Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <200410120059.i9C0x3O16263@raven.dms.auburn.edu> References: <16746.62602.225874.363145@zarniwoop.ms25.local> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1097542857 21669 80.91.229.6 (12 Oct 2004 01:00:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 12 Oct 2004 01:00:57 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 12 03:00:45 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CHB1w-00011G-00 for ; Tue, 12 Oct 2004 03:00:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CHB8s-0005W9-Ft for ged-emacs-devel@m.gmane.org; Mon, 11 Oct 2004 21:07:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CHB8j-0005W4-Po for emacs-devel@gnu.org; Mon, 11 Oct 2004 21:07:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CHB8j-0005Vs-BM for emacs-devel@gnu.org; Mon, 11 Oct 2004 21:07:45 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CHB8j-0005Vp-9P for emacs-devel@gnu.org; Mon, 11 Oct 2004 21:07:45 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CHB1N-0008HA-VN for emacs-devel@gnu.org; Mon, 11 Oct 2004 21:00:10 -0400 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id i9C109iU019814; Mon, 11 Oct 2004 20:00:09 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id i9C0x3O16263; Mon, 11 Oct 2004 19:59:03 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: reinhard.kotucha@web.de In-reply-to: <16746.62602.225874.363145@zarniwoop.ms25.local> (message from Reinhard Kotucha on Mon, 11 Oct 2004 23:00:58 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:28269 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:28269 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: # 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.