delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/17/11:28:40

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_37,SPF_SOFTFAIL
X-Spam-Check-By: sourceware.org
Date: Sun, 17 May 2009 18:27:43 +0300
From: Eli Zaretskii <eliz AT gnu DOT org>
Subject: Re: [1.7] Updated: {emacs,emacs-X11,emacs-el}-23.0.92-1
In-reply-to: <20090517043313.GA32581@ednor.casa.cgf.cx>
To: cygwin AT cygwin DOT com
Message-id: <8363fzrbps.fsf@gnu.org>
References: <4A0D6E41 DOT 3030108 AT cornell DOT edu> <83hbzlqto1 DOT fsf AT gnu DOT org> <23572106 DOT post AT talk DOT nabble DOT com> <838wkwqv7f DOT fsf AT gnu DOT org> <20090517043313 DOT GA32581 AT ednor DOT casa DOT cgf DOT cx>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

> Date: Sun, 17 May 2009 00:33:13 -0400
> From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
> 
> On Sun, May 17, 2009 at 06:12:04AM +0300, Eli Zaretskii wrote:
> >> Date: Sat, 16 May 2009 02:52:22 -0700 (PDT)
> >> From: Marc Girod <marc dot girod at gmail dot com>
> >> 
> >> Eli Zaretskii wrote:
> >> > 
> >> > ...if Emacs could know the Cygwin version.
> >> > 
> >> uname -r
> >> 
> >> this gives on 2 installations e.g.:
> >> 
> >> 1.5.25(0.156/4/2)
> >> 1.7.0(0.210/5/3)
> 
> We haven't patched the uname program.  emacs can use the same standard
> UNIX function calls as uname:
> 
> http://cygwin.com/ml/cygwin/2009-05/msg00496.html

Great, thanks.  This means that an existing Emacs variable
`operating-system-release', whose value is derived from uts.release,
should hold either "1.5.SOMETHING" or "1.7.SOMETHING", and that can be
used to distinguish between the two Cygwin families.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019