* Re: Detection of User Interaction Cycles and the Automation of these
[not found] <1178539252.403350.326620@h2g2000hsg.googlegroups.com>
@ 2007-05-08 14:15 ` weber
0 siblings, 0 replies; only message in thread
From: weber @ 2007-05-08 14:15 UTC (permalink / raw)
To: help-gnu-emacs
On 7 maio, 09:00, Nordlöw <per.nord...@gmail.com> wrote:
> Hey again, Hackers!
>
> I might have come up with a clever way to make Emacs propose potential
> automations of the keyboard and/or mouse interaction, similar to
> macros, in a non-obtrusive way, perhaps through minibuffer hintings,
>
> I suppose that Emacs somewhere has a history of key-presses. Then we
> could search that history starting at the recent event going backwards
> through time looking for cycles. An integer keyboard-cycle-threshold
> gives the limit above which Emacs will give hints to the user that an
> automation is possible. And also propose this automation in terms of a
> list of either keyboard shortcuts or the functions these shortcuts
> were mapped to or, perhaps even descriptive, both.
>
> This would make it easier for people to discover and appreciate the
> macro possibilities of Emacs in contexts where they actually need it.
>
> Any reflections?
>
> /Nordlöw
It's a very interesting idea. I'm afraid it could be a little slow to
check for cycles of arbitrary size after any keypress... maybe one
could check only when there are kills or line movements... I suggest
you try to implement it, it mustn't be to hard.
-weber
^ permalink raw reply [flat|nested] only message in thread