[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: TAB for non-editing modes
From: |
Richard Stallman |
Subject: |
Re: TAB for non-editing modes |
Date: |
Sun, 23 Sep 2007 11:05:13 -0400 |
If no truly useful Dired binding for `TAB' can be found now, then let's
leave it alone - something will come up eventually.
I think that is wise.
Similarly for other bindings that invoke commands that modify the buffer -
why not bind them to `undefined'? I do that in read-only buffers such as
*Buffer List*. Besides preventing the read-only error message, it prevents
users from thinking that a key sequence might be unavailable for their own
use.
suppress-keymap already does this with self-inserting commands. Your
idea is to do this with the other normal commands that alter the text.
Doing this with kill commands would take away a feature: you can use
them in read-only buffers to copy text to the kill ring. That feature
may not be very useful in read-only buffers, but I am not convinced it
is an improvement to make it entirely unavailable there.
Aside from that, I think it is more coherent for global
buffer-modifying commands to give errors "buffer read-only" in
read-only buffers, rather than acting as if they did not exist.
For TAB, which varies between modes anyway, making it undefined
might be good.
- RE: bind commands that change buffer contents to `undefined' when read-only?, (continued)
- Re: bind commands that change buffer contents to `undefined' when read-only?, Stefan Monnier, 2007/09/24
- Re: bind commands that change buffer contents to `undefined' when read-only?, Richard Stallman, 2007/09/25
- RE: bind commands that change buffer contents to `undefined' whenread-only?, Drew Adams, 2007/09/25
- Re: bind commands that change buffer contents to `undefined' when read-only?, Richard Stallman, 2007/09/24
- Re: bind commands that change buffer contents to `undefined' when read-only?, Stefan Monnier, 2007/09/25
- RE: TAB for non-editing modes, Drew Adams, 2007/09/22
- Re: TAB for non-editing modes, Bastien, 2007/09/23
- Re: TAB for non-editing modes, Juri Linkov, 2007/09/23
- Re: TAB for non-editing modes,
Richard Stallman <=
- RE: TAB for non-editing modes, Drew Adams, 2007/09/23
- Re: TAB for non-editing modes, Johan Bockgård, 2007/09/23
- RE: TAB for non-editing modes, Drew Adams, 2007/09/23
- Re: TAB for non-editing modes, Johan Bockgård, 2007/09/23
- Re: TAB for non-editing modes, Richard Stallman, 2007/09/23
- Re: TAB for non-editing modes, Dan Nicolaescu, 2007/09/23
- Re: TAB for non-editing modes, Richard Stallman, 2007/09/24