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


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.girod@gmail.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.

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

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