emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] ; Do not overwrite prexisting contents of unread-command-eve


From: David Kastrup
Subject: Re: [PATCH] ; Do not overwrite prexisting contents of unread-command-events
Date: Sat, 25 Jul 2015 19:07:42 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Unfortunately, recording macros with C-x ( ... C-x ) and replaying with
C-x e is still bleeding probably something like 15% of my events
synthesized from Midi when pressing chord buttons on an accordion
(3 immediately adjacent Midi events taking something like 2 bytes each
at 31250 bits/s, read in via an Emacs process filter function).

So the output of C-x e is somewhat shorter than the equivalent when
recording.

I suspect that code of the form

(let (unread-command-events)
   ...
 )

in the macro recording is at fault by letting material arrive in a
let-bound unread-command-events and not taking all of it out before
unbinding.

But at least most of the other opportunities for dropping
events/characters are addressed by this patch.

-- 
David Kastrup



reply via email to

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