another simple question

  • Follow


I also have trouble getting help.
How do I jump to
1. a certain line#
2. BOF
3. EOF
0
Reply Billy 12/15/2006 7:30:51 PM

* Billy Patton (2006-12-15 13:30 -0600) said:
  ^^^^^^^^^^^^
> How do I jump to
> 1. a certain line#

M-g M-g or M-g g

> 2. BOF

M-<

> 3. EOF

M->

-- 
Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)
0
Reply Leo 12/15/2006 7:50:08 PM


> I also have trouble getting help.

You get help with `C-h i', that is, first press `Ctrl-h' and then `i'.

> 2. BOF

This is `M-<', which you usually enter as `Alt-<', or if that does not
work as `ESC' followed by `<'. 

> 3. EOF

M->

> How do I jump to
> 1. a certain line#

This depends a little bit on the version you're using, but

  `M-x goto-line<RETURN>linenumber<RETURN>'

is guaranteed to work, though a bit awkward to type. This function
might be bound to M-g if you're using some recent GNU emacs. The point
why this didn't get a better keybinding before is that you're supposed
to use more advanced features instead, e.g. like using `M-x compile'
to compile some C source code and then jump to the next error with
`C-x `'.

HTH,

Anselm
0
Reply Anselm 12/15/2006 7:56:21 PM

Anselm Helbig wrote:
> This depends a little bit on the version you're using, but
>
>   `M-x goto-line<RETURN>linenumber<RETURN>'
>
> is guaranteed to work, though a bit awkward to type. This function
> might be bound to M-g if you're using some recent GNU emacs. The point
> why this didn't get a better keybinding before is that you're supposed
> to use more advanced features instead, e.g. like using `M-x compile'
> to compile some C source code and then jump to the next error with
> `C-x `'.

And using registers to hold places where you are in the file, ie C-x /
and C-x j.  Together with compile-mode this fairly much covers what you
would want to do with goto-line.

0
Reply Rob 12/18/2006 2:35:05 PM

3 Replies
253 Views

(page loaded in 1.463 seconds)

Similiar Articles:













7/25/2012 7:39:04 PM


Reply: