[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Newbie: Interactive goto-line ?!
From: |
Floyd Davidson |
Subject: |
Re: Newbie: Interactive goto-line ?! |
Date: |
Tue, 24 Feb 2004 09:35:39 -0900 |
User-agent: |
gnus 5.10.6/XEmacs 21.4.15/Linux 2.6.0 |
Karel Kubat <karel@e-tunity.com> wrote:
>Hi all,
>
>A newbie question: I'm tired of typing "^X goto-line", so what I want is the
>same functionality, but in fewer keystrokes. E.g, after hitting M-g (or
>whatever).
>
>When I try to bind goto-line to some key, or when I try to defun a new
>function and bind that one to some key, then the following happens: the
>interpreter tells me that there's no argument. As expected; the docs say
>that goto-line needs an argument. But how do I make all this interactive,
>just as "^X goto-line" works?
>
>Thanks in advance!
I'm not sure what the default bindings are, but I've always used
any emacs with M-g bound to the goto-line function. That means
going to line 214 is as easy as the key sequence 'ESC 214 ESG g'
This is what is in my .emacs file:
(define-key esc-map "g" 'goto-line)
--
Floyd L. Davidson <http://web.newsguy.com/floyd_davidson>
Ukpeagvik (Barrow, Alaska) floyd@barrow.com
- Newbie: Interactive goto-line ?!, Karel Kubat, 2004/02/24
- Re: Newbie: Interactive goto-line ?!, Karel Kubat, 2004/02/24
- Re: Newbie: Interactive goto-line ?!, Maurizio Loreti, 2004/02/24
- Re: Newbie: Interactive goto-line ?!, Jiri Pejchal, 2004/02/24
- Re: Newbie: Interactive goto-line ?!,
Floyd Davidson <=
- Re: Newbie: Interactive goto-line ?!, Kevin Rodgers, 2004/02/24
- Re: Newbie: Interactive goto-line ?!, Floyd Davidson, 2004/02/24
- Re: Newbie: Interactive goto-line ?!, Eli Zaretskii, 2004/02/25
- Message not available
- Re: Newbie: Interactive goto-line ?!, Floyd Davidson, 2004/02/25
- Re: Newbie: Interactive goto-line ?!, Kai Grossjohann, 2004/02/25
- Re: Newbie: Interactive goto-line ?!, Eli Zaretskii, 2004/02/25
- Message not available
- Re: Newbie: Interactive goto-line ?!, Floyd Davidson, 2004/02/25
- Re: Newbie: Interactive goto-line ?!, Eli Zaretskii, 2004/02/26
- Message not available
- Re: Newbie: Interactive goto-line ?!, Jesper Harder, 2004/02/26
- Re: Newbie: Interactive goto-line ?!, David Kastrup, 2004/02/26