X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-3.5 required=5.0	tests=AWL,BAYES_20,KHOP_THREADED,RCVD_IN_HOSTKARMA_NO,RP_MATCHES_RCVD,SPF_NEUTRAL
X-Spam-Check-By: sourceware.org
Message-ID: <50A8F5B2.6030301@cornell.edu>
Date: Sun, 18 Nov 2012 09:50:26 -0500
From: Ken Brown <kbrown@cornell.edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120824 Thunderbird/15.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Suppressing annoying warnings
References: <86ehllr9mr.fsf@corbe.net> <5066FBB3.409@cornell.edu> <86y5jsj12o.fsf@corbe.net> <50671962.6020602@cornell.edu> <20121001001842.GA14567@ednor.casa.cgf.cx> <k8aohi$q5i$1@ger.gmane.org>
In-Reply-To: <k8aohi$q5i$1@ger.gmane.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-PMX-CORNELL-SPAM-CHECKED: Pawpaw
X-Original-Sender: kbrown@cornell.edu - Sun Nov 18 09:50:32 2012
X-PMX-CORNELL-REASON: CU_White_List_Override
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 11/18/2012 8:41 AM, Uday S Reddy wrote:
> On 10/1/2012 1:18 AM, Christopher Faylor wrote:
>> On Sat, Sep 29, 2012 at 11:53:06AM -0400, Ken Brown wrote:
>>> On 9/29/2012 11:33 AM, Daniel Corbe wrote:
>>>> If this were an environment that I had customized on my own I might
>>>> agree with you; however, this is a standard toolkit that I'm working
>>>> with and its functionally portable to every platform I've tried to use
>>>> so far except for cygwin.
>>>
>>> And the reason is that this "standard toolkit" uses an obsolete setting
>>> of the CYGWIN environment variable.  It needs to be updated.
>>
>> Especially since it had absolutely no business setting the variable to
>> begin with.
>
> I am trying to understand why it is said that emacs-w3m had no business
> setting the environment variable.
>
> Obviously, it was a setting recommended in earlier versions of Cygwin,
> and emacs-w3m is setting it for its own sub-processes.  Is there a
> better way of arranging things?

Yes.  Just don't set the CYGWIN environment variable.

Part of the confusion in this discussion is caused by the fact that the 
code we're talking about is not used by Cygwin emacs, but rather by 
native Windows emacs running Cygwin programs as subprocesses:

(if (eq system-type 'windows-nt)
     (cons "CYGWIN" "binmode tty"))

[For the Cygwin build of emacs, `system-type' is `cygwin', not 
`windows-nt'.]

Secondly, this code can't possibly do anything useful even in native 
Windows emacs.  The settings "binmode" and "tty" for the CYGWIN 
environment variable are both obsolete.

Ken

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

