[Top][All Lists]

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

Re: Delete (kill) entire line at cursor - how?

From: David Hansen
Subject: Re: Delete (kill) entire line at cursor - how?
Date: Fri, 23 Mar 2007 03:43:33 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux)

On Thu, 22 Mar 2007 21:29:42 -0400 Matthew Flaschen wrote:

> anoop aryal wrote:
>> i use C-M-k to delete sexps, C-c-C-o to delete multiple consequitive blank 
>> lines etc. and therefore find that kill-entire-line is something i'll use 
>> only when none of the other constructs are available. not to say that i 
>> don't 
>> use C-k, it's just that given a bunch of other higher level constructs and 
>> functions to operate on those constructs, C-k has limited use.
> Is there such a construct for deleting the current statement in
> C/C++/Java?  If not, I could see using kill-entire-line often for that.

There are `c-beginning-of-statement' and `c-end-of-statement'.  The
rest is left as an exercise to the reader.


reply via email to

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