[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Delete (kill) entire line at cursor - how?
From: |
anoop aryal |
Subject: |
Re: Delete (kill) entire line at cursor - how? |
Date: |
Mon, 26 Mar 2007 17:48:27 -0500 |
User-agent: |
KMail/1.9.5 |
On Monday 26 March 2007 16:55, Mathias Dahl wrote:
> David Hansen <david.hansen@gmx.net> writes:
> > There are `c-beginning-of-statement' and `c-end-of-statement'. The
> > rest is left as an exercise to the reader.
>
> I needed some exercise :)
>
> (defun c-kill-statement ()
> (interactive)
> (kill-region (save-excursion
> (c-beginning-of-statement 1)
> (point))
> (save-excursion
> (c-end-of-statement 1)
> (point))))
nice. ;)
>
> /Mathias
> _______________________________________________
> help-gnu-emacs mailing list
> help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
--
anoop aryal
aaryal@foresightint.com
- Re: Delete (kill) entire line at cursor - how?, (continued)
- Re: Delete (kill) entire line at cursor - how?, Matthew Flaschen, 2007/03/07
- Re: Delete (kill) entire line at cursor - how?, anoop aryal, 2007/03/14
- Re: Delete (kill) entire line at cursor - how?, Matthew Flaschen, 2007/03/22
- Re: Delete (kill) entire line at cursor - how?, David Hansen, 2007/03/22
- Re: Delete (kill) entire line at cursor - how?, Matthew Flaschen, 2007/03/22
- Re: Delete (kill) entire line at cursor - how?, anoop aryal, 2007/03/26
- Re: Delete (kill) entire line at cursor - how?, Matthew Flaschen, 2007/03/26
- Message not available
- Re: Delete (kill) entire line at cursor - how?, Giorgos Keramidas, 2007/03/27
- Re: Delete (kill) entire line at cursor - how?, Matthew Flaschen, 2007/03/27
- Message not available
- Re: Delete (kill) entire line at cursor - how?, Mathias Dahl, 2007/03/26
- Re: Delete (kill) entire line at cursor - how?,
anoop aryal <=