[Top][All Lists]
[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: |
Tue, 27 Aug 2002 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