GNU bug report logs - #1171
ns-version-string

Previous Next

Packages: ns, emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Wed, 15 Oct 2008 01:20:03 UTC

Severity: normal

Done: Adrian Robert <adrian.b.robert <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Yavor Doganov <yavor <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>, 1171 <at> debbugs.gnu.org,
        Adrian Robert <adrian.b.robert <at> gmail.com>
Cc: Yavor Doganov <yavor <at> gnu.org>
Subject: Re: bug#1171: #1171 - ns-version-string - Emacs bug report logs
Date: Wed, 12 Nov 2008 15:34:07 +0200
At Wed, 22 Oct 2008 21:16:05 -0400,
Stefan Monnier wrote:
> 
> >> 103.110.117.115.116.101.112.45.103.117.105.45.48.46.49.50.46.48
> > ("gnustep-gui-0.12.0"
> 
> The first line above seems to list the ascii codes of the second line.

Yes, it looks like this this code in emacsbug.el

	    (insert "Windowing system distributor `" (x-server-vendor)
                    "', version "
		    (mapconcat 'number-to-string (x-server-version) ".") "\n")

really expects x-server-version to be a number.

There are more problems with ns-version-string:

1) It shows the FQDN, which some users might find inappropriate.  At
   least this is not consistent with the other flavors.

2) It doesn't show the host on which Emacs was built, but the host on
   which it is currently running, e.g.

GNU Emacs 23.0.60 (i486-pc-linux-gnu, NS gnustep-gui-0.12.0)
 of 2008-11-12 on tzotzolana.yavor.doganov.org, modified for gNewSense

This was built on a different host and I installed it on tzotzolana as
a binary (*.deb) package from an APT repository.

3) The date is also wrong, and shows the current date, not the date
   Emacs was built.  (The actual build date in the above example is
   2008-10-27). I guess this is a nasty consequence of CANNOT_DUMP...




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

Previous Next


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