[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: |
Giorgos Pontikakis |
Subject: |
Re: Trouble with global-set-key to map meta-g with 'goto-line |
Date: |
Fri, 21 Apr 2006 00:00:36 +0300 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
David Lee <live4thee@gmail.com> writes:
> Hi, all
> I am a beginner with GNU Emacs(21.3.1). I added this line to ~/.emacs
> (global-set-key [(meta-g)] 'goto-line)
> but it doesn't work for me, and minibuffer gave this hint:
> Set face: default (M-g d), bold (M-g b), italic (M-g i)..
>
> Seems that my settings didn't take effects.
>
> Anything wrong?
>
> [ I'm using SuSE 10.0, and I tried with failure under FC5, either. ]
>
> Thanks in advance.
I use
(define-key global-map (kbd "M-g") 'goto-line)
and works fine in emacs 21.4 (which comes bundled with slackware 10)
and emacs 22.0.50.1 (from CVS). I don't know if this is a specific
problem with emacs 21.3 but I doubt it.
Maybe you should try starting with emacs -q and try executing the
above expression within the scratch buffer. Does this work?
Hope this helps,
-- Giorgos
- Re: Trouble with global-set-key to map meta-g with 'goto-line, (continued)
- 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
Re: Trouble with global-set-key to map meta-g with 'goto-line,
Giorgos Pontikakis <=