GUI Editor?

Michael Gertz yellowdog-general@lists.terrasoftsolutions.com
Wed Nov 6 11:52:01 2002


On Wed, Nov 06, 2002 at 01:22:35PM -0500, Riley Berton wrote:
> What you would need is some sort of event sniffer that can pick off
> and keep a buffer of the last 10 keys pressed by the user to see if
> they match any predefined macros.  This would be non-intrusive to
> the flow of writing code (or writing anything in general).
> 
> Not sure if something like that is possible in emacs, but if anyone
> knows of a current lisp module that does that or acts like a key
> sniffer then let me know and I will develop it.

FWIW,

abbrev-mode, which is standard emacs, does 90% of what you want, but
I don't know how to make it place the point.

keyboard macros do 100% of what you want, but I don't know how to call
them using an abbreviation.

--Mike