unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: andy.ling@quantel.com
To: bug-gnu-emacs@gnu.org
Subject: bug#4538: 23.1; kill-line doesn't with show-trailing-whitespace
Date: Wed, 23 Sep 2009 15:13:57 +0100	[thread overview]
Message-ID: <OFF61B2A74.FBC0DB29-ON8025763A.004D0ED8-8025763A.004EC725@Quantel.Com> (raw)

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 






             reply	other threads:[~2009-09-23 14:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-23 14:13 andy.ling [this message]
2009-09-24  3:28 ` bug#4538: 23.1; kill-line doesn't with show-trailing-whitespace Glenn Morris
2009-09-24  8:48   ` andy.ling
2009-09-25  6:17     ` Glenn Morris
2009-09-25 10:47       ` andy.ling
2011-09-18  8:36   ` Lars Magne Ingebrigtsen
2011-09-22  7:13     ` Glenn Morris
2011-09-23 10:56       ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=OFF61B2A74.FBC0DB29-ON8025763A.004D0ED8-8025763A.004EC725@Quantel.Com \
    --to=andy.ling@quantel.com \
    --cc=4538@emacsbugs.donarmstrong.com \
    --cc=bug-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).