From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: andy.ling@quantel.com Newsgroups: gmane.emacs.bugs Subject: bug#4538: 23.1; kill-line doesn't with show-trailing-whitespace Date: Thu, 24 Sep 2009 09:48:16 +0100 Message-ID: References: Reply-To: andy.ling@quantel.com, 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 1253783245 5145 80.91.229.12 (24 Sep 2009 09:07:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Sep 2009 09:07:25 +0000 (UTC) Cc: 4538@emacsbugs.donarmstrong.com To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 24 11:07:17 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 1MqkIG-0001jh-5E for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Sep 2009 11:07:16 +0200 Original-Received: from localhost ([127.0.0.1]:57529 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MqkIF-0007Wi-E9 for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Sep 2009 05:07:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MqkIA-0007Wd-U9 for bug-gnu-emacs@gnu.org; Thu, 24 Sep 2009 05:07:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MqkI6-0007WN-Sf for bug-gnu-emacs@gnu.org; Thu, 24 Sep 2009 05:07:10 -0400 Original-Received: from [199.232.76.173] (port=41070 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MqkI6-0007WK-O8 for bug-gnu-emacs@gnu.org; Thu, 24 Sep 2009 05:07:06 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:51390) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MqkI6-0002fK-1E for bug-gnu-emacs@gnu.org; Thu, 24 Sep 2009 05:07:06 -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 n8O973uL013600; Thu, 24 Sep 2009 02:07:03 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n8O904ZL011949; Thu, 24 Sep 2009 02:00:04 -0700 Resent-Date: Thu, 24 Sep 2009 02:00:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: andy.ling@quantel.com Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Thu, 24 Sep 2009 09:00:04 +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.125378230410976 (code B ref 4538); Thu, 24 Sep 2009 09:00:04 +0000 Original-Received: (at 4538) by emacsbugs.donarmstrong.com; 24 Sep 2009 08:51:44 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from smtp05.opal-solutions.com (smtp05.opal-solutions.com [195.74.128.120]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8O8pg2O010973 for <4538@emacsbugs.donarmstrong.com>; Thu, 24 Sep 2009 01:51:44 -0700 Original-Received: from websrv.quantel.com (websrv.quantel.com [195.12.20.34]) by smtp05.opal-solutions.com (Postfix) with ESMTP id 96AE44D898F; Thu, 24 Sep 2009 09:51:41 +0100 (BST) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Thu, 24 Sep 2009 05:07:10 -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:31443 Archived-At: Glenn Morris wrote on 24/09/2009 04:28:41: > 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. > I'd say it seems odd at second glance too :-) I can't believe everybody wants this behaviour. So to that end can I suggest the traditional emacs approach is adopted and it is made configurable. Regards Andy Ling -- Quantel is the trade name used by Quantel Holdings Limited and its subsidiaries. Quantel Holdings Limited is registered in England & Wales. Registration No: 4004913 Contact details for all Quantel Offices and Companies can be found on our website www.quantel.com or by writing to the holding company. Registered address: Turnpike Road, Newbury, Berkshire, RG14 2NX, United Kingdom