Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: N.Goldman@gen.cam.ac.uk (Nick Goldman)
Subject: Re: emacs/DEC Alpha 250 4/266//function keys
Date: 1995/10/12	[thread overview]
Message-ID: <N.Goldman-1210951527250001@ng-mac1.gen.cam.ac.uk> (raw)

I have been provided with the answer to my question by Kai Grossjohann
(grossjoh@charly.informatik.uni-dortmund.de).  For each key to be
redefined, put the line

     (global-set-key "" 'command)

into your .emacs file, where 'command' is the emacs function you want
assigned to the function key (e.g. yank, kill-rectangle, etc.).  Then put
the cursor on the second " character, type C-q, then press the key to be
given that function (e.g. F1).  This inserts some odd codes into the
quotation marks.

In my case, the function keys themselves were generating 'ESC [' which was
assigned to some other function (backward-paragraph), so I also had to add
the line 

     (global-unset-key "\e[")

to the .emacs file to stop this happening.

Many thanks to Kai G.

Nick Goldman



             reply	other threads:[~1995-10-12  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-10-12  4:00 Nick Goldman [this message]
1995-10-13  4:00 ` emacs/DEC Alpha 250 4/266//function keys Jari Aalto
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox