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: Lee David
Subject: Re: Trouble with global-set-key to map meta-g with 'goto-line
Date: Fri, 21 Apr 2006 09:33:39 +0800

Oops! Yes I did misplace one hyphen between 'meta' and 'g'.
After removing it now it works.

Thank you all.

2006/4/21, Stefan Monnier <monnier@iro.umontreal.ca>:
> 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.


        Stefan
_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs


reply via email to

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