From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Pascal Bourguignon Newsgroups: gmane.emacs.help Subject: Re: kill-line behaves differently in terminal and in X!? Date: 20 Sep 2003 22:16:00 +0200 Organization: informatimago.com Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <873cerw70f.fsf@thalassa.informatimago.com> References: <87oexfwh5n.fsf@thalassa.informatimago.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1064089924 14717 80.91.224.253 (20 Sep 2003 20:32:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 20 Sep 2003 20:32:04 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 20 22:32:03 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A0oOg-0006Wh-00 for ; Sat, 20 Sep 2003 22:32:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A0oNw-00019l-Nw for geh-help-gnu-emacs@m.gmane.org; Sat, 20 Sep 2003 16:31:16 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!thalassa.informatimago.COM!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 28 Original-NNTP-Posting-Host: thalassa.informatimago.com (195.114.85.198) Original-X-Trace: news.uni-berlin.de 1064088961 2249417 195.114.85.198 (16 [41911]) User-Agent: Gnus/5.09 (Gnus v5.9.0) 21.3.50.pjb1.1 Original-Xref: shelby.stanford.edu gnu.emacs.help:116761 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:12685 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12685 Jesper Harder writes: > Pascal Bourguignon writes: > > > In the terminal, it does not delete the line, only the characters in > > the line. You have to type C-u 1 C-k to kill the line. > > Uhm, yes ... but isn't that how C-k is supposed to work? > > > In X, kill-line works flawlessly, killing the line. > > That sounds like a bug. I can't reproduce it, though. > > > I've checked that I've the same kill-whole-line value (namely: nil), > > But if you prefer `kill-line' to delete the trailing newline as well > as the content of the line, you should set `kill-whole-line' to t. Ok, so the bug is that on X, kill-line deletes the trailing newlines even when kill-whole-line is nil... Now on, I'll set kill-whole-line to t in ~/.emacs... -- __Pascal_Bourguignon__ http://www.informatimago.com/ Do not adjust your mind, there is a fault in reality.