X-Recipient: archive-cygwin AT delorie DOT 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 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120824 Thunderbird/15.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Suppressing annoying warnings References: <86ehllr9mr DOT fsf AT corbe DOT net> <5066FBB3 DOT 409 AT cornell DOT edu> <86y5jsj12o DOT fsf AT corbe DOT net> <50671962 DOT 6020602 AT cornell DOT edu> <20121001001842 DOT GA14567 AT ednor DOT casa DOT cgf DOT cx> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-CORNELL-SPAM-CHECKED: Pawpaw X-Original-Sender: kbrown AT cornell DOT edu - Sun Nov 18 09:50:32 2012 X-PMX-CORNELL-REASON: CU_White_List_Override X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 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