help-gnu-emacs
[Top][All Lists]
Advanced

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

how to trap RET key press event ?


From: saifi
Subject: how to trap RET key press event ?
Date: Mon, 29 Mar 2004 22:01:29 +0530 (IST)

­­Hi:­­

I am trying to write emacs LISP code 
to achieve the following:

I type a HTML/XML open tag on a line.
Now when I press RET (or Enter)key,
I want to trap the event of key press
and extract the tag.

<HTML>RET <---press the enter key

Overall the idea is to accomplish the
end tag (on a line by itself) 
for a matching start tag,
e.g. </HTML> in this case.

I will appreciate inputs on event handling
techniques in emacs LISP.

Thanks for your time.

Thanks
Saifi Khan.










reply via email to

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