I\'d like to just delete some text so I can yank some other text instead of it. How can I do that? C-w cuts the selected text to kill ring and I end up with
Taken from the EmacsWiki:
The equivalent of ‘kill-line’ (‘C-k’) but without kill-ring side effects: (delete-region (point) (line-end-position))
The equivalent of ‘kill-line’ (‘C-k’) but without kill-ring side effects:
‘kill-line’
‘C-k’
(delete-region (point) (line-end-position))