all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.