all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Achim Gratz <Stromeko@nexgo.de>
To: 14541@debbugs.gnu.org
Subject: bug#14541: 24.3.50; `ediff-buffers' does not play well with recent Cygwin version
Date: Wed, 05 Jun 2013 22:17:27 +0200	[thread overview]
Message-ID: <87a9n41fe0.fsf@Rainer.invalid> (raw)
In-Reply-To: <7d461150-fe55-4278-bb7a-22fc24811364@default>

Drew Adams writes:
>> It is not your business (or anyone else's but the user) to set that
>> environment variable.  
>
> I am the user.  Just trying to make the recent Cygwin versionn work with
> Emacs, like an older version did.

You are putting this file on EmacsWiki for others to use, aren't you?
Secondly, that warning is there for a reason, so simply switching it off
certainly isn't going to do the right thing for everyone.

>> Don't.  You might override other settings that the user wants to take
>> effect or at best produce a confusing no-op.  You'd be much better off
>> if you would use cygpath to convert to POSIX instead.
>
> I'll leave it in setup-cygwin.el, at least for now.  But I'll add a
> comment per what Eli said: that if come other Cygwin process started
> earlier and turned this off then turning it on here has no effect.

Again: it simply doesn't work the way you think it works.  The comment
isn't helping that issue in any way.  It is wrong to do this in
setup-cygwin.el even when you want this environment variable to have
exactly that value.  It must already be set before Emacs gets started.

> Sounds like the only good approach for an Emacs user on Windows, with
> Cygwin installed, is to set the env var at the system level.  If that
> is the case (please confirm) then I'll mention that too in a
> setup-cygwin.el comment.  (And we might want to mention that in the
> Emacs manual?)

The only way to have it working reliably is to set it from the system
panel, then log off and on again.

I'm not sure what you want Emacs to document: the problem is that you
are using non-Windows tools together with a Windows Emacs and you aren't
correctly converting the different path conventions by these tools and
Emacs.  That is not a Cygwin problem and not an Emacs problem.

> OK, I suppose that's not the only good approach.  I guess you're
> suggesting another, for someone who is willing to change to POSIX:
> use the cygpath utility.  Feel free to document that one (for Emacs
> users)...

Actually, emacs-w32 from Cygwin is much better in almost all regards and
doesn't have the problem to begin with because it never uses any Windows
path names.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Wavetables for the Terratec KOMPLEXER:
http://Synth.Stromeko.net/Downloads.html#KomplexerWaves






  parent reply	other threads:[~2013-06-05 20:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <<7d461150-fe55-4278-bb7a-22fc24811364@default>
     [not found] ` <<83hahfxkw9.fsf@gnu.org>
2013-06-03 16:21   ` bug#14541: 24.3.50; `ediff-buffers' does not play well with recent Cygwin version Drew Adams
2013-06-03 16:37     ` Eli Zaretskii
2013-06-03 16:50     ` Achim Gratz
2013-06-03 20:15       ` Drew Adams
2013-06-03 20:23         ` Eli Zaretskii
2013-06-05 20:17         ` Achim Gratz [this message]
2013-06-05 23:55           ` Drew Adams
2013-06-06 19:07             ` Achim Gratz
2013-06-06 20:21               ` Eli Zaretskii
2022-02-13  9:26                 ` Lars Ingebrigtsen
2013-06-06 20:42               ` Drew Adams
2013-06-03  4:12 Drew Adams
2013-06-03 15:40 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a9n41fe0.fsf@Rainer.invalid \
    --to=stromeko@nexgo.de \
    --cc=14541@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.