From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#4538: 23.1; kill-line doesn't with show-trailing-whitespace Date: Wed, 23 Sep 2009 23:28:41 -0400 Message-ID: References: Reply-To: Glenn Morris , 4538@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1253764069 22403 80.91.229.12 (24 Sep 2009 03:47:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Sep 2009 03:47:49 +0000 (UTC) Cc: 4538@emacsbugs.donarmstrong.com To: andy.ling@quantel.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 24 05:47:41 2009 Return-path: Envelope-to: geb-bug-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 1MqfIz-0008EO-4H for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Sep 2009 05:47:41 +0200 Original-Received: from localhost ([127.0.0.1]:33637 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MqfIy-0003md-Mu for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Sep 2009 23:47:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MqfIY-0003e2-B4 for bug-gnu-emacs@gnu.org; Wed, 23 Sep 2009 23:47:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MqfIT-0003dF-H7 for bug-gnu-emacs@gnu.org; Wed, 23 Sep 2009 23:47:13 -0400 Original-Received: from [199.232.76.173] (port=38432 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MqfIT-0003d6-8e for bug-gnu-emacs@gnu.org; Wed, 23 Sep 2009 23:47:09 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:51262) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MqfIS-0002WQ-NL for bug-gnu-emacs@gnu.org; Wed, 23 Sep 2009 23:47:09 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8O3l3Ze024493; Wed, 23 Sep 2009 20:47:04 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n8O3Z9gX022684; Wed, 23 Sep 2009 20:35:09 -0700 Resent-Date: Wed, 23 Sep 2009 20:35:09 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Glenn Morris Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Thu, 24 Sep 2009 03:35:09 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4538 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4538-submit@emacsbugs.donarmstrong.com id=B4538.125376292421652 (code B ref 4538); Thu, 24 Sep 2009 03:35:09 +0000 Original-Received: (at 4538) by emacsbugs.donarmstrong.com; 24 Sep 2009 03:28:44 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8O3Sgg9021647 for <4538@emacsbugs.donarmstrong.com>; Wed, 23 Sep 2009 20:28:43 -0700 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1Mqf0b-0000sT-C7; Wed, 23 Sep 2009 23:28:41 -0400 X-Spook: sniper ammunition World Trade Center UOP Noriega Kennedy X-Ran: &6H<%5x,u_H#"Z!sJG>i3@-Jwv"UGW{MT9W5"v#1J<#O"pRD4y_Udoma*dnV;lfsme|1hI X-Hue: red X-Attribution: GM User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Wed, 23 Sep 2009 23:47:13 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:31430 Archived-At: andy.ling@quantel.com wrote: > Run emacs -q > open a buffer and enter a line of spaces > go to the beginning of line and kill line (C-a C-k) > The line is deleted through the newline to the next line > Now execute (setq show-trailing-whitespace t) > Again enter a line of spaces and go to the beginning of the line. > This time the spaces should be hilighted in red. > Now kill the line. The line is only killed up to the newline. It seems this is deliberate: http://lists.gnu.org/archive/html/emacs-devel/2004-02/msg00190.html At first glance, it does seem a bit odd. It is also undocumented.