From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26516 invoked by alias); 20 Jan 2016 01:26:09 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 26488 invoked by uid 89); 20 Jan 2016 01:26:09 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=cf, H*MI:sk:6416598, H*f:sk:6416598, H*i:sk:6416598 X-HELO: limerock03.mail.cornell.edu Received: from limerock03.mail.cornell.edu (HELO limerock03.mail.cornell.edu) (128.84.13.243) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 20 Jan 2016 01:26:08 +0000 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite4.serverfarm.cornell.edu [10.16.197.9]) by limerock03.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id u0K1Q66p017919; Tue, 19 Jan 2016 20:26:06 -0500 Received: from [10.13.22.4] (50-192-26-105-static.hfc.comcastbusiness.net [50.192.26.105]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id u0K1Q4Gu032739 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Tue, 19 Jan 2016 20:26:05 -0500 Subject: Re: Any progress on "Fork issues ith long command lines and long $PATH"? To: Richard Heintze , "cygwin@cygwin.com" References: <569E92D1.9030506@cornell.edu> <641659872.6133623.1453246485856.JavaMail.yahoo@mail.yahoo.com> From: Ken Brown Message-ID: <569EE230.2060600@cornell.edu> Date: Wed, 20 Jan 2016 05:39:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <641659872.6133623.1453246485856.JavaMail.yahoo@mail.yahoo.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-01/txt/msg00232.txt.bz2 [Please don't top post.] On 1/19/2016 6:34 PM, Richard Heintze wrote: > Regarding my choice of terms: I was trying use terms consistent with that old link > "https://cygwin.com/ml/cygwin/2011-02/msg00416.html". That message doesn't even mention emacs. That's why I said in my first reply to you that I couldn't make much sense of what you wrote. > (1) So is there a fix for the problem described in this link "https://cygwin.com/ml/cygwin/2011-02/msg00416.html"? According to > Corinna Vinschen's comments it is a Cygwin problem, not an emacs problem. I would love to have a fix. I still don't know the connection between that message and emacs. Could you say exactly what problem you're having? > (2) I was using $USERPROFILE as an example. We have dozens of these environment variables pointing to dozens directories. They enable us to type in the same file name to emacs's find file (ctrl-x-ctrl-f) regardless of who is logged in or which computer we are logged into (assuming that every account has the same directory structure and propertly defined environment variables). Yes we can manually translate them at a bash prompt but this is a lot more typing, cutting and pasteing. We also share the same .emacs file that contains thousands of file names that contain these environment variables. We will really missing feature of native emacs. The fact that C-x C-f expands environment variables is not a special feature of native Windows emacs. But the expansion has to yield a valid file name. In the case of Cygwin emacs, that means a Posix path. Maybe you could write a script that uses cygpath to convert the relevant environment variables to Posix paths, and then call this script from your .bashrc. 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