From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: Re: user has no business toggling overwrite-mode in read-only buffers Date: Mon, 21 Apr 2003 09:32:45 +0800 Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87u1cs1vpe.fsf@jidanni.org> References: Reply-To: Dan Jacobson NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1050904268 27679 80.91.224.249 (21 Apr 2003 05:51:08 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Apr 2003 05:51:08 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 21 07:51:06 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 197UCo-0007CE-00 for ; Mon, 21 Apr 2003 07:51:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 197UDV-0001GO-01 for gnu-bug-gnu-emacs@m.gmane.org; Mon, 21 Apr 2003 01:51:49 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 197UDF-0000kz-00 for bug-gnu-emacs@gnu.org; Mon, 21 Apr 2003 01:51:33 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 197UD0-000098-00 for bug-gnu-emacs@gnu.org; Mon, 21 Apr 2003 01:51:21 -0400 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 197UCq-00083d-00 for bug-gnu-emacs@gnu.org; Mon, 21 Apr 2003 01:51:08 -0400 Original-Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 197UBy-000799-00 for ; Mon, 21 Apr 2003 07:50:14 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: bug-gnu-emacs@gnu.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 197U61-0006vF-00 for ; Mon, 21 Apr 2003 07:44:05 +0200 Original-Lines: 20 Original-X-Complaints-To: usenet@main.gmane.org User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:4853 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4853 A> 1. You have a source-file which is RO due to some version control system, A> but you want to make a private (changed) copy on your own hard disk. You A> C-x C-q it, make the changes, then store it where you want with C-x C-w. You do C-x C-q first. So it isn't a read-only buffer anymore. I.e., um, "like, read the Subject line, Holmes." Sorry about that. A> 2. Something (something like dired, perhaps?), makes a listing of files A> in a buffer, but leaves the buffer RO because "the user has no reason to A> edit it". You got me all wrong. overwrite-mode is that little thing activated by your pinky when it misses the DEL key and hits the INS key. It is good for changing xxxxxxxxxxxx to xxxxxyyyxxxx without hitting DEL... maybe it should have been called overprint or overstrike mode. I was just saying the user should have to do vc-toggle-read-only (^X^Q) before doing () overwrite-mode. -- http://jidanni.org/ Taiwan(04)25854780