* bug#11836: 24.1.50; docstring of `kill-whole-line' insufficient
@ 2012-07-02 2:22 Michael Heerdegen
2012-07-02 7:28 ` Andreas Schwab
0 siblings, 1 reply; 3+ messages in thread
From: Michael Heerdegen @ 2012-07-02 2:22 UTC (permalink / raw)
To: 11836
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#11836: 24.1.50; docstring of `kill-whole-line' insufficient
2012-07-02 2:22 bug#11836: 24.1.50; docstring of `kill-whole-line' insufficient Michael Heerdegen
@ 2012-07-02 7:28 ` Andreas Schwab
2012-07-02 22:45 ` Glenn Morris
0 siblings, 1 reply; 3+ messages in thread
From: Andreas Schwab @ 2012-07-02 7:28 UTC (permalink / raw)
To: michael_heerdegen; +Cc: 11836
Michael Heerdegen <michael_heerdegen@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@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#11836: 24.1.50; docstring of `kill-whole-line' insufficient
2012-07-02 7:28 ` Andreas Schwab
@ 2012-07-02 22:45 ` Glenn Morris
0 siblings, 0 replies; 3+ messages in thread
From: Glenn Morris @ 2012-07-02 22:45 UTC (permalink / raw)
To: Andreas Schwab; +Cc: michael_heerdegen, 11836
tags 11836 notabug wontfix
close 11836
stop
Andreas Schwab wrote:
> Michael Heerdegen <michael_heerdegen@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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-07-02 22:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-02 2:22 bug#11836: 24.1.50; docstring of `kill-whole-line' insufficient Michael Heerdegen
2012-07-02 7:28 ` Andreas Schwab
2012-07-02 22:45 ` Glenn Morris
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).