[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: bind commands that change buffer contents to `undefined'whenread-onl
From: |
Drew Adams |
Subject: |
RE: bind commands that change buffer contents to `undefined'whenread-only? |
Date: |
Sat, 22 Sep 2007 18:20:59 -0700 |
Scrap the implementation I sent. Sorry about that. The general idea is OK,
but it must not override any existing local binding of the key.
It's not enough to check that the command is not bound in the local map; the
key also must not be bound in the local map. So, for instance, even though
`self-insert-command' is not bound in `dired-mode-map', that's not enough to
determine that we should substitute `undefined' for the bindings of all keys
that are globally bound to `self-insert-command'. `R', for instance is bound
in `dired-mode-map', so it must not be rebound to `undefined'.
- RE: S-SPC for non-editing modes, (continued)
- Re: TAB for non-editing modes, Richard Stallman, 2007/09/22
- Re: TAB for non-editing modes, Dan Nicolaescu, 2007/09/22
- Re: TAB for non-editing modes, Dan Nicolaescu, 2007/09/22
- bind commands that change buffer contents to `undefined' when read-only?, Drew Adams, 2007/09/22
- RE: bind commands that change buffer contents to `undefined' whenread-only?, Drew Adams, 2007/09/22
- RE: bind commands that change buffer contents to `undefined'whenread-only?,
Drew Adams <=
- Re: bind commands that change buffer contents to `undefined'whenread-only?, Stefan Monnier, 2007/09/22
- RE: bind commands that change buffer contents to `undefined' when read-only?, Drew Adams, 2007/09/22
- Re: bind commands that change buffer contents to `undefined' when read-only?, Stefan Monnier, 2007/09/23
- RE: bind commands that change buffer contents to `undefined' when read-only?, Drew Adams, 2007/09/23
- Re: bind commands that change buffer contents to `undefined' when read-only?, Stefan Monnier, 2007/09/23
- RE: bind commands that change buffer contents to `undefined' when read-only?, Drew Adams, 2007/09/23
- RE: bind commands that change buffer contents to `undefined' when read-only?, Davis Herring, 2007/09/24
- RE: bind commands that change buffer contents to `undefined' when read-only?, Drew Adams, 2007/09/24
- RE: bind commands that change buffer contents to `undefined' when read-only?, Davis Herring, 2007/09/24
- RE: bind commands that change buffer contents to `undefined' when read-only?, Drew Adams, 2007/09/24