[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 ***
- Trouble with global-set-key to map meta-g with 'goto-line, David Lee, 2006/04/20
- Re: Trouble with global-set-key to map meta-g with 'goto-line, B. T. Raven, 2006/04/20
- Re: Trouble with global-set-key to map meta-g with 'goto-line, Stefan Monnier, 2006/04/20
- Re: Trouble with global-set-key to map meta-g with 'goto-line,
Barry Margolin <=
- Re: Trouble with global-set-key to map meta-g with 'goto-line, Miles Bader, 2006/04/20
- Message not available
- Re: Trouble with global-set-key to map meta-g with 'goto-line, Sven Urbanski, 2006/04/21
- Re: Trouble with global-set-key to map meta-g with 'goto-line, Miles Bader, 2006/04/21
- Message not available
- trouble with tabs [Re: Trouble with global-set-key to map meta-g with 'goto-line], Sven Urbanski, 2006/04/21
- Re: trouble with tabs [Re: Trouble with global-set-key to map meta-g with 'goto-line], Miles Bader, 2006/04/21
- Message not available
- Re: trouble with tabs [Re: Trouble with global-set-key to map meta-g with 'goto-line], Barry Margolin, 2006/04/21
- Re: Trouble with global-set-key to map meta-g with 'goto-line, Hadron Quark, 2006/04/21
- Message not available
- Re: Trouble with global-set-key to map meta-g with 'goto-line, Barry Margolin, 2006/04/21
- Re: Trouble with global-set-key to map meta-g with 'goto-line, Stefan Monnier, 2006/04/24
Re: Trouble with global-set-key to map meta-g with 'goto-line, Lee David, 2006/04/20