This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [1.7] Updated: {emacs,emacs-X11,emacs-el}-23.0.92-1


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]