From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Matthew Flaschen Newsgroups: gmane.emacs.help Subject: Re: Delete (kill) entire line at cursor - how? Date: Thu, 22 Mar 2007 23:11:46 -0400 Message-ID: <46034572.9040806@gatech.edu> References: <1173165762.936371.202290@q40g2000cwq.googlegroups.com> <1173262427.110517.198500@q40g2000cwq.googlegroups.com> <200703141138.33959.aaryal@foresightint.com> <46032D86.2060508@gatech.edu> <87y7loy90q.fsf@localhorst.mine.nu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1174619590 30425 80.91.229.12 (23 Mar 2007 03:13:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 23 Mar 2007 03:13:10 +0000 (UTC) To: emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 23 04:13:02 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 1HUaD8-0003gl-GD for geh-help-gnu-emacs@m.gmane.org; Fri, 23 Mar 2007 04:13:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HUaEz-0002sh-Cc for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Mar 2007 22:14:57 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HUaEj-0002ld-Ue for help-gnu-emacs@gnu.org; Thu, 22 Mar 2007 23:14:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HUaEh-0002jo-I4 for help-gnu-emacs@gnu.org; Thu, 22 Mar 2007 23:14:40 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HUaEh-0002jl-CD for help-gnu-emacs@gnu.org; Thu, 22 Mar 2007 22:14:39 -0500 Original-Received: from deliverator7.gatech.edu ([130.207.165.169]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1HUaCp-0003d1-LI for help-gnu-emacs@gnu.org; Thu, 22 Mar 2007 23:12:43 -0400 Original-Received: from deliverator7.gatech.edu (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id DAB2C2F54 for ; Thu, 22 Mar 2007 23:12:42 -0400 (EDT) (envelope-from matthew.flaschen@gatech.edu) Original-Received: from mailprx2.gatech.edu (mailprx2.prism.gatech.edu [130.207.171.21]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "smtp.mail.gatech.edu", Issuer "RSA Data Security, Inc." (verified OK)) by deliverator7.gatech.edu (Postfix) with ESMTP id 72F022DD4 for ; Thu, 22 Mar 2007 23:11:47 -0400 (EDT) (envelope-from matthew.flaschen@gatech.edu) Original-Received: from [128.61.73.81] (r73h81.res.gatech.edu [128.61.73.81]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) (sasl: method=PLAIN, username=mflaschen3@mailprx2.gatech.edu, sender=n/a) by mailprx2.gatech.edu (Postfix) with ESMTP id 4B7742362 for ; Thu, 22 Mar 2007 23:11:47 -0400 (EDT) (envelope-from matthew.flaschen@gatech.edu) User-Agent: Thunderbird 1.5.0.10 (X11/20070306) In-Reply-To: <87y7loy90q.fsf@localhorst.mine.nu> X-Enigmail-Version: 0.94.3.0 X-detected-kernel: Solaris 9 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:42121 Archived-At: 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