unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Eli Zaretskii" <eliz@is.elta.co.il>
Cc: emacs-devel@gnu.org
Subject: Re: Using GDB in NTEMACS
Date: Fri, 22 Feb 2002 22:48:34 +0200	[thread overview]
Message-ID: <8582-Fri22Feb2002224834+0200-eliz@is.elta.co.il> (raw)
In-Reply-To: <200202221937.g1MJbNw31079@rum.cs.yale.edu> (monnier+gnu/emacs@rum.cs.yale.edu)

> From: "Stefan Monnier" <monnier+gnu/emacs@rum.cs.yale.edu>
> Date: Fri, 22 Feb 2002 14:37:23 -0500
> 
> I haven't seen any example where the use of
> cygwin-mount.el introduces any problem (let along subtle ones).

cygwin-mount.el isn't enough to solve this.

To support Cygwin-style file names, we need to fix all Emacs
primitives which deal with file names so that they convert them to the
native Windows form.  This includes ``classic'' file-name primitives,
such as expand-file-name and substitute-in-file-name; less obvious
ones, such as Windows-specific parts of call-process; and probably
some more.  This is hard (look at the mess in expand-file-name, and
you'll see why), but doable.

We then need to chase all the Lisp code that takes apart file names or
constructs file names from their parts, and fix whatever needs fixing
there.  This is where I expect the major part of the effort to be
spent, since the amount of code is enormous, and it's not always
obvious what to do in each case.

And then there are problems which are simply unsolvable in Emacs, such
as when the user changes the mount points outside Emacs (so that "/"
now references a different drive).

So this is a significant effort, if we want to do it right.  We could
have solved it easier if we could make changes to the Windows
run-time, but we can't.

I think before someone embarks on such a journey, we should talk to
Cygwin developers and ask them to solve this on their side, at least
for core development tools for which Emacs provides an interface.

> > I don't know on what you are basing this.  Did the Cygwin developers
> > say they don't intend to fix this, ever?  Did anyone even ask them?
> 
> It's based on my understanding of their intent.  If their intent
> is to provide a Unix API, then they pretty much have no choice.

I don't see why they should have no choice.  Cygwin could support both
forms of file names.  There's no contradiction between them, as long
as Cygwin controls the run-time library, something that Emacs doesn't.

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel


  reply	other threads:[~2002-02-22 20:48 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <u6phld6ea3r317@corp.supernews.com>
     [not found] ` <3C6CDC0F.ECB82017@is.elta.co.il>
     [not found]   ` <m3n0y9xuf0.fsf@benny-ppc.crocodial.de>
     [not found]     ` <3C6F2F5F.DCBC0805@is.elta.co.il>
     [not found]       ` <5l4rketmyq.fsf@rum.cs.yale.edu>
     [not found]         ` <3C71EC79.7EE4D14C@is.elta.co.il>
     [not found]           ` <5leljhsfuf.fsf@rum.cs.yale.edu>
     [not found]             ` <m3k7t9z22l.fsf@nyaumo.btinternet.com>
     [not found]               ` <5lg03xqm84.fsf@rum.cs.yale.edu>
     [not found]                 ` <m3bselz0b6.fsf@nyaumo.btinternet.com>
     [not found]                   ` <5lbselqjav.fsf@rum.cs.yale.edu>
     [not found]                     ` <3C73260B.C9111ECB@is.elta.co.il>
     [not found]                       ` <5l3czwqj3m.fsf@rum.cs.yale.edu>
     [not found]                         ` <3C73D10E.A08C2504@is.elta.co.il>
     [not found]                           ` <5lofijq13j.fsf@rum.cs.yale.edu>
     [not found]                             ` <87pu2zlppc.fsf@charter.net>
     [not found]                               ` <3C748F5B.6F50B5EF@is.elta.co.il>
     [not found]                                 ` <874rkbxpar.fsf@charter.net>
     [not found]                                   ` <3C74E05D.781AD1E0@is.elta.co.il>
2002-02-22 17:36                                     ` Using GDB in NTEMACS Stefan Monnier <foo@acm.com>
2002-02-22 19:00                                       ` Eli Zaretskii
2002-02-22 19:30                                         ` Jon Cast
2002-02-22 19:55                                           ` Cygwin build (was: Using GDB in NTEMACS) Eli Zaretskii
2002-02-22 20:53                                           ` Using GDB in NTEMACS Jason Rumney
2002-02-24  1:32                                             ` Jason Rumney
2002-02-24 22:00                                               ` Jon Cast
2002-02-22 19:37                                         ` Stefan Monnier
2002-02-22 20:48                                           ` Eli Zaretskii [this message]
2002-02-23  9:19                                             ` Cygwin-mount.el (Was: Re: Using GDB in NTEMACS) Jari Aalto+mail.linux
2002-02-23  9:53                                               ` Eli Zaretskii
2002-02-22 21:01                                           ` Using GDB in NTEMACS Jason Rumney
2002-02-23  9:29                                             ` cygwin-mount.el (Was Re: Using GDB in NTEMACS) Jari Aalto+mail.emacs
2002-02-23  9:57                                               ` Eli Zaretskii
2002-02-26 10:06                                                 ` Emacs for Cygwin (was: cygwin-mount.el, " Ehud Karni
     [not found] <m37kp2qzhg.fsf@nyaumo.btinternet.com>
2002-02-27  4:00 ` Using GDB in NTEMACS Jon Cast

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=8582-Fri22Feb2002224834+0200-eliz@is.elta.co.il \
    --to=eliz@is.elta.co.il \
    --cc=emacs-devel@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 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).