Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
To: cygwin@cygwin.com
From: Harry Putnam <reader@newsguy.com>
Subject:  Re: Emacs from cygwin in X mode with no X running
Date:  Fri, 26 Aug 2005 07:46:38 -0500
Lines: 46
Message-ID:  <87ll2ohnm9.fsf@newsguy.com>
References:  <87pss1gc5g.fsf@newsguy.com> <Xns96BE85A1DCA5Dajmrtmi@80.91.229.5>
Mime-Version:  1.0
Content-Type:  text/plain; charset=us-ascii
User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux)
X-IsSubscribed: yes

Andy Moreton <andy.moreton@artimi.com> writes:

> On Fri, 26 Aug 2005 11:39:39 GMT, Harry Putnam wrote:
>
>> My background is unix/linux so when I find myself on MS OS of one
>> vintage or another I sorely need the cygwin tools.  
>> 
>> However, one thing I've not found a way to get smoothed out is how to
>> run emacs.
>> 
>> I want to run emacs in gui mode but without starting an X session.
>> That is, similar to what is possible with ntemacs.
>> 
>> Now I could just use ntemacs but then one runs into path problems
>> since that tool doesn't know about `cygdrive', and I see no handy way
>> to make that work with both cygwin setup and win native stuff.
>> 
>> Using the cygwin installed emacs I get the -nw effect as if emacs were
>> running in a linux console, unless I start an X session and run emacs
>> from there.
>> 
>> Is there a handy way (on winxp) to use emacs as if in X but without
>> installing or using the X side of cygwin?
>
> 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


--
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/

