www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/16/23:12:21

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL
X-Spam-Check-By: sourceware.org
Date: Sun, 17 May 2009 06:12:04 +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: <23572106.post@talk.nabble.com>
To: cygwin AT cygwin DOT com
Message-id: <838wkwqv7f.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>
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: 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)
> 
> $ ./uname -s
> CYGWIN_NT-6.0

I meant an Emacs function, not an external program.  That Emacs
function could call the same API that uname uses to report these
values, but depending on external programs that are not necessarily
installed is not the best idea.

Thanks.

--
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