delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/26/08:49:30

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 07:46:38 -0500
Lines: 46
Message-ID: <87ll2ohnm9.fsf@newsguy.com>
References: <87pss1gc5g DOT fsf AT newsguy DOT com> <Xns96BE85A1DCA5Dajmrtmi 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 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/

- Raw text -


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