How to best integrate Emacs and Cygwin?

后端 未结 12 1125
予麋鹿
予麋鹿 2020-12-22 18:22

There are a ton of ways to integrate Cygwin with Emacs on Windows. EmacsWiki shows a few ideas. Here are the options that I\'ve found:

  1. Use the Emacs that com
12条回答
  •  不思量自难忘°
    2020-12-22 18:48

    Use the Emacs in Cygwin. Not XEmacs..Emacs. I just install everything from Cygwin and type the following to run Emacs:

    XWin -multiwindow
    export DISPLAY=:0.0
    emacs&
    

    It may also help to create a link to your C drive (or any other drive) like so:

    ln -s /cygdrive/c /c

    I've been using this for several months and it always works well. I constantly use advanced features like TRAMP and subversion without any issues. All advanced packages like cedet just work.

    If you hadn't noticed, I am the original poster. After all of my research and attempts, this one worked and I am VERY PLEASED. Good job Cygwin!

    Also, I recommend not using shell within Emacs. Utilities like top just don't seem to work. Instead, use MinTTY and screen. Cygwin gives you ssh directly in MinTTY (you don't need putty). The best part is that a lot of my Linux knowledge works seamlessly in Windows.

提交回复
热议问题