From: <tomas@tuxteam.de>
To: help-gnu-emacs@gnu.org
Subject: Re: How to delete all text from beginning of buffer to mark
Date: Mon, 8 May 2017 17:21:35 +0200 [thread overview]
Message-ID: <20170508152134.GB25532@tuxteam.de> (raw)
In-Reply-To: <87zien77lh.fsf@fu-berlin.de>
-----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-----
next prev parent reply other threads:[~2017-05-08 15:21 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-08 14:14 How to delete all text from beginning of buffer to mark Angus Comber
2017-05-08 14:20 ` Loris Bennett
2017-05-08 15:21 ` tomas [this message]
2017-05-08 15:43 ` hector
2017-05-08 15:35 ` Teemu Likonen
2017-05-08 15:50 ` Yuri Khan
2017-05-09 2:04 ` Emanuel Berg
2017-05-09 2:20 ` iterating the kill ring (was: Re: How to delete all text from beginning of buffer to mark) Emanuel Berg
2017-05-09 3:07 ` How to delete all text from beginning of buffer to mark Kaushal Modi
2017-05-09 6:53 ` Emanuel Berg
2017-05-09 11:39 ` Magnus Therning
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170508152134.GB25532@tuxteam.de \
--to=tomas@tuxteam.de \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).