Mail Archives: cygwin/2003/02/11/18:58:18.1
Yes, something must have happened to my cygwin emacs, because, earlier
today, I think it was interacting with my exceed program somehow. It was
letting me run emacs in cygwin the same way I did it in exceed. So, if I
typed, "emacs <any local file> &" from my cygwin tcsh shell, it would open
up my file in a separate window. Somehow it was opening it up in an exceed
window.
I reinstalled cygwin emacs, and now it functions "normally".
I wish I knew what happenned to make it work the other way.
The cygstart command works, but I don't like using emacs in the dos window.
-----Original Message-----
From: lhall AT pop DOT ma DOT ultranet DOT com [mailto:lhall AT pop DOT ma DOT ultranet DOT com]
Sent: Tuesday, February 11, 2003 3:18 PM
To: samir DOT gupta AT barra DOT com; cygwin AT cygwin DOT com
Subject: RE: looking for what is hopefully a simple answer for someone
trying to use EMACS in cygwin
OK, you're confused. You mingled the idea of using the X version with
the idea of running a console version of emacs in a different "Windows"
window. Try:
cygstart emacs
I didn't try it with emacs because I don't have it. Works with vim
though. ;-)
See "man cygstart" if you have questions about it.
Larry
Original Message:
-----------------
From: Samir Gupta samir DOT gupta AT Barra DOT COM
Date: Tue, 11 Feb 2003 14:18:53 -0800
To: cygwin AT cygwin DOT com
Subject: RE: looking for what is hopefully a simple answer for someone
trying to use EMACS in cygwin
Hello,
Yes, that is what I am trying to do. However, I would like emacs to open up
in a separate window from the prompt window.
to open up my tcsh I am running:
rxvt -e tcsh
then, from the tcsh prompt:
1) If I type "emacs" I get the error I pasted below (if the enviornment
variable DISPLAY is set).
2) If I type "emacs" and the environment variable DISPLAY is not set, then
emacs opens up in the current window.
3) If I type "emacs -nw", then regardless of whether or not DISPLAY is set,
emacs opens up in the current window.
But I can't get emacs to open up in its own window....!
-----Original Message-----
From: Elfyn McBratney [mailto:elfyn-cygwin AT exposure DOT org DOT uk]
Sent: Tuesday, February 11, 2003 2:06 PM
To: cygwin; Samir Gupta
Subject: Re: looking for what is hopefully a simple answer for someone
trying to use EMACS in cygwin
> Why would exceed cause this problem? I have the problem even when I don't
> run exceed on this computer. I am also almost certain that this did not
> work when I tried it on a computer that did not have exceed on it at all.
>
Are you trying to run plain-old emacs from a cygwin prompt and it keeps
telling you about the X thing? If so just run `emacs -nw'. If not, then
Sorry! :-)
Regards,
Elfyn McBratney
elfyn AT exposure DOT org DOT uk
www.exposure.org.uk
> Is there anything else that could be wrong?
>
> Thanks
>
>
>
> -----Original Message-----
> From: lhall AT pop DOT ma DOT ultranet DOT com [mailto:lhall AT pop DOT ma DOT ultranet DOT com]
> Sent: Tuesday, February 11, 2003 1:41 PM
> To: samir DOT gupta AT barra DOT com; cygwin AT cygwin DOT com
> Subject: RE: looking for what is hopefully a simple answer for someone
> trying to use EMACS in cygwin
>
>
> Sounds like a problem with Exceed to me then.
>
> Larry
>
> Original Message:
> -----------------
> From: Samir Gupta samir DOT gupta AT Barra DOT COM
> Date: Tue, 11 Feb 2003 12:32:18 -0800
> To: cygwin AT cygwin DOT com
> Subject: RE: looking for what is hopefully a simple answer for someone
> trying to use EMACS in cygwin
>
>
> That does not work for some reason, here is what happens when I open up a
> tcsh shell (without my .tcshrc):
>
> [sgupta AT sguptaxxxx /cygdrive/c]$ echo $DISPLAY
> :0
> [sgupta AT sguptaxxxx /cygdrive/c]$ emacs
> emacs: Cannot connect to X server :0.
> Check the DISPLAY environment variable or use `-d'.
> Also use the `xhost' program to verify that it is set to permit
> connections from your machine.
>
> [sgupta AT sguptaxxxx /cygdrive/c]$
>
>
>
>
> -----Original Message-----
> From: ejfried AT ca DOT sandia DOT gov [mailto:ejfried AT ca DOT sandia DOT gov]
> Sent: Tuesday, February 11, 2003 12:07 PM
> To: Samir Gupta
> Subject: Re: looking for what is hopefully a simple answer for someone
> trying to use EMACS in cygwin
>
>
> I think Samir Gupta wrote:
> >
> > 2) why do I have to enter an IP address in the Display variable if I am
> > using cygwin on my local machine? What would I do if I were not
connected
> > to a network?
>
> You can omit the address and the screen number -- i.e., set DISPLAY to
> ":0" and this will be fine. The local machine is then understood.
>
>
> ---------------------------------------------------------
> Ernest Friedman-Hill
> Distributed Systems Research Phone: (925) 294-2154
> Sandia National Labs FAX: (925) 294-2234
> PO Box 969, MS 9012 ejfried AT ca DOT sandia DOT gov
> Livermore, CA 94550 http://herzberg.ca.sandia.gov
>
> --
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting: http://cygwin.com/bugs.html
> Documentation: http://cygwin.com/docs.html
> FAQ: http://cygwin.com/faq/
>
>
> --------------------------------------------------------------------
> mail2web - Check your email from the web at
> http://mail2web.com/ .
>
>
> --
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting: http://cygwin.com/bugs.html
> Documentation: http://cygwin.com/docs.html
> FAQ: http://cygwin.com/faq/
>
>
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -