[Top][All Lists]

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

Re: Detection of User Interaction Cycles and the Automation of these

From: weber
Subject: Re: Detection of User Interaction Cycles and the Automation of these
Date: 8 May 2007 07:15:06 -0700
User-agent: G2/1.0

On 7 maio, 09:00, Nordlöw <address@hidden> 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.


reply via email to

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