[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: decriminalize C-k in read-only buffers!
From: |
David Kastrup |
Subject: |
Re: decriminalize C-k in read-only buffers! |
Date: |
17 Apr 2003 04:59:13 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
Dan Jacobson <jidanni@dman.ddts.net> 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
- Re: decriminalize C-k in read-only buffers!,
David Kastrup <=