unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* how to trap RET key press event ?
@ 2004-03-29 16:31 saifi
  0 siblings, 0 replies; only message in thread
From: saifi @ 2004-03-29 16:31 UTC (permalink / raw)


­­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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-03-29 16:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-29 16:31 how to trap RET key press event ? saifi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).