emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cygwin patches


From: Lennart Borgman
Subject: Re: Cygwin patches
Date: Sat, 21 Nov 2009 13:16:03 +0100

On Sat, Nov 21, 2009 at 1:12 PM, Ken Brown <address@hidden> wrote:
>>
>> I think that the right fix would be in browse-url-file-url, so that it
>> does return a correctly converted URL.  Using cygstart directly in
>> browse-url-of-file deviates too much from what other platforms do --
>> they all invoke the browser in browse-url.  Such a deviation could
>> mean maintenance headaches in the future.  For example, browse-url
>> takes care of setting the environment for the process being invoked,
>> while your patch short-circuits that for Cygwin.
>
> OK, that makes sense.  I'll figure out how to patch browse-url-file-url
> instead.  But it will still mean cygwin-specific code in that function.  Is
> that acceptable?
>
> [BTW, Lennart's suggestion that the cygwin-specific code should be moved to
> browse-url doesn't work.  In fact, browse-url works fine on cygwin as is; it
> just needs to be given a good URL.]


Sorry for the confusion. I meant the same as Eli here.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]