From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: The Quiet Center Newsgroups: gmane.emacs.help Subject: Integrating Windows Emacs with Cygwin - how I got it working Date: Sat, 27 Feb 2010 02:11:58 -0800 (PST) Organization: http://groups.google.com Message-ID: <7d8c5727-9136-4b34-bc9d-0808e37c094d@e1g2000yqh.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1267267296 1613 80.91.229.12 (27 Feb 2010 10:41:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 27 Feb 2010 10:41:36 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Feb 27 11:41:32 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NlK70-0005gM-Uf for geh-help-gnu-emacs@m.gmane.org; Sat, 27 Feb 2010 11:41:31 +0100 Original-Received: from localhost ([127.0.0.1]:52713 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NlK70-0005wD-Du for geh-help-gnu-emacs@m.gmane.org; Sat, 27 Feb 2010 05:41:30 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!postnews.google.com!e1g2000yqh.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 28 Original-NNTP-Posting-Host: 70.157.146.37 Original-X-Trace: posting.google.com 1267265518 24329 127.0.0.1 (27 Feb 2010 10:11:58 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 27 Feb 2010 10:11:58 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: e1g2000yqh.googlegroups.com; posting-host=70.157.146.37; posting-account=CLTRiQoAAAATysyZI2zRzNDqH657kxk9 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Dealio Toolbar 3.1 Firefox/3.6 (.NET CLR 3.5.30729), gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:177147 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:72183 Archived-At: I downloaded a patched Emacs called EmacsW32. Lennart Brogman created this version of Emacs, but it still did not have the integration with Cygwin that I needed. For instance, it was not possible to type M-x grep-find and have a working grep. After googling about, I found an [excellent post on gnu.emacs.help] (http://groups.google.com/group/gnu.emacs.help/browse_thread/thread/ 8f52d7f83dd0fb28/72c4d30d8603b4ee?lnk=3Dgst&q=3Dcygwin#72c4d30d8603b4ee) by Drew Adams. I had to modify his instructions with something I found at [the web sailor](http://www.khngai.com/emacs/cygwin.php). To keep it simple, I=92m going to give you the whole process: =96 Install a [GNU Windows Emacs](http://ftp.gnu.org/gnu/emacs/windows/) - Put these two files in your load-path: [cygwin mount](http:// www.emacswiki.org/cgi-bin/wiki/download/cygwin-mount.el) and [setup- cygwin](http://www.emacswiki.org/cgi-bin/wiki/download/setup- cygwin.el) - Put this in your emacs init file and you=92re done: (if (and (eq system-type 'windows-nt) (require 'cygwin-mount nil t)) (progn (setenv "PATH" (concat "c:/cygwin/bin;" (getenv "PATH"))) (setq exec-path (cons "c:/cygwin/bin/" exec-path)) (require 'setup-cygwin)))