simple question - how to move point to top/end of file

  • Follow


tried looking everywhere but can't find this anywhere...

how do i move the point to the begginning of the buffer - or to the end of 
the buffer.

thanks,

kev bailey
0
Reply kevin 7/3/2003 8:54:58 AM

On Thu, 03 Jul 2003 09:54:58 +0100, kevin bailey
<deeval_oper@bigfoot.com> wrote:

>tried looking everywhere but can't find this anywhere...
>
>how do i move the point to the begginning of the buffer - or to the end of 
>the buffer.

Programmatically or interactively!

Former:

(goto-char (point-min))
(goto-char (point-max))

Latter:

M-x beginning-of-buffer
M-x end-of-buffer


Best Regards
John McCabe

To reply by email replace 'nospam' with 'assen'
0
Reply john 7/3/2003 9:32:23 AM


"John McCabe" <john@nospam.demon.co.uk> skrev i melding
news:3f03f7fe.5255597@news.btclick.com...
> On Thu, 03 Jul 2003 09:54:58 +0100, kevin bailey
> <deeval_oper@bigfoot.com> wrote:
>
> >tried looking everywhere but can't find this anywhere...
> >
> >how do i move the point to the begginning of the buffer - or to the end
of
> >the buffer.
>
> Programmatically or interactively!
>
> Former:
>
> (goto-char (point-min))
> (goto-char (point-max))
>
> Latter:
>
> M-x beginning-of-buffer
> M-x end-of-buffer
>
>
> Best Regards
> John McCabe
>
> To reply by email replace 'nospam' with 'assen'


There is an easier way of doing it,
M-< = Go to beginning of buffer
M-> = Go to end of buffer


0
Reply Eirik 7/3/2003 2:31:19 PM

kevin bailey <deeval_oper@bigfoot.com> writes:

> tried looking everywhere but can't find this anywhere...
>
> how do i move the point to the begginning of the buffer - or to the end of 
> the buffer.
>
> thanks,
>
> kev bailey

My default keys are mapped such that Ctrl-HOME and Ctrl-END go to the
beginning and end respectively.  How about yours?

-Al
0
Reply Al 7/4/2003 4:49:32 AM

On Thu, 3 Jul 2003 16:31:19 +0200, "Eirik" <hannibalkannibal@yahoo.no>
wrote:

>There is an easier way of doing it,
>M-< = Go to beginning of buffer
>M-> = Go to end of buffer

Thanks for pointing that out - I always have beginning-of-buffer and
end-of-buffer mapped to C-Home and C-End respectively.


Best Regards
John McCabe

To reply by email replace 'nospam' with 'assen'
0
Reply john 7/4/2003 7:49:48 AM

4 Replies
108 Views

(page loaded in 0.077 seconds)

Similiar Articles:













7/17/2012 9:21:57 AM


Reply: