[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)

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]