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 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 Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 > > 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 > >> > >> 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/