Subject: 23.1; kill-line doesn't with show-trailing-whitespace

From: [email-masked]
Date: Wed, 23 Sep 2009 15:13:57 +0100

I've just updated from emacs 21.3 to 23.1 and I have found that kill-line 
behaves differently.

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.

This is different behaviour to emacs 21.3 and I don't believe it to be the 
intended behaviour.

Regards

Andy Ling

In GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600)
 of 2009-07-30 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4)'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENG
  value of $XMODIFIERS: nil
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<help-echo> C-x C-f ~ / x x x x <return> <return> <return> 
<return> <up> <up> <up> ( s e t q SPC s h o w - t r 
a i l i n g - w h i t e s p a c e SPC t ) C-x C-e <return> 
SPC SPC SPC SPC SPC SPC SPC C-a C-k <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <menu-bar> <help-menu> 
<send-emacs-bug-report>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
t

-- 

This e-mail is intended for the named addressees only. Its contents may be 
privileged or confidential and should be treated as such. If you are not 
an intended recipient please notify the sender immediately and then delete 
it;  do not copy, distribute, or take any action based on this e-mail. In 
the pursuit of its legitimate business activities and its conformance with 
relevant legislation, Quantel may access any e-mail (including 
attachments) it originates or receives, for potential scrutiny. 

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