[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[XWEM]: Bug in strokes
From: |
Steve Youngs |
Subject: |
[XWEM]: Bug in strokes |
Date: |
Sun, 28 Nov 2004 20:43:18 +1000 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) XEmacs/21.4 (Security Through Obscurity, linux) |
There's a bug in xwem-strokes that I think must be related to timing
or something.
Doing M-button1 (xwem-strokes-begin) or H-button1
(xwem-strokes-cmplx-begin) gives a "numberp nil" error. However,
stepping through the appropriate functions with a debugger allows it
to work (ie no error).
That's why I say that there must be some sort of timing issue
involved, or maybe it's a buffering issue.
Here's a backtrace (from doing M-button1)...
# bind (standard-output stack-trace-on-signal debug-on-signal
stack-trace-on-error debug-on-error)
signal(wrong-type-argument (numberp nil))
# bind (args datum)
cerror(wrong-type-argument numberp nil)
apply(cerror wrong-type-argument (numberp nil))
# bind (args datum)
error(wrong-type-argument numberp nil)
apply(error wrong-type-argument (numberp nil))
byte-code("..." [xwem-this-command-keys xwem-unwind-error
xwem-kbd-global-map-current-p [] xwem-deffered-push #<compiled-function nil
"...(10)" [xwem-kbd-global-map-current-p xwem-kbd-stop-command-keys-echoing
xwem-kbd-stop-grabbing] 1> apply error] 4)
# bind (xwem-unwind-error lkm)
xwem-kbd-dispatch-binding(xwem-strokes-begin)
# bind (bind ecl xev eev)
xwem-dispatch-command-event(#<buttondown-event meta-button1>
[cl-struct-X-Event [cl-struct-X-Dpy #<network connection "X-127.0.0.1:0" ...
state:run> nil (tray-atoms ... xwem-ignore-bad-win nil default-depth 24) 0 nil
("