From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.bugs Subject: Re: user has no business toggling overwrite-mode in read-only buffers Date: Mon, 21 Apr 2003 14:42:51 -0600 Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <3EA457CB.2000301@yahoo.com> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1050957746 15128 80.91.224.249 (21 Apr 2003 20:42:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Apr 2003 20:42:26 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 21 22:42:25 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 197i7N-0003vh-00 for ; Mon, 21 Apr 2003 22:42:25 +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 197i8D-0000PM-01 for gnu-bug-gnu-emacs@m.gmane.org; Mon, 21 Apr 2003 16:43:17 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 197i7w-0000Ew-00 for bug-gnu-emacs@prep.ai.mit.edu; Mon, 21 Apr 2003 16:43:00 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 197i7v-0000Ai-00 for bug-gnu-emacs@prep.ai.mit.edu; Mon, 21 Apr 2003 16:43:00 -0400 Original-Received: from mailbox.ucsd.edu ([132.239.1.54] helo=mailbox2.ucsd.edu) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 197i7u-00008f-00 for bug-gnu-emacs@prep.ai.mit.edu; Mon, 21 Apr 2003 16:42:59 -0400 Original-Received: from mail.fu-berlin.de (mail.fu-berlin.de [160.45.11.165]) by mailbox2.ucsd.edu (8.12.9/8.12.3) with ESMTP id h3LKgq7C078704 for ; Mon, 21 Apr 2003 13:42:52 -0700 (PDT) Original-Received: by mail.fu-berlin.de (Smail3.2.0.98) from Curry.ZEDAT.FU-Berlin.DE (160.45.10.36) with esmtp id ; Mon, 21 Apr 2003 22:42:51 +0200 (MEST) Original-Received: by Curry.ZEDAT.FU-Berlin.DE (Smail3.2.0.98) from news.fu-berlin.de with bsmtp id ; Mon, 21 Apr 2003 22:42:51 +0200 (MEST) Original-To: gnu-emacs-bug@moderators.isc.org Original-Path: 170.207.51.80!not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 24 X-Orig-NNTP-Posting-Host: 170.207.51.80 X-Orig-X-Trace: fu-berlin.de 1050957771 5734799 170.207.51.80 (16 [82742]) User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 X-Accept-Language: en-us X-Spamscanner: mailbox2.ucsd.edu (v1.2 Mar 17 2003 15:04:36, 1.4/5.0 2.43) X-MailScanner: PASSED (v1.2.7 52754 h3LKgq7C078704 mailbox2.ucsd.edu) 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:4864 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4864 Dan Jacobson wrote: > 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 used to think that overstrike would have been a better name, but since Emacs doesn't allow 2 glyphs to be displayed at the same buffer position, overwrite is more accurate. > I was just saying the user should have to do vc-toggle-read-only > (^X^Q) before doing () overwrite-mode. Why? If the user types "y" or "DEL" in a read-only buffer, it is exactly the same error whether or not the buffer is in overwrite mode or not. -- Kevin Rodgers