From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jesper Harder Newsgroups: gmane.emacs.help Subject: Re: kill-line behaves differently in terminal and in X!? Date: Sat, 20 Sep 2003 20:12:36 +0200 Organization: http://purl.org/harder/ Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: 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 1064081827 3474 80.91.224.253 (20 Sep 2003 18:17:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 20 Sep 2003 18:17:07 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 20 20:17:05 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 1A0mI5-0001ru-00 for ; Sat, 20 Sep 2003 20:17:05 +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 1A0mHk-0001DI-CZ for geh-help-gnu-emacs@m.gmane.org; Sat, 20 Sep 2003 14:16:44 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!npeer.de.kpn-eurorings.net!news.tele.dk!news.tele.dk!small.news.tele.dk!not-for-mail Original-Newsgroups: gnu.emacs.help X-Face: ^RrvqCr7c,P$zTR:QED"@h9+BTm-"fjZJJ-3=OU7.)i/K]<.J88}s>'Z_$r; 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:12682 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12682 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.