GNU bug report logs - #9938
24.0.91; doc string of `goto-line'

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Tue, 1 Nov 2011 23:22:01 UTC

Severity: minor

Found in version 24.0.91

Done: Chong Yidong <cyd <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 9938 in the body.
You can then email your comments to 9938 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#9938; Package emacs. (Tue, 01 Nov 2011 23:22:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 01 Nov 2011 23:22:01 GMT) Full text and rfc822 format available.

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

From: "Drew Adams" <drew.adams <at> oracle.com>
To: <bug-gnu-emacs <at> gnu.org>
Subject: 24.0.91; doc string of `goto-line'
Date: Tue, 1 Nov 2011 16:18:32 -0700
Nowhere does the doc string say that a numeric prefix arg is used as the
line number to go to.
 
And it does not say that otherwise (no numeric prefix arg) you are
prompted for the line number.  And that in that case the default value
is the number at point, if any.  All it says is the last part, with no
mention of prompting and no exception for a numeric prefix arg.
 
And it does not say what line number is used for plain `C-u'.  It says
lots of stuff about `C-u', but not which line number is used.  You have
to read the source code to figure out that plain `C-u' acts just like no
prefix arg wrt LINE.
 
Sheesh.  Better just start over and rewrite this one.
Start by describing the behavior without a prefix arg.
Then detail the possible behaviors with a prefix arg.
 
See (emacs) `Moving Point' for a clear treatment.
 

In GNU Emacs 24.0.91.1 (i386-mingw-nt5.1.2600)
 of 2011-10-30 on MARVIN
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.6) --no-opt --cflags
-I"D:/devel/emacs/libs/libXpm-3.5.8/include"
-I"D:/devel/emacs/libs/libXpm-3.5.8/src"
-I"D:/devel/emacs/libs/libpng-dev_1.4.3-1/include"
-I"D:/devel/emacs/libs/zlib-dev_1.2.5-2/include"
-I"D:/devel/emacs/libs/giflib-4.1.4-1/include"
-I"D:/devel/emacs/libs/jpeg-6b-4/include"
-I"D:/devel/emacs/libs/tiff-3.8.2-1/include"
-I"D:/devel/emacs/libs/gnutls-2.10.1/include" --ldflags
-L"D:/devel/emacs/libs/gnutls-2.10.1/lib"'
 





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9938; Package emacs. (Sun, 11 Mar 2012 17:28:02 GMT) Full text and rfc822 format available.

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

From: Chong Yidong <cyd <at> gnu.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 9938 <at> debbugs.gnu.org
Subject: Re: bug#9938: 24.0.91; doc string of `goto-line'
Date: Mon, 12 Mar 2012 00:57:10 +0800
"Drew Adams" <drew.adams <at> oracle.com> writes:

> Nowhere does the doc string say that a numeric prefix arg is used as the
> line number to go to.
>  
> And it does not say that otherwise (no numeric prefix arg) you are
> prompted for the line number.  And that in that case the default value
> is the number at point, if any.  All it says is the last part, with no
> mention of prompting and no exception for a numeric prefix arg.
>  
> And it does not say what line number is used for plain `C-u'.  It says
> lots of stuff about `C-u', but not which line number is used.  You have
> to read the source code to figure out that plain `C-u' acts just like no
> prefix arg wrt LINE.

Fixed, thanks.




bug closed, send any further explanations to 9938 <at> debbugs.gnu.org and "Drew Adams" <drew.adams <at> oracle.com> Request was from Chong Yidong <cyd <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 11 Mar 2012 17:28: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. (Mon, 09 Apr 2012 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 29 days ago.

Previous Next


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