unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Joakim Hove <hove@bccs.no>
Subject: Implementation of (self-insert-command ) ??
Date: Mon, 15 Sep 2003 10:08:44 +0200	[thread overview]
Message-ID: <4yad96a2yb.fsf@skjellgran.ii.uib.no> (raw)


Hello,

I am writing some simple functionality to insert the portabel variety
of Norwegian characters in LaTeX, so that:

Keyboard press     Inserted in buffer
-------------------------------------
æ                  {\ae}
ø                  {\o}
å                  {\aa}
...
-------------------------------------

I have implemented this with something like:

(define-key LaTeX-mode-map keycode 'latex-insert-encoded)

Where the function (latex-insert-encoded) does the actual
insertion. What I wondered was how to pass the keycode invoking
(latex-insert-encoded) to the function (latex-insert-encoded)?



Best Regards

Joakim Hove

-- 
  /--------------------------------------------------------------------\
 / Joakim Hove  / hove@bccs.no  /  (55 5) 84076       |                 \
 | Unifob AS, Avdeling for Beregningsvitenskap (BCCS) | Stabburveien 18 |
 | CMU                                                | 5231 Paradis    |
 \ Thormøhlensgt.55, 5020 Bergen.                     | 55 91 28 18     /
  \--------------------------------------------------------------------/

             reply	other threads:[~2003-09-15  8:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-15  8:08 Joakim Hove [this message]
2003-09-15  9:49 ` Implementation of (self-insert-command ) ?? Reiner Steib
2003-09-15 11:48   ` Implementation of (self-insert-command ) ?? [Solved] Joakim Hove
2003-09-15 15:32 ` Implementation of (self-insert-command ) ?? Stefan Monnier
2003-09-16 14:48   ` Piet van Oostrum
2003-09-16 14:58     ` Stefan Monnier
2003-09-17  0:57 ` Jim Janney

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=4yad96a2yb.fsf@skjellgran.ii.uib.no \
    --to=hove@bccs.no \
    /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.
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).