help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble with global-set-key to map meta-g with 'goto-line


From: Barry Margolin
Subject: Re: Trouble with global-set-key to map meta-g with 'goto-line
Date: Thu, 20 Apr 2006 20:16:14 -0400
User-agent: MT-NewsWatcher/3.4 (PPC Mac OS X)

In article <874q0oqf2v.fsf-monnier+gnu.emacs.help@gnu.org>,
 Stefan Monnier <monnier@iro.umontreal.ca> wrote:

> > I am a beginner with GNU Emacs(21.3.1). I added this line to ~/.emacs
> >     (global-set-key [(meta-g)] 'goto-line)
>                               ^
>                              ^^^
> 
> That should be a space, otherwise you're trying to bind the "meta-g" key,
> which I'm pretty sure you don't have on your keyboard.

If you're going to use ASCII art as a pointer, mae sure you're using a 
fixed-width font.  Your arrow is pointing to the quote before goto-line, 
not the hyphen in meta-g.

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***


reply via email to

[Prev in Thread] Current Thread [Next in Thread]