[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: |
Wed, 07 Mar 2007 02:29:20 -0500 |
User-agent: |
Thunderbird 1.5.0.9 (X11/20070104) |
Dave Benjamin wrote:
> cmr.Pent@gmail.com wrote:
>> And I use stable version (21.4 that is), so the `kill-whole-line'
>> command is unavailable to me.
>> Maybe it does exactly what Matt suggested ;-)
>
> Even if you're stuck with Emacs 21, you can still use the
> kill-whole-line function from Emacs 22. It's in the file "simple.el" -
> you can just paste that function into your .emacs and it'll work fine
> (at least, it did for me).
I just took a look. It does what mine does, but better. ;)
Specifically, it takes care of invisible text, and puts the killed text
in the right part of the kill region. I think either should suit the OP
fine.
Matt Flaschen
- Delete (kill) entire line at cursor - how?, cmr . Pent, 2007/03/06
- Re: Delete (kill) entire line at cursor - how?, Matthew Flaschen, 2007/03/06
- Re: Delete (kill) entire line at cursor - how?, thorne, 2007/03/06
- Message not available
- Re: Delete (kill) entire line at cursor - how?, cmr . Pent, 2007/03/06
- Re: Delete (kill) entire line at cursor - how?, Giorgos Keramidas, 2007/03/06
- Re: Delete (kill) entire line at cursor - how?, Matthew Flaschen, 2007/03/06
- Re: Delete (kill) entire line at cursor - how?, Dave Benjamin, 2007/03/07
- Re: Delete (kill) entire line at cursor - how?,
Matthew Flaschen <=
- Message not available
- Re: Delete (kill) entire line at cursor - how?, cmr . Pent, 2007/03/07
- 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