From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: anoop aryal Newsgroups: gmane.emacs.help Subject: Re: Delete (kill) entire line at cursor - how? Date: Wed, 14 Mar 2007 11:38:33 -0500 Organization: Foresight International Message-ID: <200703141138.33959.aaryal@foresightint.com> References: <1173165762.936371.202290@q40g2000cwq.googlegroups.com> <1173262427.110517.198500@q40g2000cwq.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1173890455 9859 80.91.229.12 (14 Mar 2007 16:40:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 14 Mar 2007 16:40:55 +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 14 17:40:39 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 1HRWWY-0005WD-CX for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Mar 2007 17:40:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HRWXS-0002iv-7U for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Mar 2007 11:41:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HRWXH-0002dg-1x for help-gnu-emacs@gnu.org; Wed, 14 Mar 2007 12:41:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HRWXD-0002St-Kq for help-gnu-emacs@gnu.org; Wed, 14 Mar 2007 12:41:10 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HRWXD-0002Sf-F7 for help-gnu-emacs@gnu.org; Wed, 14 Mar 2007 11:41:07 -0500 Original-Received: from mail.foresightint.com ([65.42.205.140]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HRWWJ-0003iD-0I for help-gnu-emacs@gnu.org; Wed, 14 Mar 2007 12:40:11 -0400 Original-Received: from thewolf.foresightint.com (thewolf.foresightint.com [192.168.15.126]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.foresightint.com (Postfix) with ESMTP id 4DF3697808A for ; Wed, 14 Mar 2007 11:40:09 -0500 (CDT) User-Agent: KMail/1.9.5 In-Reply-To: <1173262427.110517.198500@q40g2000cwq.googlegroups.com> Content-Disposition: inline X-detected-kernel: Linux 2.4-2.6 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:41965 Archived-At: On Wednesday 07 March 2007 04:13, cmr.Pent@gmail.com wrote: > Heh, the funny thing for me is that such a simple feature is delivered > in a base package only in the 22nd(!!) varsion of the program. Looks > like no one had the need in this feature for like 20 years... Pretty > amazing. > that may have to do with the fact that in regular editors, the primary editing is line oriented. in emacs, the editor (or the modes) recognizes the text being edited and give you higher level constructs such as word, paragraph, sentence (in regular text), sexp (in programming) etc, that you don't "fall back" to line editing. 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. in most other editors, delete line is about as high level a construct as it gets. maybe that explains why, to someone coming from another editor, the omission seems grave. > _______________________________________________ > help-gnu-emacs mailing list > help-gnu-emacs@gnu.org > http://lists.gnu.org/mailman/listinfo/help-gnu-emacs -- anoop aryal aaryal@foresightint.com