From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#19502: 24.4; Emacs 24.4 on windows: the contents of the system-configuration variable has changed, but its docstring has not. I prefer the behaviour described in the docstring. Date: Sun, 04 Jan 2015 17:57:38 +0200 Message-ID: <837fx2a68d.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1420387102 22356 80.91.229.3 (4 Jan 2015 15:58:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 4 Jan 2015 15:58:22 +0000 (UTC) Cc: 19502@debbugs.gnu.org To: Albert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 04 16:58:14 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y7nZF-00051v-20 for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Jan 2015 16:58:13 +0100 Original-Received: from localhost ([::1]:57315 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7nZE-0001lN-JL for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Jan 2015 10:58:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44086) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7nZB-0001kd-9R for bug-gnu-emacs@gnu.org; Sun, 04 Jan 2015 10:58:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y7nZ4-00062l-NU for bug-gnu-emacs@gnu.org; Sun, 04 Jan 2015 10:58:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55383) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7nZ4-00062e-Kh for bug-gnu-emacs@gnu.org; Sun, 04 Jan 2015 10:58:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Y7nZ4-0000mD-FW for bug-gnu-emacs@gnu.org; Sun, 04 Jan 2015 10:58:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Jan 2015 15:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19502 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19502-submit@debbugs.gnu.org id=B19502.14203870612958 (code B ref 19502); Sun, 04 Jan 2015 15:58:02 +0000 Original-Received: (at 19502) by debbugs.gnu.org; 4 Jan 2015 15:57:41 +0000 Original-Received: from localhost ([127.0.0.1]:36516 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y7nYi-0000le-Ru for submit@debbugs.gnu.org; Sun, 04 Jan 2015 10:57:41 -0500 Original-Received: from mtaout29.012.net.il ([80.179.55.185]:49981) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y7nYf-0000lR-0W for 19502@debbugs.gnu.org; Sun, 04 Jan 2015 10:57:39 -0500 Original-Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0NHN00500TF7Z700@mtaout29.012.net.il> for 19502@debbugs.gnu.org; Sun, 04 Jan 2015 17:54:37 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NHN002MMTJ1WQ30@mtaout29.012.net.il>; Sun, 04 Jan 2015 17:54:37 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:97987 Archived-At: > Date: Sun, 4 Jan 2015 10:55:14 +0100 > From: Albert > > Evaluating (insert system-configuration) gives > in emacs 24.3: i386-mingw-nt6.2.9200 > in emacs 24.4: i686-pc-mingw32 > > The important difference here is the absence of the "nt6.2.9200" part in > emacs 24.4. I have use cases that need to know the version of the > windows emacs is currently running on. I would therefore prefer > something like "i686-pc-mingw32-nt6.2.9200" if that is somehow better or > more accurate than the original string from 24.3. Perhaps the "pc" part > is not needed? The native MS-Windows build of Emacs now uses the same code as on other platforms to compute this string, so the OS version is not included. I fixed the doc string, thanks for pointing out the discrepancy. > In emacs 24.4, the docstring for the variable system-configuration is: > "system-configuration is a variable defined in `C source code'. > Its value is "i686-pc-mingw32" > > Documentation: > Value is string indicating configuration Emacs was built for. > On MS-Windows, the value reflects the OS flavor and version on which > Emacs is running." > > I would prefer if this docstring would remain correct. > > But, while checking the contents of this entire mail, I see a version > number of 6.3.9600 reported just a few lines below. Exactly. So in fact the OS version in old value was redundant, and no information is lost with this change. > Could it be that the windows version reported in the > system-configuration variable of emacs 24.3 is the version under > which that emacs was build? No, it reported the version of the OS where Emacs was running. > So it seems the old emacs 24.3 behaviour is not following the > docstring either. It will in the next release. > Still, I would prefer it if the variable could live up to its > current docstring, if possible. Given that the information you want is still available, both in the bug report and independently (see below), why would you need that information in system-configuration as well? > If that is not possible, is there another way of asking emacs on > which windows version it is running? Is it documented somewhere > where I could find it? The bug-reporting code obviously manages to > do it, but when I searched for alternatives yesterday I couldn't > find any. You want x-server-version (a function), it is what report-emacs-bug calls to get that info.