* Input-method documentation - where?
@ 2002-12-11 6:44 David Lee Lambert
2002-12-11 14:58 ` Kevin Rodgers
0 siblings, 1 reply; 2+ messages in thread
From: David Lee Lambert @ 2002-12-11 6:44 UTC (permalink / raw)
I have a problem that may be best handled by a different input-method: I
want to set up Emacs so that I just have to touch the keys F9-F12 with
various Ctrl-, Shift- and Alt-combinations in order to enter the accented
characters (all in Latin-1) that I would use to type German and Spanish.
However, input-method writing is not documented in the Emacs Lisp manual.
Can anyone describe how to do it?
Alternately, could someone give hints on how to write a short LISP
function that binds to a key and inserts a fixed string at the point?
Working one-line code would be most useful.
--
DLL
http://www.cse.msu.edu/~lamber45/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Input-method documentation - where?
2002-12-11 6:44 Input-method documentation - where? David Lee Lambert
@ 2002-12-11 14:58 ` Kevin Rodgers
0 siblings, 0 replies; 2+ messages in thread
From: Kevin Rodgers @ 2002-12-11 14:58 UTC (permalink / raw)
David Lee Lambert wrote:
> Alternately, could someone give hints on how to write a short LISP
> function that binds to a key and inserts a fixed string at the point?
> Working one-line code would be most useful.
(defun insert-fixed-string ()
"Insert \"fixed string\" at point."
(interactive)
(insert "fixed string"))
(global-set-key [f9] 'insert-fixed-string)
--
<a href="mailto:<kevin.rodgers@ihs.com>">Kevin Rodgers</a>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-12-11 14:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-11 6:44 Input-method documentation - where? David Lee Lambert
2002-12-11 14:58 ` Kevin Rodgers
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).