From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Alan Shutko Newsgroups: gmane.emacs.devel Subject: Re: find-file and backward-kill-word Date: Tue, 12 Oct 2004 09:16:08 -0500 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <878yachviv.fsf@wesley.springies.com> References: <16746.62602.225874.363145@zarniwoop.ms25.local> <200410120059.i9C0x3O16263@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1097591119 3757 80.91.229.6 (12 Oct 2004 14:25:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 12 Oct 2004 14:25:19 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 12 16:25:06 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 1CHNaL-0006KS-00 for ; Tue, 12 Oct 2004 16:25:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CHNhL-0006Bo-1c for ged-emacs-devel@m.gmane.org; Tue, 12 Oct 2004 10:32:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CHNgN-0005Tr-SG for emacs-devel@gnu.org; Tue, 12 Oct 2004 10:31:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CHNgK-0005Sq-El for emacs-devel@gnu.org; Tue, 12 Oct 2004 10:31:16 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CHNgK-0005Se-3A for emacs-devel@gnu.org; Tue, 12 Oct 2004 10:31:16 -0400 Original-Received: from [216.162.125.102] (helo=simon.springies.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CHNYr-0002rf-91 for emacs-devel@gnu.org; Tue, 12 Oct 2004 10:23:33 -0400 Original-Received: from wesley.springies.com (wesley.springies.com [192.168.1.2]) by simon.springies.com (Postfix) with ESMTP id 818343EE0 for ; Tue, 12 Oct 2004 09:23:31 -0500 (CDT) Original-Received: by wesley.springies.com (Postfix, from userid 1000) id 32FA3BC81; Tue, 12 Oct 2004 09:23:30 -0500 (CDT) Original-To: emacs-devel@gnu.org In-Reply-To: (David Kastrup's message of "Tue, 12 Oct 2004 10:31:41 +0200") User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) 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:28295 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:28295 David Kastrup writes: > Perhaps we should not move the cursor when "killing" readonly > material? Is the problem here really "killing" readonly material? IMO, the problem is killing into the prompt, which is a fairly recent Emacs behavior. I have minibuffer-prompt-properties's value is (read-only t point-entered minibuffer-avoid-prompt) Text properties that are added to minibuffer prompts. These are in addition to the basic `field' property, and stickiness properties. You can customize this variable. Defined in `C source code'. This fixes the problem completely for me, with no ill effects save that I can't copy the prompt. Since I've never wanted to do that, I'm not unhappy. Perhaps minibuffer-avoid-prompt should be made the default. (I think the reason that "killing" moves the prompt is that it allows you to kill a larger segment of text, if you want to. It beeps a lot, but I have found it useful occasionally outside the minibuffer.) -- Alan Shutko - I am the rocks. Just when you thought it was safe to go outside...