From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 14bf77,8772d7012d2e0e8d X-Google-Attributes: gid14bf77,public X-Google-Thread: 103b8b,8772d7012d2e0e8d X-Google-Attributes: gid103b8b,public X-Google-Thread: 102b9a,8772d7012d2e0e8d X-Google-Attributes: gid102b9a,public X-Google-Thread: 1164f8,8772d7012d2e0e8d X-Google-Attributes: gid1164f8,public From: jaalto@aapo.tre.tele.nokia.fi (Jari Aalto) Subject: Re: emacs/DEC Alpha 250 4/266//function keys Date: 1995/10/13 Message-ID: #1/1 X-Deja-AN: 117502035 env-info: HP-UX A.09.05 9000/712, X, FSF 19.28.1, perl 5.001 references: cc: N.Goldman@gen.cam.ac.uk user's-active-groups: gnu.emacs.help,gnu.emacs.sources,comp.emacs organization: NTC/Nokia Telecommunications, Finland x-mailer-info: [posted and automatically CC'd] reply-to: newsgroups: comp.sys.dec,ucam.cl.emacs-users,comp.emacs,gnu.emacs.help x-mailer: [emacs RMAIL and tinyreply.el v1.96] |Thu 12.10.95, N.Goldman@gen.cam.ac.uk (Nick Goldman), comp.emacs | 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. What emacs ver. you're running? I can't produce C-q F1, it gives me lot of *Backtrace* and errors. More reliable way is to look at C-h l for a key you pressed, in f1 case there is "f1" in lossage buffer, so that's the code you put into the vector: (global-set-key [f1] 'ignore) Cheers! -- Jari Aalto jari.aalto@ntc.nokia.com, Finland IRC | -- Andre' Marrou virus -- tiberia | Erases unnecessary programs, disconnects your network and makes | yours a stand-alone machine, improves productivity by eliminating | limits on resource allocation.