help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to delete all text from beginning of buffer to mark


From: tomas
Subject: Re: How to delete all text from beginning of buffer to mark
Date: Mon, 8 May 2017 17:21:35 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, May 08, 2017 at 04:20:58PM +0200, Loris Bennett wrote:
> Angus Comber <anguscomber@gmail.com> writes:
> 
> > I am in a large file of text and my cursor is at the start of the text
> > I want.  I want to delete all the text before the cursor.  I know I
> > can set the mark using C-sp but how do I then select to the beginning
> > of the file?

Just by moving point to the beginning of the buffer (e.g. by C-M-a) The
selection is between point and mark (which you've set by C-sp)

cheers
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlkQjP4ACgkQBcgs9XrR2kbdUwCeMZnxiX5FYbYNdjl7h0TcL0Gy
sw0An21ulYbCQN1Sk7ytlk73oYurV41O
=deFO
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]