GNU bug report logs - #12395
24.2.50; `C-h f emacs-version' ignores doc string; gives no information

Previous Next

Package: emacs;

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

Date: Sun, 9 Sep 2012 14:50:01 UTC

Severity: normal

Found in version 24.2.50

Done: Eli Zaretskii <eliz <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 12395 in the body.
You can then email your comments to 12395 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#12395; Package emacs. (Sun, 09 Sep 2012 14:50:02 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. (Sun, 09 Sep 2012 14:50:02 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.2.50; `C-h f emacs-version' ignores doc string;
	gives no information
Date: Sun, 9 Sep 2012 07:49:02 -0700
emacs -Q
 
C-h f emacs-version
 
Missing all information.  The doc string is ignored.

In GNU Emacs 24.2.50.1 (i386-mingw-nt5.1.2600)
 of 2012-09-02 on MARVIN
Bzr revision: 109861 eggert <at> cs.ucla.edu-20120902171035-7mzihil3xd6bjfiy
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
 `configure --with-gcc (4.6) --no-opt --enable-checking --cflags
 -ID:/devel/emacs/libs/libXpm-3.5.8/include
 -ID:/devel/emacs/libs/libXpm-3.5.8/src
 -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include
 -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include
 -ID:/devel/emacs/libs/giflib-4.1.4-1/include
 -ID:/devel/emacs/libs/jpeg-6b-4/include
 -ID:/devel/emacs/libs/tiff-3.8.2-1/include
 -ID:/devel/emacs/libs/gnutls-3.0.9/include
 -ID:/devel/emacs/libs/libiconv-1.13.1-1-dev/include
 -ID:/devel/emacs/libs/libxml2-2.7.8/include/libxml2'
 





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12395; Package emacs. (Tue, 11 Sep 2012 14:46:01 GMT) Full text and rfc822 format available.

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

From: Bastien <bzg <at> altern.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 12395 <at> debbugs.gnu.org
Subject: Re: bug#12395: 24.2.50; `C-h f emacs-version' ignores doc string;
	gives no information
Date: Tue, 11 Sep 2012 16:44:33 +0200
"Drew Adams" <drew.adams <at> oracle.com> writes:

> emacs -Q
>  
> C-h f emacs-version
>  
> Missing all information.  The doc string is ignored.

I can't reproduce this, I get the docstring.

Any more info so that I can reproduce this or shall I 
just close this issue?

-- 
 Bastien




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12395; Package emacs. (Tue, 11 Sep 2012 14:54:02 GMT) Full text and rfc822 format available.

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

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Bastien'" <bzg <at> altern.org>
Cc: 12395 <at> debbugs.gnu.org
Subject: RE: bug#12395: 24.2.50; `C-h f emacs-version' ignores doc string;
	gives no information
Date: Tue, 11 Sep 2012 07:52:35 -0700
> > emacs -Q
> >  
> > C-h f emacs-version
> >  
> > Missing all information.  The doc string is ignored.
> 
> I can't reproduce this, I get the docstring.
> Any more info so that I can reproduce this or shall I 
> just close this issue?

No, please do not close it.
Perhaps it is Windows-specific; dunno.
I get this systematically.

This is the full output from `C-h f emacs-version RET':

---

 emacs-version is an interactive compiled Lisp function in
 `version.el'.

 (emacs-version &optional HERE)

 Not documented.

---
In GNU Emacs 24.2.50.1 (i386-mingw-nt5.1.2600)
 of 2012-08-26 on MARVIN
Bzr revision: 109788 dmantipov <at> yandex.ru-20120827041533-3cy7pdjdqz14o90c
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
 `configure --with-gcc (4.6) --no-opt --enable-checking --cflags
 -ID:/devel/emacs/libs/libXpm-3.5.8/include
 -ID:/devel/emacs/libs/libXpm-3.5.8/src
 -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include
 -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include
 -ID:/devel/emacs/libs/giflib-4.1.4-1/include
 -ID:/devel/emacs/libs/jpeg-6b-4/include
 -ID:/devel/emacs/libs/tiff-3.8.2-1/include
 -ID:/devel/emacs/libs/gnutls-3.0.9/include
 -ID:/devel/emacs/libs/libiconv-1.13.1-1-dev/include
 -ID:/devel/emacs/libs/libxml2-2.7.8/include/libxml2'





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12395; Package emacs. (Tue, 11 Sep 2012 15:33:01 GMT) Full text and rfc822 format available.

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

From: Bastien <bzg <at> altern.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 12395 <at> debbugs.gnu.org
Subject: Re: bug#12395: 24.2.50; `C-h f emacs-version' ignores doc string;
	gives no information
Date: Tue, 11 Sep 2012 17:31:22 +0200
"Drew Adams" <drew.adams <at> oracle.com> writes:

>> > emacs -Q
>> >  
>> > C-h f emacs-version
>> >  
>> > Missing all information.  The doc string is ignored.
>> 
>> I can't reproduce this, I get the docstring.
>> Any more info so that I can reproduce this or shall I 
>> just close this issue?
>
> No, please do not close it.

Okay.

-- 
 Bastien




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12395; Package emacs. (Fri, 19 Oct 2012 14:49:01 GMT) Full text and rfc822 format available.

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

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Bastien'" <bzg <at> altern.org>
Cc: 12395 <at> debbugs.gnu.org
Subject: RE: bug#12395: 24.2.50; `C-h f emacs-version' ignores doc string;
	gives no information
Date: Fri, 19 Oct 2012 07:45:59 -0700
> > > emacs -Q
> > > C-h f emacs-version
> > > Missing all information.  The doc string is ignored.

ping.  Still true in the latest build:

In GNU Emacs 24.2.50.1 (i386-mingw-nt5.1.2600)
 of 2012-10-15 on DANI-PC
Bzr revision: 110553 monnier <at> iro.umontreal.ca-20121015164957-6zms5w2js1xkldtg
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
 `configure --with-gcc (4.7) --no-opt --enable-checking --cflags
 -I../../libs/libxpm-3.5.8/include -I../../libs/libxpm-3.5.8/src
 -I../../libs/libpng-1.4.10 -I../../libs/zlib-1.2.6
 -I../../libs/giflib-4.1.4-1/include -I../../libs/jpeg-6b-4/include
 -I../../libs/tiff-3.8.2-1/include
 -I../../libs/libxml2-2.7.8-w32-bin/include/libxml2
 -I../../libs/gnutls-3.0.16/include
 -I../../libs/libiconv-1.14-2-mingw32-dev/include' 





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12395; Package emacs. (Sat, 20 Oct 2012 06:00:02 GMT) Full text and rfc822 format available.

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

From: Bastien <bzg <at> altern.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 12395 <at> debbugs.gnu.org
Subject: Re: bug#12395: 24.2.50; `C-h f emacs-version' ignores doc string;
	gives no information
Date: Sat, 20 Oct 2012 07:58:33 +0200
Hi Drew,

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

>> > > emacs -Q
>> > > C-h f emacs-version
>> > > Missing all information.  The doc string is ignored.
>
> ping.  Still true in the latest build:

I don't use MS Windows so I cannot reproduce this.
Hopefully some MS Windows user can help here.

Best,

-- 
 Bastien




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12395; Package emacs. (Sat, 20 Oct 2012 09:26:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Bastien <bzg <at> altern.org>
Cc: 12395 <at> debbugs.gnu.org, drew.adams <at> oracle.com
Subject: Re: bug#12395: 24.2.50; `C-h f emacs-version' ignores doc string;
	gives no information
Date: Sat, 20 Oct 2012 11:23:25 +0200
> From: Bastien <bzg <at> altern.org>
> Date: Sat, 20 Oct 2012 07:58:33 +0200
> Cc: 12395 <at> debbugs.gnu.org
> 
> Hi Drew,
> 
> "Drew Adams" <drew.adams <at> oracle.com> writes:
> 
> >> > > emacs -Q
> >> > > C-h f emacs-version
> >> > > Missing all information.  The doc string is ignored.
> >
> > ping.  Still true in the latest build:
> 
> I don't use MS Windows so I cannot reproduce this.

You don't need to be on Windows.  Just do

  cd lib-src && ./make-docfile -o DOC-test ../lisp/version.el

and you will see the bug.

I'm working on fixing it.




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sat, 20 Oct 2012 10:08:01 GMT) Full text and rfc822 format available.

Notification sent to "Drew Adams" <drew.adams <at> oracle.com>:
bug acknowledged by developer. (Sat, 20 Oct 2012 10:08:01 GMT) Full text and rfc822 format available.

Message #28 received at 12395-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: bzg <at> altern.org, 12395-done <at> debbugs.gnu.org
Subject: Re: bug#12395: 24.2.50; `C-h f emacs-version' ignores doc string;
	gives no information
Date: Sat, 20 Oct 2012 12:05:59 +0200
> Date: Sat, 20 Oct 2012 11:23:25 +0200
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: 12395 <at> debbugs.gnu.org
> 
> > From: Bastien <bzg <at> altern.org>
> > Date: Sat, 20 Oct 2012 07:58:33 +0200
> > Cc: 12395 <at> debbugs.gnu.org
> > 
> > Hi Drew,
> > 
> > "Drew Adams" <drew.adams <at> oracle.com> writes:
> > 
> > >> > > emacs -Q
> > >> > > C-h f emacs-version
> > >> > > Missing all information.  The doc string is ignored.
> > >
> > > ping.  Still true in the latest build:
> > 
> > I don't use MS Windows so I cannot reproduce this.
> 
> You don't need to be on Windows.  Just do
> 
>   cd lib-src && ./make-docfile -o DOC-test ../lisp/version.el
> 
> and you will see the bug.
> 
> I'm working on fixing it.

Fixed in revision 110597 on the trunk.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12395; Package emacs. (Sat, 20 Oct 2012 10:42:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>, Glenn Morris <rgm <at> gnu.org>
Cc: 12395 <at> debbugs.gnu.org, Kenichi Handa <handa <at> gnu.org>
Subject: Re: bug#12395: 24.2.50; `C-h f emacs-version' ignores doc string;
	gives no information
Date: Sat, 20 Oct 2012 12:39:11 +0200
Incidentally, is it OK that cp51932.el and eucjp-ms.el are loaded as
uncompiled Lisp files, but are not in src/lisp.mk?  That seems to fly
in the face of the commentary at the beginning of loadup.el, which
says to add them to lisp.mk, and also contradicts the current
convention of byte-compiling everything, even if not strictly speaking
necessary.

Also, charprop.el is loaded uncompiled, but its doc strings do not
follow the conventions required by make-docfile.c.  We are lucky that
none of charprop.el's forms are recognizable by make-docfile.c.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12395; Package emacs. (Sun, 21 Oct 2012 01:24:02 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 12395 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>,
	Kenichi Handa <handa <at> gnu.org>
Subject: Re: bug#12395: 24.2.50; `C-h f emacs-version' ignores doc string;
	gives no information
Date: Sat, 20 Oct 2012 21:21:20 -0400
Eli Zaretskii wrote:

> Incidentally, is it OK that cp51932.el and eucjp-ms.el are loaded as
> uncompiled Lisp files, but are not in src/lisp.mk? 

No, they should be there, well spotted. I imagine they were missed
because they are not in loadup.el, rather loaded by something that is.
(As an aside, that can be somewhat confusing, as this shows. Maybe it
would be better to move them to loadup.el. Same for term/internal.)

They don't contain any useful doc strings, so that does not matter, but
the rule for the Emacs binary in src/Makefile should depend on them.

> Also, charprop.el is loaded uncompiled, but its doc strings do not
> follow the conventions required by make-docfile.c.  We are lucky that
> none of charprop.el's forms are recognizable by make-docfile.c.

I don't see any reason _not_ to compile these 3 files.
It seems generated files are usually not compiled, but these ones
are in the repository.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12395; Package emacs. (Sat, 03 Nov 2012 14:07:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 12395 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca, handa <at> gnu.org
Subject: Re: bug#12395: 24.2.50; `C-h f emacs-version' ignores doc string;
	gives no information
Date: Sat, 03 Nov 2012 16:02:39 +0200
> From: Glenn Morris <rgm <at> gnu.org>
> Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>,  12395 <at> debbugs.gnu.org,  Kenichi Handa <handa <at> gnu.org>
> Date: Sat, 20 Oct 2012 21:21:20 -0400
> 
> Eli Zaretskii wrote:
> 
> > Incidentally, is it OK that cp51932.el and eucjp-ms.el are loaded as
> > uncompiled Lisp files, but are not in src/lisp.mk? 
> 
> No, they should be there, well spotted. I imagine they were missed
> because they are not in loadup.el, rather loaded by something that is.
> (As an aside, that can be somewhat confusing, as this shows. Maybe it
> would be better to move them to loadup.el. Same for term/internal.)

I fixed the term/internal issue in revision 110772 on the emacs-24
branch, as part of catching up with the MSDOS build.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 02 Dec 2012 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 157 days ago.

Previous Next


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