delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/07/26/14:16:31

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id:references
:in-reply-to:content-type:content-id:content-transfer-encoding
:mime-version; q=dns; s=default; b=CduUiN+pCJLtnuUsUlTDArkdxADIE
wTNzN/wPx15HxJZlz8qE5PIL+ECHpdVbqJBqwqIQDs/DEeDe9p/YJ//wS7by9eT/
8EN0xHU00ROk7UlKK5oZ47yTsDPE15K/fzV/ydJTX548LMaDFKUejqNZg8vdXFTm
k18fkNuBSvODsM=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id:references
:in-reply-to:content-type:content-id:content-transfer-encoding
:mime-version; s=default; bh=DS1Z7QFmbkr1LQbSU/03dDsvwXs=; b=Wh6
2Ukf4AD1af4xDa1LXh4zzLG8t+qQq2GNK94fMTEXq/ou25MNXjrEcyZO82nz7yaC
h6GeJPKSBhOuIohhJ9ORJGwrk5l8nokSz9uIylL0vfA9j/D90mQBAdyMirp9NqSc
+RSiAsiRfTpy/l8wvyLtcTWx30aqPD7gtVay3QoM=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 spammy=Interest
X-HELO: NAM04-BN3-obe.outbound.protection.outlook.com
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WpzXM+CsY83zLG0+BnHEmtY031aqdggQknMwptMRGjqnD0E3TKmw7GGgltfgYnr7g9C3KGdU1xz0+09bwx89mI0eQorSLl6L/zE3uUnM7bXT0rAVWMhXHlQu35+sRvovOQaUIv3HBxjMT2gJbbCIaNAB7oG7VT6RFFaUVUNvqVZg0T5MbsXoNeZaZMY1L/Ussb5c5AUSaWLw0M33L6AqlffwYsyXs+FEYJPDHuSIyGdw4s9BTD9vguolUYu+LHkBmfMFNP8jOm848Tzv61BP5I+7OssW41xGYbcd6NFZEextzJJmCGBO5GhP9EmbFzPGFZ5K9pbCbo5mM3GBagYZ4Q==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SGFdizwuou9bH7UoVuOIt6wyetgyITsXdRBmN/2UYtE=; b=LDDXuGj1Wj6CG8j29atDn5j8v+dqyzsYf5E2xny2DtF9fcJzJWm1MQrTGshXj7YaT+0UJgOyzZeoXahDMsqf5KTeowLfqpIB/yHk5AS8JapFzyZMr//mLD6s/aNjuvhbWvvXxHbHpj6DZqAAOHKwZspHMJz8pzSyKbTqsCA2Jin3nUYrW887BANIQ/AYSj29rR7lHIQTriGFXsGU6MKlabefATt1jwhLv51qUmdQljBRLZBhSqVUeezWb+EFUbR1ahVe+4nGbcwAhtruGs71n7SvBzXmOXsb4Lm9ZLhGIKmdod2bvl5v8VtVqNDmeTp52K84ULs6Po3/zTdIdA9XjQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=cornell.edu;dmarc=pass action=none header.from=cornell.edu;dkim=pass header.d=cornell.edu;arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cornell.edu; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SGFdizwuou9bH7UoVuOIt6wyetgyITsXdRBmN/2UYtE=; b=MXQXrUcWMCDqNT6oO4c1O9aT7EZurkrlHyvC5EnfB9Bp6uEyjxDNcWfdQ1nCt6wnAVWqCspgVRdqT8kYrBwpmINoglnr0ks5rqmLb4fRexc59QsUEPTo+6pwpwqIj0gzfxHV/WDW61GhUSJiaxdQSB0A5ZFBldhAsUL1vqQVarQ=
From: Ken Brown <kbrown AT cornell DOT edu>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Re: Interest in Emacs patched to handle Windows paths?
Date: Fri, 26 Jul 2019 18:15:27 +0000
Message-ID: <29d7483c-a2d6-cfdf-9c05-cd4f475bfe08@cornell.edu>
References: <0F7D3B1B3C4B894D824F5B822E3E5A178FDB3DF2 AT IRSMSX102 DOT ger DOT corp DOT intel DOT com>
In-Reply-To: <0F7D3B1B3C4B894D824F5B822E3E5A178FDB3DF2@IRSMSX102.ger.corp.intel.com>
user-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0
authentication-results: spf=none (sender IP is ) smtp.mailfrom=kbrown AT cornell DOT edu;
x-ms-oob-tlc-oobclassifiers: OLM:10000;
received-spf: None (protection.outlook.com: cornell.edu does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: ksb2 AT cornell DOT edu
X-IsSubscribed: yes
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id x6QIGDue028720

On 7/26/2019 1:11 PM, Soegtrop, Michael wrote:
> Dear Cygwin Team and Users,
> 
> In May I modified Emacs for Cygwin so that it can truly handle Windows paths. I do a lot of MinGW cross compilation on Windows and want to seamlessly use tools like debuggers compiled for MinGW in Cygwin Emacs, so I need this. I also tried the Windows Emacs distrubution, but it didn't find it very convincing, because it comes with yet another Posix layer for Windows, and a rather heavy one. Cygwin Emacs is a substantially more elegant solution. One can find some emacs lisp packages to help with this, but they all rely on path translation, so an open works but the path Emacs uses internally is the Cygwin path then. This is in many cases not good enough. I found that I have to modify the core C file handling file (src/fileio.c) to make it really work.
> 
> I wanted to ask if there is general interest in this. If so I would like to publish this work. But to do so I would need some advice on how to do this. The path handling code of Emacs is localized (src/fileio.c) but quite obscure and I would even call it messy so it requires quite a few changes and it is hard to tell if my changes to support Posix and Windows paths in one build don't break compatibility with some ancient operating systems. For this reason it might be hard to get these changes into Emacs upstream, so that this would just be a compile time option.
> 
> The alternatives would be to have a separate package in Cygwin which applies a patch to emacs, say an emacs-winpath package I could maintain. Of cause I would try to get it upstream to reduce maintenance effort, but as I said, it might get tricky because I don't have access to a computer museum to test Emacs on all platforms it supports.

I made a brief attempt to do something like this a few years ago in response to 
a user request, and I found that every time I touched one part of the code, it 
broke another part of the code.  [My vague recollection is that I lost interest 
when completion stopped working.]

If you think you have something that works, I'd be interested in seeing it and 
testing it.

The discussion should probably continue on the cygwin-apps list, which is the 
place to discuss Cygwin packaging.

Ken (Cygwin's Emacs maintainer)

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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019