From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dave Benjamin Newsgroups: gmane.emacs.help Subject: Re: Delete (kill) entire line at cursor - how? Date: Tue, 06 Mar 2007 23:35:42 -0700 Organization: Cox Message-ID: <04tHh.21521$6P2.4853@newsfe16.phx> References: <1173165762.936371.202290@q40g2000cwq.googlegroups.com> <1173200295.212027.291640@v33g2000cwv.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1173249657 9246 80.91.229.12 (7 Mar 2007 06:40:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 7 Mar 2007 06:40:57 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 07 07:40:51 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HOppQ-0000I1-VY for geh-help-gnu-emacs@m.gmane.org; Wed, 07 Mar 2007 07:40:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HOppU-0008VX-3m for geh-help-gnu-emacs@m.gmane.org; Wed, 07 Mar 2007 01:40:52 -0500 Original-Path: shelby.stanford.edu!newshub.stanford.edu!postnews.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!140.99.99.194.MISMATCH!news-in-02.newsfeed.easynews.com!easynews.com!easynews!hwmnpeer01.phx!news.highwinds-media.com!hw-filter.phx!newsfe16.phx.POSTED!53ab2750!not-for-mail User-Agent: Icedove 1.5.0.9 (X11/20061220) Original-Newsgroups: gnu.emacs.help In-Reply-To: <1173200295.212027.291640@v33g2000cwv.googlegroups.com> Original-Lines: 11 Original-NNTP-Posting-Host: 70.190.141.102 Original-X-Complaints-To: admin@cox.net Original-X-Trace: newsfe16.phx 1173249404 70.190.141.102 (Tue, 06 Mar 2007 23:36:44 MST) Original-NNTP-Posting-Date: Tue, 06 Mar 2007 23:36:44 MST Original-Xref: shelby.stanford.edu gnu.emacs.help:146137 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:41741 Archived-At: 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). Dave