[Top][All Lists]

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

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

From: Matthew Flaschen
Subject: Re: Delete (kill) entire line at cursor - how?
Date: Thu, 22 Mar 2007 23:11:46 -0400
User-agent: Thunderbird (X11/20070306)

David Hansen wrote:
> 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.

So in other words "no, but you can make it".  I knew that; that's the
answer to every question about emacs. :)

Matt Flaschen

reply via email to

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