delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/26/12:04:27

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
To: cygwin AT cygwin DOT com
From: Harry Putnam <reader AT newsguy DOT com>
Subject: Re: Emacs from cygwin in X mode with no X running
Date: Fri, 26 Aug 2005 11:00:30 -0500
Lines: 61
Message-ID: <87y86og02p.fsf@newsguy.com>
References: <87pss1gc5g DOT fsf AT newsguy DOT com> <Xns96BE85A1DCA5Dajmrtmi AT 80 DOT 91 DOT 229 DOT 5> <87ll2ohnm9 DOT fsf AT newsguy DOT com> <Xns96BEA4942EFDFajmrtmi AT 80 DOT 91 DOT 229 DOT 5>
Mime-Version: 1.0
User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux)
X-IsSubscribed: yes

Andy Moreton <andy DOT moreton AT artimi DOT com> writes:

> On Fri, 26 Aug 2005 12:46:38 GMT, Harry Putnam wrote:
>
>> Andy Moreton <andy DOT moreton AT artimi DOT com> writes:
>> 
>>> On Fri, 26 Aug 2005 11:39:39 GMT, Harry Putnam wrote:
> [snipped]
>>>
>>> You may find it easier to teach NTemacs about cygwin paths:
>>>
>>> http://www.emacswiki.org/cgi-bin/wiki/cygwin-mount.el
>> 
>> What is supposed to happen with this?  Once loaded is it supposed to
>> make emacs know about /cygdrive?  Doesn't seem to have much of an
>> effect here.
>> 
>> M-x load-file ./cygwin-mount.el
>> C-x d /usr/bin
>> 
>> Doesn't work
>> 
>> C-x d /cygdrive/c
>> 
>> Doesn't work
>> 
>> It does seem to have tought emacs thate C:/ = / but in cygwineze that
>> isn't what is used.  There you have C:/Cygwin = /
>> 
>> So that doesn't help much with cygdrive.  Still /usr/bin is
>> unknown for example
>
> Try a little reading - its all documented in the file.
> Either use the "Cygwin Mount" group in Customize, or add the following:

> (require 'cygwin-mount)
> (cygwin-mount-activate)

I do know how to load it .. that wasn't what asked about.

I'm sorry I must seem like a lamo here and appear to be trying your
patience, but I had read most of the documentation in cygwin-mount.el,
particularly the opening sort of overview which says it will make
emacs understand cygdrive.

Here it does not.  Below is an exerpt from emacs *Messages* buffer:
You may note that after loading cygwin-mount.el.  Emacs does not know
where /cygdrive/c is.
I typed in C-x d /cygdrive/c  But emacs sees c:/cygdrive/c
I type in C-x d /usr/bin.  But emacs sees C:/usr/bin.

So it has learned neither cygwins cygdrive or cygwins idea of /.

All that seems to have transpired is that emacs now sees / and C:/.
This is not what cygwin does.

[...]
Loading c:/users/harry/.emacs-dir/cygwin-mount.el (source)...done
Loading dired...done
Reading directory c:/cygdrive/c...
dired-readin-insert: Directory c:/cygdrive/c inaccessible or nonexistent


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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