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