🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #188825

How to define keys to do functions with args

#188825
From: Fred H. Bremmer
Date: Fri, 14 Jun 1991 18:57
12 lines
1015 bytes
I'm able to define keys to do functions without arguments, such as:
(define-key SS3-map "u" 'move-to-window-line)
but I can't figure out how to define a key to do the same function
except with an argument such as "0" or "-1".

I'd appreciate any help with this.

--
 Fred Bremmer    |  Internet: fredb@calvin.edu
 Calvin College  |  UUCP:     ..!uunet!calvin.edu!fredb
 Grand Rapids,   | ---------------------------------------------------------
 MI USA   49546  |     Anata wa Nihongo o hanashimasu ka?
Technical Details
Message-ID: <fredb.676925862@uther>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!spool.mu.edu!caen!uther!fredb

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,3618648bd778a1e3,start
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1991-06-15 04:19:35 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!spool.mu.edu!caen!uther!fredb
From: fredb@uther.calvin.edu (Fred H. Bremmer)
Newsgroups: gnu.emacs.help
Subject: How to define keys to do functions with args
Message-ID: <fredb.676925862@uther>
Date: 14 Jun 91 18:57:42 GMT
Organization: The University of Michigan, Ann Arbor
Lines: 12