[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: whole-line-or-region
From: |
Joe Casadonte |
Subject: |
Re: whole-line-or-region |
Date: |
Sat, 29 Nov 2008 17:17:00 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (windows-nt) |
On 29 Nov 2008, Francesco Potortì wrote:
> (defun kill-entire-line (n)
> "Kill ARG entire lines starting from the one where point is."
> (interactive "*p")
> (beginning-of-line)
> (kill-line n))
> (global-set-key "\M-k" 'kill-entire-line)
The thing that makes my package more flexible is not in the killing,
but in the yanking. Knowing that the line was killed as a whole line
allows the line to be yanked as a whole line, a big difference.
--
Regards,
joe
Joe Casadonte
address@hidden
------------------------------------------------------------------------------
Llama Fresh Farms => http://www.northbound-train.com
Ramblings of a Gay Man => http://www.northbound-train.com/ramblings
Emacs Stuff => http://www.northbound-train.com/emacs.html
Music CD Trading => http://www.northbound-train.com/cdr.html
------------------------------------------------------------------------------
Live Free, that's the message!
------------------------------------------------------------------------------