X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00,SPF_NEUTRAL,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Message-ID: <4F5B6334.1090503@cornell.edu> Date: Sat, 10 Mar 2012 09:20:36 -0500 From: Ken Brown User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.1) Gecko/20120208 Thunderbird/10.0.1 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Cygwin Emacs and windows paths References: <1DDD8780-2F3A-4399-8D33-2029B69F7271 AT letterboxes DOT org> In-Reply-To: <1DDD8780-2F3A-4399-8D33-2029B69F7271@letterboxes.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 AT cornell DOT edu - Sat Mar 10 09:20:45 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 3/10/2012 1:17 AM, Leo wrote: > Hi there > > Recently I bit the bullet and made the switch from NT Emacs to Cygwin > Emacs. And with this finally the annoying bash error message "cannot > set terminal process group (-1): Inappropriate ioctl for device" > disappeared... :-) > > Now my normal Windows paths copied from Windows Explorer don't work > anymore in Emacs - and vice versa. I know I can use `cygpath` to > convert /on the command line/, but is there any integration for this > in Cygwin Emacs? No. There may actually be some obsolete Cygwin-specific code in files.el that's preventing this from working. It's possible that emacs is trying to be too smart instead of letting Cygwin handle the file names. (See, for instance, `convert-standard-filename'.) I'll take a look at it when I get a chance. But it's generally recommended that you use POSIX-style paths in the Cygwin environment. For example, write `/cygdrive/c/foo' instead of `c:\foo'. To save typing, you can put the following line into /etc/fstab: C: /c some_fs binary,posix=0 0 0 Then you can just type `/c/foo'. See the Cygwin User's Guide for more information: http://cygwin.com/cygwin-ug-net/using.html#cygdrive http://cygwin.com/cygwin-ug-net/using.html#mount-table 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