unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Achim Gratz <Stromeko@nexgo.de>, 14541@debbugs.gnu.org
Subject: bug#14541: 24.3.50; `ediff-buffers' does not play well with recent Cygwin version
Date: Thu, 6 Jun 2013 13:42:59 -0700 (PDT)	[thread overview]
Message-ID: <dcf075b2-13f9-4136-b6a5-88dd0c53efb2@default> (raw)
In-Reply-To: <87ip1rdpnn.fsf@Rainer.invalid>

> As I've been unsuccessfully trying to explain to you, there can be no
> such setup file.

And yet there is such a file.

> > But especially, please do provide something better.  I will be
> > the first to use it and to point others to it, believe me!
> 
> I think I've already said that if you want to set that option and be
> sure it takes effect, you need to do it from the system panel.

I think I've already said that I recognize that.

> That's what you might put in a comment in setup-cygwin.el, 

Which is just what I did.  Here is the comment, in case you have
not already taken a look:

;;; Without this env var setting, Cygwin causes `ediff-buffers', at
;;; least, to raise an error.  Making this setting here might have no
;;; effect, as the env var is checked only by the first Cygwin process
;;; invoked during your Windows session.  For best results, set this
;;; env var globally, in Windows itself.  An alternative might be to
;;; use `cygpath' to change from MS Windows file names to POSIX.

I might even cite this bug report there, so users can get more detail.

> without trying to produce unknown and potentially undefined or
> unwanted effects by setting the CYGWIN environment variable.

Sorry, bug I want to set that variable.  In the file, just in case
it is not set yet.

> >> It must already be set before Emacs gets started.
> >
> > Not as far as I can see.  Not for the case I use it for: using
> > Cygwin almost exclusively with Emacs.  In that use case, the
> > first Cygwin process is launched by Emacs.
> 
> There never was a dispute that it didn't solved your problem.  In
> general however, you can't even be sure that Emacs starts the first
> Cygwin process after it gets to setup-cygwin.el and if you install
> Cygwin to provide services there will never be any point in time where
> there is no Cygwin process while your session is active.

Maybe so.  There was never any dispute that setting the var in this
file is not a panacea.

> > But wasn't it you, BTW, who said that an alternative (presumably
> > working reliably) is to "use cygpath to convert to POSIX instead"?
> 
> Yes.  That warning says "please do not hand a Windows path to Cygwin",
> so you would never see this warning or need an option to suppress it if
> you would use POSIX paths only.  The tool to convert between the two
> representations is cygpath.

You claimed explicitly that the _only_ solution is to set the env var
at the system level.  And yet you also claim that there is another
solution: convert to POSIX using cygpath.





  parent reply	other threads:[~2013-06-06 20:42 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
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 [this message]
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=dcf075b2-13f9-4136-b6a5-88dd0c53efb2@default \
    --to=drew.adams@oracle.com \
    --cc=14541@debbugs.gnu.org \
    --cc=Stromeko@nexgo.de \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).