🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #87423

Re: set key for function key

#87423
From: Paul Smith
Date: Fri, 23 Sep 1994 17:26
37 lines
2297 bytes
%% Regarding set key for function key;
%% alexe@eecs.umich.edu (Alexandre Eichenberger) writes:

    ae> I whish it would be possible to assign function keys with
    ae> the 

    ae> (global-set-key key lisp-function)

    ae> where key would be f1, f2, ... (any function keys)

Hmm, why doesn't [f1] work?  For example,

 (global-set-key [f1]   'next-error)
 (global-set-key [S-f1] 'compile)

works just fine for me...

    ae>  I think the problem is that there is no special characters for
    ae> a function key, similar to the \M- for meta or \C- for control
    ae> (as described in page 233 of the EMACS manual (feb 88))

Ah, *that's* your problem!!  Emacs manuals dated Feb 88 are for Emacs
18 (as it says right on the cover), which didn't have much if any X
support.

If you want a manual which documents the new features of Emacs 19,
you'll have to get a manual for Emacs 19.  One comes in every Emacs
distribution, in on-line form.  Check out the menu item: Help -> Info.

                                                                paul
 _____________________________________________________________________________
/                                                                             \
 Paul D. Smith                   | There's a fine line between fishing, and
 <psmith@wellfleet.com>          | standing on the shore like an idiot.
 Wellfleet Communications, Inc.  | 
 Network Management Development  |                            -- Steven Wright
\_____________________________________________________________________________/
Technical Details
Message-ID: <9409231715.AA12871@lemming.wellfleet>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!cis.ohio-state.edu!wellfleet.COM!psmith
References: <199409231604.MAA21830@dip.eecs.umich.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,13e76d81ae2384a
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1994-09-23 18:44:45 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!cis.ohio-state.edu!wellfleet.COM!psmith
From: psmith@wellfleet.COM (Paul Smith)
Newsgroups: gnu.emacs.bug
Subject: Re: set key for function key
Date: 23 Sep 1994 13:26:30 -0400
Organization: GNUs Not Usenet
Lines: 37
Sender: daemon@cis.ohio-state.edu
Approved: bug-gnu-emacs@prep.ai.mit.edu
Distribution: gnu
Message-ID: <9409231715.AA12871@lemming.wellfleet>
References: <199409231604.MAA21830@dip.eecs.umich.edu>
Reply-To: psmith@wellfleet.com