From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Hadron Quark Newsgroups: gmane.emacs.help Subject: Re: Hard to switch from vi Date: Tue, 10 Oct 2006 15:05:48 +0200 Message-ID: <87ejtggw2b.fsf@gmail.com> References: <87u02dlvkv.fsf@gmx.at> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1160487759 28838 80.91.229.2 (10 Oct 2006 13:42:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 10 Oct 2006 13:42:39 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 10 15:42:39 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GXHsS-0007gS-Mv for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Oct 2006 15:42:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GXHsS-0004Zt-5d for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Oct 2006 09:42:36 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 35 Original-X-Trace: individual.net ZpBl6apx9VgAioF35a2vhwwREDDAD90QRQdB51ymIj+9NwM7/p X-Orig-Path: news.ibm.net!news X-Face: 2h#||Cd#d%F*NCm59[_6/{1a@jy%; |j>{D~4^gKg(^i%7j0IK?+,/GmW&:CD5fEKb_! Cancel-Lock: sha1:xIjfyB5HOq0DhO6/1yPuZTBLyKw= Original-Xref: shelby.stanford.edu gnu.emacs.help:142352 Original-To: help-gnu-emacs@gnu.org 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:37973 Archived-At: Wen Weng writes: > Markus Triska wrote: >> Wen Weng writes: >> >>> "5dd". In emacs, how do I delete a complete line? C-k only delete >> With recent versions: >> ,---- >> | runs the command kill-whole-line >> | which is an interactive compiled Lisp function in `simple.el'. >> | It is bound to . >> | (kill-whole-line &optional arg) >> `---- >> > the C-S-BS did not work for me. Do "C-h-k" and then hit the key sequence above. I get: ,---- | runs the command kill-whole-line | which is an interactive compiled Lisp function in `simple.el'. | It is bound to . | (kill-whole-line &optional arg) | | Kill current line. | With prefix arg, kill that many lines starting from the current line. | If arg is negative, kill backward. Also kill the preceding newline. | (This is meant to make C-x z work well with negative arguments.) | If arg is zero, kill current line but exclude the trailing newline. `---- --