GNU bug report logs - #11836
24.1.50; docstring of `kill-whole-line' insufficient

Previous Next

Package: emacs;

Reported by: michael_heerdegen <at> web.de

Date: Mon, 2 Jul 2012 02:26:02 UTC

Severity: minor

Tags: notabug, wontfix

Found in version 24.1.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 11836 in the body.
You can then email your comments to 11836 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#11836; Package emacs. (Mon, 02 Jul 2012 02:26:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to michael_heerdegen <at> web.de:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 02 Jul 2012 02:26:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.1.50; docstring of `kill-whole-line' insufficient
Date: Mon, 02 Jul 2012 04:22:59 +0200
Hi,

yes, it just says:

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

But what does `kill-line' if `kill-whole-line' is nil?  Does it kill a
half of the line?  Does it do nothing?  The docstring doesn't provide
any help at all unless you already know the background.  So, please
add something like:

"This means that the entire line including the final newline is
killed."

Or clarify it some other way.


Thanks,

Michael.


In GNU Emacs 24.1.50.1 (i486-pc-linux-gnu, GTK+ Version 3.4.2)
 of 2012-07-01 on keller, modified by Debian
 (emacs-snapshot package, version 2:20120701-1)
Windowing system distributor `The X.Org Foundation', version 11.0.11201902
Configured using:
 `configure '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu'
 '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib'
 '--localstatedir=/var' '--infodir=/usr/share/info'
 '--mandir=/usr/share/man' '--with-pop=yes'
 '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/24.1.50/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.1.50/site-lisp:/usr/share/emacs/site-lisp'
 '--without-compress-info' '--with-crt-dir=/usr/lib/i386-linux-gnu/'
 '--with-x=yes' '--with-x-toolkit=gtk3' '--with-imagemagick=yes'
 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu'
 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g
 -Wl,--as-needed -znocombreloc' 'CPPFLAGS=-D_FORTIFY_SOURCE=2''

Important settings:
  value of $LC_ALL: de_DE.utf8
  value of $LC_TIME: C
  value of $LANG: de_DE.utf8
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#11836; Package emacs. (Mon, 02 Jul 2012 07:33:02 GMT) Full text and rfc822 format available.

Message #8 received at 11836 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: michael_heerdegen <at> web.de
Cc: 11836 <at> debbugs.gnu.org
Subject: Re: bug#11836: 24.1.50; docstring of `kill-whole-line' insufficient
Date: Mon, 02 Jul 2012 09:28:20 +0200
Michael Heerdegen <michael_heerdegen <at> web.de> writes:

> But what does `kill-line' if `kill-whole-line' is nil? 

It does what kill-line says it does.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#11836; Package emacs. (Mon, 02 Jul 2012 22:51:01 GMT) Full text and rfc822 format available.

Message #11 received at 11836 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: michael_heerdegen <at> web.de, 11836 <at> debbugs.gnu.org
Subject: Re: bug#11836: 24.1.50; docstring of `kill-whole-line' insufficient
Date: Mon, 02 Jul 2012 18:45:47 -0400
tags 11836 notabug wontfix
close 11836
stop

Andreas Schwab wrote:

> Michael Heerdegen <michael_heerdegen <at> web.de> writes:
>
>> But what does `kill-line' if `kill-whole-line' is nil? 
>
> It does what kill-line says it does.

I agree there's no need to duplicate the doc of kill-line in the doc of
one option that affects it. The former is hyperlinked from the latter,
and is the obvious place to look.




Added tag(s) notabug and wontfix. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 02 Jul 2012 22:51:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 11836 <at> debbugs.gnu.org and michael_heerdegen <at> web.de Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 02 Jul 2012 22:51:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 31 Jul 2012 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 24 days ago.

Previous Next


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