Article View: gnu.emacs.bug
Article #99508Re: set-mark bug in emacs
From: Todd Kaufmann
Date: Fri, 03 Aug 1990 15:51
Date: Fri, 03 Aug 1990 15:51
36 lines
1644 bytes
1644 bytes
It's not a bug; you are binding a key to something that doesn't have a function definition. > > (define-key global-map "\M- " 'set-mark) > > When I press <meta><space> I get the following message in the > minibuffer: > > "Wrong type argument: commandp, set-mark" Use set-mark-command, ie (define-key global-map "\M- " 'set-mark-command) which is the default binding of C-@. > I can interactively rebind <meta><space> to set-mark with the > global-set-key command without any problem but it is tedious to do so. > Have I made a mistake or is this really a bug? This is because completion correctly fills in the rest of the command name, which is actually set-mark-command. > Have I made a mistake or is this really a bug? Just a minor misunderstanding. Emacs is forgiving. -todd --
Technical Details
Message-ID:
<TOAD.90Aug3115143@MADRID.MT.CS.CMU.EDU>Path:
arc1-ca.pugleaf.net!gmdzi!unido!isaak!escher!nadia!smurf!ira.uka.de!sol.ctr.columbia.edu!cica!tut.cis.ohio-state.edu!pt.cs.cmu.edu!madrid.mt.cs.cmu.edu!toadReferences:
<9008020245.aa01496@robin.telebit.COM>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,72b45c8f300f21c1 X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1990-08-03 08:51:43 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!isaak!escher!nadia!smurf!ira.uka.de!sol.ctr.columbia.edu!cica!tut.cis.ohio-state.edu!pt.cs.cmu.edu!madrid.mt.cs.cmu.edu!toad From: toad@CS.CMU.EDU (Todd Kaufmann) Newsgroups: gnu.emacs.bug Subject: Re: set-mark bug in emacs Message-ID: <TOAD.90Aug3115143@MADRID.MT.CS.CMU.EDU> Date: 3 Aug 90 15:51:43 GMT References: <9008020245.aa01496@robin.telebit.COM> Sender: toad@madrid.mt.cs.cmu.edu Distribution: gnu Organization: Center for Machine Translation, Carnegie Mellon University Lines: 36 Posted: Fri Aug 3 16:51:43 1990 In-reply-to: telebit!brian@robin.telebit.com's message of 2 Aug 90 02:45:41 GMT