This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Emacs from cygwin in X mode with no X running
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/