all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: saifi@gamebox.net
Subject: how to trap RET key press event ?
Date: Mon, 29 Mar 2004 22:01:29 +0530 (IST)	[thread overview]
Message-ID: <Pine.LNX.4.44.0403292145490.6721-100000@localhost.localdomain> (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.

                 reply	other threads:[~2004-03-29 16:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.44.0403292145490.6721-100000@localhost.localdomain \
    --to=saifi@gamebox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.