all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to delete all text from beginning of buffer to mark
@ 2017-05-08 14:14 Angus Comber
  2017-05-08 14:20 ` Loris Bennett
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Angus Comber @ 2017-05-08 14:14 UTC (permalink / raw)
  To: help-gnu-emacs

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?

What is the best way to basically delete all text before the cursor in the buffer?


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-05-09 11:39 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.