I have question regarding when running emacs with cygwin. I have installed emacs which comes with cygwin. How can I get cygwin to run emacs in its own window instead from the cygwin's console window.

I like how it is in ubuntu when I run emacs from the terminal it will open emacs's GUI.

link|improve this question

62% accept rate
I'm curious: Why don't you install the windows version of Emacs? – jgomo3 Nov 1 '11 at 22:08
That's certainly an option, but if you work mostly in the Cygwin environment it's useful to have an Emacs that understands Cygwin-style paths (/home/username/foo.txt vs. C:\cygwin\home\username\foo.txt). – Keith Thompson Nov 1 '11 at 22:15
Because cygwin gives me the feel of unix in windows box. And your response should be a comment rather than an answer. – starcorn Nov 1 '11 at 22:16
feedback

1 Answer

up vote 3 down vote accepted

Need to have an X-server running and install the x-version of emacs, cygwin includes both (if you select the correct packages during installation).

The X-server is probably started with the command startx once it's installed.

link|improve this answer
Is it necessary to install xemacs? latest version of xemacs is only v21, while emacs is v23. The emacs version i'm running on ubuntu is also v23 which can open up in a separate window – starcorn Jan 5 '11 at 20:34
@klw - No xemacs is a different flavour of emacs (another very similar program). It's not emacs with the X-libraries included. The namning is a bit confusing. – Nifle Jan 5 '11 at 20:36
@klw - You want the emacs-X11 packages – Nifle Jan 5 '11 at 20:40
@Nifle - i got that installed, but I can't find the package for x-server. could possible give me a name for it as well? btw, you don't happen to know if Xming can be used instead for cygwin's X-server? – starcorn Jan 5 '11 at 20:49
@klw - Another x-server is perfectly fine, that's what I have used most of the time, but a quick look at the cygwin packages I think you want the X11 package called xorg-server – Nifle Jan 5 '11 at 20:56
show 3 more comments
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.