News for hackers. Stuff that matters.
Re:Concepts The Emacs Newbie Should Master by smanek on Thursday April 14, 2011 @09:11AM (#2446669)
M-x delete-region by default (although you can bind it to anything).

I use emacs every day, and don't think I've ever used it though. Just put the stuff you want to delete in the kill ring.

Why don't you want stuff in the kill ring? It takes some getting used to, but I've found it's generally a good thing. You can always yank back previous items in the ring with M-y too, so it isn't like your OS clipboard where 'cutting' something else means you lose access to the previous item on the clipboard.

Re:Concepts The Emacs Newbie Should Master by neutronicus on Thursday April 14, 2011 @09:19AM (#2446694)
Because sometimes I want to cut A, delete B, paste A where B used to be, and it's irritating to have to have that extra M-y in there.

Perhaps I should instead write a new command to kill a region, but then swap the last two things in the kill ring. That's actually a good idea...

Re:Concepts The Emacs Newbie Should Master by redfax on Friday April 15, 2011 @12:19AM (#2449434)
In addition to the other two solutions, you can also use registers: http://www.emacswiki.org/emacs/Registers
Re:Concepts The Emacs Newbie Should Master by andreaja on Thursday April 14, 2011 @01:10PM (#2447592)
I just kill A, yank A, then kill B...
Re:Concepts The Emacs Newbie Should Master by prakashk on Thursday April 14, 2011 @02:10PM (#2447809)
kill A, select B, yank.