[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
Re: Suggestion: Simple way to make conditional key bindings.
From:
Richard Stallman
Subject:
Re: Suggestion: Simple way to make conditional key bindings.
Date:
2002年8月27日 13:05:43 -0600 (MDT)
> I don't think that's right. I don't believe that table wants to override
> C-y sometimes: instead it wants to override `yank' sometimes.
> So what you want to do is to create `yank-careful' and then use
> either the `remap' thingy or substitute-key-definition or something
> like that.
I wonder if it is possible for the text property keymap
to remap yank to my-yank, and have this affect bindings
of yank that come from the global map or buffer local map.
Does this work?
Much better is some system like fill-paragraph uses where the generic
binding
looks for `fill-parapgraph-function' to do the work, which modes can
override.
It is very useful to set up these hooks in specific places
where we see we need them. However, we can't expect to provide
these hooks for all the situations where someone wants to override
a certain command for certain text.
- Suggestion: Simple way to make conditional key bindings. , Kim F. Storm, 2002年08月23日
- Re: Suggestion: Simple way to make conditional key bindings. , David PONCE, 2002年08月23日
- Re: Suggestion: Simple way to make conditional key bindings. , Kim F. Storm, 2002年08月23日
- Re: Suggestion: Simple way to make conditional key bindings. , Stefan Monnier, 2002年08月23日
- Re: Suggestion: Simple way to make conditional key bindings. , Kim F. Storm, 2002年08月25日
- Re: Suggestion: Simple way to make conditional key bindings. , Stefan Monnier, 2002年08月26日
- Re: Suggestion: Simple way to make conditional key bindings. , Miles Bader, 2002年08月26日
- Re: Suggestion: Simple way to make conditional key bindings.,
Richard Stallman <=
- Re: Suggestion: Simple way to make conditional key bindings. , Kim F. Storm, 2002年08月27日
- Re: Suggestion: Simple way to make conditional key bindings. , Richard Stallman, 2002年08月28日
- Re: Suggestion: Simple way to make conditional key bindings. , Kim F. Storm, 2002年08月29日
- Re: Suggestion: Simple way to make conditional key bindings. , Miles Bader, 2002年08月27日
- Re: Suggestion: Simple way to make conditional key bindings. , Stefan Monnier, 2002年08月27日
- Re: Suggestion: Simple way to make conditional key bindings. , Kim F. Storm, 2002年08月27日