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

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

Implementation of (self-insert-command ) ??


From: Joakim Hove
Subject: Implementation of (self-insert-command ) ??
Date: Mon, 15 Sep 2003 10:08:44 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.2 (gnu/linux)

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  / address@hidden  /  (55 5) 84076       |                 \
 | Unifob AS, Avdeling for Beregningsvitenskap (BCCS) | Stabburveien 18 |
 | CMU                                                | 5231 Paradis    |
 \ Thormøhlensgt.55, 5020 Bergen.                     | 55 91 28 18     /
  \--------------------------------------------------------------------/


reply via email to

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