[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: local keymap patch for key-binding
From: |
David Kastrup |
Subject: |
Re: local keymap patch for key-binding |
Date: |
Mon, 11 Sep 2006 12:11:04 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
David Kastrup <address@hidden> writes:
> address@hidden (Kim F. Storm) writes:
>
>> David Kastrup <address@hidden> writes:
>>
>>> Well, it does not seem just as easy as that. I now can't start
>>> RefTeX anymore without getting the error:
>>>
>>> Debugger entered--Lisp error: (wrong-type-argument sequencep mouse-2)
>>> key-binding([(shift mouse-2)])
>>
>> Should be fixed now.
>
> Hm, looks like it works now. I have removed string-key-binding from
> help.el (it is no longer necessary) and the results appear fine to me.
>
> Since we want to get good testing for the key-binding stuff, I'll
> check this change to help.el in.
Ok, here I triggered a problem: I used C-h k (with the new help.el)
followed by a mouse-2 click on an overlay's 'before-string which has
its own 'keymap and 'display properties (the string, not the overlay).
I get
Debugger entered--Lisp error: (args-out-of-range 806 806)
key-binding([(mouse-2 (#<window 41 on ang.tex> 806 ... -61397984 ... 806 ...
... ... ...))] t)
describe-key([(mouse-2 (#<window 41 on ang.tex> 806 ... -61397984 ... 806 ...
... ... ...))] 1 nil)
call-interactively(describe-key)
It would appear that 806 is the buffer position, and I would guess
that this is erroneously used as in index into the before-string
property of the overlay.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
- local keymap patch for key-binding, Chong Yidong, 2006/09/09
- Re: local keymap patch for key-binding, David Kastrup, 2006/09/09
- Re: local keymap patch for key-binding, Chong Yidong, 2006/09/09
- Re: local keymap patch for key-binding, Chong Yidong, 2006/09/10
- Re: local keymap patch for key-binding, David Kastrup, 2006/09/10
- Re: local keymap patch for key-binding, Chong Yidong, 2006/09/10
- Re: local keymap patch for key-binding, David Kastrup, 2006/09/11
- Re: local keymap patch for key-binding, David Kastrup, 2006/09/11
- Re: local keymap patch for key-binding, Kim F. Storm, 2006/09/11
- Re: local keymap patch for key-binding, David Kastrup, 2006/09/11
- Re: local keymap patch for key-binding,
David Kastrup <=
- Re: local keymap patch for key-binding, Kim F. Storm, 2006/09/11
- Re: local keymap patch for key-binding, David Kastrup, 2006/09/11
- Re: local keymap patch for key-binding, Chong Yidong, 2006/09/11
- Re: local keymap patch for key-binding, Richard Stallman, 2006/09/11
- Re: local keymap patch for key-binding, David Kastrup, 2006/09/12
- Re: local keymap patch for key-binding, David Kastrup, 2006/09/12
- PCL-CVS's diff and marks (was: local keymap patch for key-binding), Stefan Monnier, 2006/09/12
- Re: PCL-CVS's diff and marks, David Kastrup, 2006/09/12
- Re: PCL-CVS's diff and marks, Stefan Monnier, 2006/09/12
- Re: local keymap patch for key-binding, Richard Stallman, 2006/09/12