From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.bugs Subject: Re: decriminalize C-k in read-only buffers! Date: 17 Apr 2003 04:59:13 +0200 Organization: T-Online Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1050548628 12141 80.91.224.249 (17 Apr 2003 03:03:48 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 17 Apr 2003 03:03:48 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 17 05:03:42 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 195zgc-00039Q-00 for ; Thu, 17 Apr 2003 05:03:42 +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 195zhI-0007qx-06 for gnu-bug-gnu-emacs@m.gmane.org; Wed, 16 Apr 2003 23:04:24 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 195zh3-0007pn-00 for bug-gnu-emacs@gnu.org; Wed, 16 Apr 2003 23:04:09 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 195zh2-0007p8-00 for bug-gnu-emacs@gnu.org; Wed, 16 Apr 2003 23:04:08 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 195zh1-0007os-00 for bug-gnu-emacs@gnu.org; Wed, 16 Apr 2003 23:04:08 -0400 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.10) id 195zh1-0005WE-00 for gnu-emacs-bug@prep.ai.mit.edu; Wed, 16 Apr 2003 23:04:07 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 195zgs-0007Wu-00 for gnu-emacs-bug@prep.ai.mit.edu; Wed, 16 Apr 2003 23:03:58 -0400 Original-Received: from mailout09.sul.t-online.com ([194.25.134.84]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 195zgr-0007Ut-00 for gnu-emacs-bug@prep.ai.mit.edu; Wed, 16 Apr 2003 23:03:58 -0400 Original-Received: from imh00.t-online.com by mailout09.sul.t-online.com with esmtp id 195zgk-0003Bk-00; Thu, 17 Apr 2003 05:03:50 +0200 Original-Received: from news.t-online.com by imh00.t-online.com with esmtp id 195zgk-0004pL-00; Thu, 17 Apr 2003 05:03:50 +0200 Original-Received: from news by news.t-online.com with local id 195zgj-0001QW-00; Thu, 17 Apr 2003 05:03:49 +0200 Original-To: gnu-emacs-bug@prep.ai.mit.edu Original-Path: news.t-online.com!not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 29 Original-X-Trace: news.t-online.com 1050548629 02 5253 JM6NEVBSTrAq4E 030417 03:03:49 Original-X-Complaints-To: abuse@t-online.com X-ID: T+KTJsZegeujwJdUzaZZpnjWo8UVsYbfsITV28s7it9aD2PgVD3DUd X-Face: 2FEFf>]>q>2iw=B6,xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN;i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 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:4826 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4826 Dan Jacobson writes: > "C-k runs the command kill-line ... If the buffer is read-only, Emacs > will beep and refrain from deleting the line, but put the line in the > kill ring anyway. This means that you can use this command to copy > text from a read-only buffer." > > OK, but what if we're bored with S/M and want to turn the little > tingle off? (You see, mother has wired the bell to electrodes on my > head to teach me proper computing and not wake her up.) [...] > Maybe we should just push for a variable to decriminalize [no > flashing] C-k when the buffer is readonly. With maybe a message, in > the minibuffer, if the user prefers. kill-read-only-ok's value is nil *Non-nil means don't signal an error for killing read-only text. You can customize this variable. Defined in `simple'. [back] -- David Kastrup, Kriemhildstr. 15, 44793 Bochum