GNU bug report logs - #3695
23.0.94; kill-whole-line has no effect

Previous Next

Package: emacs;

Reported by: pent <pent <at> aparamon.msk.ru>

Date: Sat, 27 Jun 2009 07:20:03 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #30 received at 3695 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: pent <pent <at> aparamon.msk.ru>
Cc: Teemu Likonen <tlikonen <at> iki.fi>, 3695 <at> debbugs.gnu.org
Subject: Re: 23.0.94; kill-whole-line has no effect
Date: Sun, 28 Jun 2009 16:37:22 -0400
> I think kill-visual-line must behave exactly as kill-line, if the text
> line consists of just one visual line. Otherwise it's a regression.

The docstring of kill-whole-line does not mention kill-visual-line:

  If non-nil, `kill-line' with no arg at beg of line kills the whole
  line.

You could argue that this can be extended to kill-visual-line, as
follows:

  `kill-visual-line' with no arg at beg of visual line kills the whole
  visual line.

but that doesn't make much sense, because kill-visual-line *already*
consumes the entire visual line.  In the normal case, kill-line consumes
the additional newline character at the end of the line, but
word-wrapped lines have no additional newline character to consume.



This bug report was last modified 16 years and 5 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.