Subject: Re: 23.1; strokes.el problems
From: Chong Yidong <[email-masked]>
To: "Drew Adams" <[email-masked]>
Cc: [email-masked]
Date: Sun, 15 Nov 2009 11:00:52 -0500

> emacs -Q
> Visit a directory with Dired.
> M-x load-library RET strokes RET
> M-x strokes-global-set-stroke RET
> That raises the error "Buffer is read-only". Bug #1.
> C-x b RET, to move to *scratch*.
> M-x strokes-global-set-stroke RET
> That raises the error "Wrong type argument: window-configuration-p, nil. Bug #2.
> Start over: emacs -Q, then, in buffer *scratch*:
> M-x strokes-global-set-stroke RET
> Trace a line with mouse-1 pressed, then click mouse-3. Enter a command
> name, such as `copy-region-as-kill'.
> The text that was in the *scratch* buffer is now gone, and replaced by
> the single character `@'. (And there is no undo in this buffer.) Bug #3.
> But at least the stroke got defined. So now we can use it, via
> `S-mouse-2).
> But the doc and commentary say that when you use a stroke (by dragging
> S-mouse-2), you will see the stroke traced, provided that
> `strokes-use-strokes-buffer' is non-nil. This is not true.

All these bugs were due to a single oversight in
strokes-update-window-configuration.  I've just checked in a fix.
Thanks for the bug report.