From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Albert 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, 4 Jan 2015 10:55:14 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c1ee4604d683050bd09208 X-Trace: ger.gmane.org 1420365379 13020 80.91.229.3 (4 Jan 2015 09:56:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 4 Jan 2015 09:56:19 +0000 (UTC) To: 19502@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 04 10:56:12 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 1Y7hut-0002NV-9q for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Jan 2015 10:56:11 +0100 Original-Received: from localhost ([::1]:56504 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7hus-0001UC-9b for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Jan 2015 04:56:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51360) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7hum-0001U6-NF for bug-gnu-emacs@gnu.org; Sun, 04 Jan 2015 04:56:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y7hul-0002DT-1A for bug-gnu-emacs@gnu.org; Sun, 04 Jan 2015 04:56:04 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54846) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7huk-0002DN-UK for bug-gnu-emacs@gnu.org; Sun, 04 Jan 2015 04:56:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Y7huk-0005rn-IC for bug-gnu-emacs@gnu.org; Sun, 04 Jan 2015 04:56:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Albert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Jan 2015 09:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 19502 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.142036534622525 (code B ref -1); Sun, 04 Jan 2015 09:56:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Jan 2015 09:55:46 +0000 Original-Received: from localhost ([127.0.0.1]:35979 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y7huT-0005rE-2U for submit@debbugs.gnu.org; Sun, 04 Jan 2015 04:55:45 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:49606) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y7huP-0005r4-Ac for submit@debbugs.gnu.org; Sun, 04 Jan 2015 04:55:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y7huJ-00026n-T8 for submit@debbugs.gnu.org; Sun, 04 Jan 2015 04:55:41 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:40086) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7huJ-00026h-Q4 for submit@debbugs.gnu.org; Sun, 04 Jan 2015 04:55:35 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51077) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7huA-0001PJ-L5 for bug-gnu-emacs@gnu.org; Sun, 04 Jan 2015 04:55:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y7hu0-0001uP-5F for bug-gnu-emacs@gnu.org; Sun, 04 Jan 2015 04:55:26 -0500 Original-Received: from mail-ob0-x233.google.com ([2607:f8b0:4003:c01::233]:42832) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7htz-0001sz-VU for bug-gnu-emacs@gnu.org; Sun, 04 Jan 2015 04:55:16 -0500 Original-Received: by mail-ob0-f179.google.com with SMTP id va2so57551396obc.10 for ; Sun, 04 Jan 2015 01:55:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=1MQCEMfyu9Ky7n0BAUfmLiYPCWrUKSJOj4AozUDiH4M=; b=Kp2II0YpFeIukUAPy5QjPYFXSa85mcN1KaYs1MtVoXkkUtnJKZjOpG54GG3Y7anD6Y WSO8rqLCg1lcFoSeEAdulhAfZu9OByRntTlqZoKtvkB5hcHgCBLYAopk2D+PE8rqNmkc R/4xEBvNYQ8G7XYPsVULq0KTeOlGGldzPvv0fvAoaYJImsU1hAfbjnya+swcl6+cj6sx 2gnV81FPQeOGMhDGgZqX3v2cNZyVrIbMx1RcbKQols8TGbmWTBpz4gjO46yT4j4/J3X7 sLfV85v6q6XbuGavHBXs4EAv1vC/s9664+FSGO1lny9mqUi0T77GYHBYCpHlT8Q8gb3f Icrw== X-Received: by 10.182.246.163 with SMTP id xx3mr1120174obc.83.1420365314445; Sun, 04 Jan 2015 01:55:14 -0800 (PST) Original-Received: by 10.60.121.101 with HTTP; Sun, 4 Jan 2015 01:55:14 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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:97984 Archived-At: --001a11c1ee4604d683050bd09208 Content-Type: text/plain; charset=UTF-8 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? 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. I am running windows 8.1 nowadays so that one is more accurate. 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? In that case, the version wouldn't be useful and even confusing. So it seems the old emacs 24.3 behaviour is not following the docstring either. Still, I would prefer it if the variable could live up to its current docstring, if possible. 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. Thank "you" for the new version, Albert. In GNU Emacs 24.4.1 (i686-pc-mingw32) of 2014-10-24 on LEG570 Windowing system distributor `Microsoft Corp.', version 6.3.9600 Configured using: `configure --prefix=/c/usr' Important settings: value of $LANG: NLD locale-coding-system: cp1252 Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-a ( i n s e r t SPC s y s t e m - c o n f i g u r a t i o n ) C-x C-e Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. nil Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils dired time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp w32-common-fns disp-table w32-win w32-vars tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process w32notify w32 multi-tty emacs) Memory information: ((conses 8 81100 7139) (symbols 32 17758 0) (miscs 32 38 158) (strings 16 11946 4623) (string-bytes 1 305328) (vectors 8 9285) (vector-slots 4 385622 6114) (floats 8 56 301) (intervals 28 423 131) (buffers 508 13)) --001a11c1ee4604d683050bd09208 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Evaluating (insert system-configuratio= n) gives
in emacs 24.3: i386-mingw-nt6.2.9200
in emacs = 24.4: i686-pc-mingw32

The important difference her= e 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 e= macs 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?

In emacs 2= 4.4, the docstring for the variable system-configuration is:
&quo= t;system-configuration is a variable defined in `C source code'.
<= div>Its value is "i686-pc-mingw32"

Docum= entation:
Value is string indicating configuration Emacs was buil= t for.
On MS-Windows, the value reflects the OS flavor and versio= n on which
Emacs is running."

I wou= ld 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. I am running
=
windows 8.1 nowadays so that one is more accurate. Could it be that
the windows version reported in the system-configuration variable o= f
emacs 24.3 is the version under which that emacs was build? In = that
case, the version wouldn't be useful and even confusing.=

So it seems the old emacs 24.3 behaviour is not f= ollowing the
docstring either. Still, I would prefer it if the va= riable could live
up to its current docstring, if possible. If th= at 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?=C2=A0
The bug-reporting code obviously manages t= o do it, but when I searched=C2=A0
for alternatives yesterday I c= ouldn't find any.

Thank "you" for th= e new version,

Albert.

In GNU Emacs 24.4.1 (i686-pc-mingw32)
=C2=A0of 2014-= 10-24 on LEG570
Windowing system distributor `Microsoft Corp.'= ;, version 6.3.9600
Configured using:
=C2=A0`configure = --prefix=3D/c/usr'

Important settings:
=C2=A0 value of $LANG: NLD
=C2=A0 locale-coding-system: cp1252=

Major mode: Lisp Interaction

=
Minor modes in effect:
=C2=A0 tooltip-mode: t
=C2= =A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
= =C2=A0 tool-bar-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 = file-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 blink-cursor-mode: t
= =C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compression-mode: t
=C2=A0 line-number-mode: = t
=C2=A0 transient-mark-mode: t

Recent i= nput:
<help-echo> <help-echo> <help-echo> <h= elp-echo> <help-echo>=C2=A0
<menu-bar> <buffer&= gt; C-a ( i n s e r t SPC s y s t e=C2=A0
m - c o n f i g u r a t= i o n ) C-x C-e <left> <left>=C2=A0
<left> <= ;left> <left> <left> <left> <left> <left> = <left>=C2=A0
<left> <left> <left> <lef= t> <left> <return> <help-echo>=C2=A0
<hel= p-echo> <help-echo> <help-echo> <help-echo> <help-e= cho>=C2=A0
<help-echo> <help-echo> <menu-bar>= ; <help-menu> <se
nd-emacs-bug-report>

=
Recent messages:
For information about GNU Emacs and t= he GNU system, type C-h C-a.
nil

Load-pa= th shadows:
None found.

Features:
<= div>(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mm= l
easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc22= 31
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-= drums
mm-util help-fns mail-prsvr mail-utils dired time-date tool= tip electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel = dos-w32 ls-lisp
w32-common-fns disp-table w32-win w32-vars tool-b= ar dnd fontset image
regexp-opt fringe tabulated-list newcomment = lisp-mode prog-mode register
page menu-bar rfn-eshadow timer sele= ct scroll-bar mouse jit-lock
font-lock syntax facemenu font-core = frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai = tai-viet lao korean japanese hebrew
greek romanian slovak czech e= uropean ethiopic indian cyrillic chinese
case-table epa-hook jka-= cmpr-hook help simple abbrev minibuffer nadvice
loaddefs button f= aces cus-face macroexp files text-properties overlay
sha1 md5 bas= e64 format env code-pages mule custom widget
hashtable-print-read= able backquote make-network-process w32notify w32
multi-tty emacs= )

Memory information:
((conses 8 81100 7= 139)
=C2=A0(symbols 32 17758 0)
=C2=A0(miscs 32 38 158)=
=C2=A0(strings 16 11946 4623)
=C2=A0(string-bytes 1 30= 5328)
=C2=A0(vectors 8 9285)
=C2=A0(vector-slots 4 3856= 22 6114)
=C2=A0(floats 8 56 301)
=C2=A0(intervals 28 42= 3 131)
=C2=A0(buffers 508 13))

--001a11c1ee4604d683050bd09208--