From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: Emacs on Windows XP -> Cygwin Date: Tue, 13 Nov 2007 01:14:01 -0800 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1194945316 7387 80.91.229.12 (13 Nov 2007 09:15:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 Nov 2007 09:15:16 +0000 (UTC) To: Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 13 10:15:20 2007 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.50) id 1IrrrV-0001lO-5I for geh-help-gnu-emacs@m.gmane.org; Tue, 13 Nov 2007 10:15:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IrrrI-0004A0-RZ for geh-help-gnu-emacs@m.gmane.org; Tue, 13 Nov 2007 04:15:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Irrr2-00048X-Tk for help-gnu-emacs@gnu.org; Tue, 13 Nov 2007 04:14:44 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Irrr1-00047n-9E for help-gnu-emacs@gnu.org; Tue, 13 Nov 2007 04:14:44 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Irrr1-00047i-5G for help-gnu-emacs@gnu.org; Tue, 13 Nov 2007 04:14:43 -0500 Original-Received: from rgminet01.oracle.com ([148.87.113.118]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Irrr0-0005Re-K6 for help-gnu-emacs@gnu.org; Tue, 13 Nov 2007 04:14:42 -0500 Original-Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id lAD9EWDs031641 for ; Tue, 13 Nov 2007 02:14:32 -0700 Original-Received: from acsmt351.oracle.com (acsmt351.oracle.com [141.146.40.151]) by agmgw2.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id lAC9VGjt031435 for ; Tue, 13 Nov 2007 02:14:32 -0700 Original-Received: from dhcp-emea-uk-csvpn-gw7-141-144-128-147.vpn.oracle.com by acsmt351.oracle.com with ESMTP id 3362606681194945240; Tue, 13 Nov 2007 01:14:00 -0800 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 Importance: Normal X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:49200 Archived-At: > > I wouldn't recommend that. I am running Windows XP with Cygwin, and > > I'm using the XP (w32) version of Emacs and the cygwin tools without > > any problems. > > I wouldn't recommend doing what you do, unless the OP likes to > "tinker" with all kinds of Emacs options and optional packages, such > as cygwin-mount. There are subtle incompatibilities between Cygwin > and native Windows programs (file-name conventions, console and pipe > I/O, text vs. binary I/O, signal delivery, etc.), so someone who's > used for things "to just work", like they do on GNU/Linux, is well > advised to limit him/herself to either only Cygwin programs or only > native Windows programs. > > > The cygwin version of emacs is (AFAIK) an older version. > > One can find a pointer to the latest one by searching the archives of > the Cygwin mailing list. > > > To get windowing support, you must run the Cygwin xserver. > > True, but where's the problem with that? an X server is available as > part of the Cygwin download. Eli is an expert wrt Emacs and Windows. And Lennart's EmacsW32 (http://www.ourcomments.org/Emacs/EmacsW32.html) is a very nice turnkey installer. I'm not an expert on this, and I don't mean to contradict the experts, but here is another data point for your consideration, FYI/FWIW - it is what I do and have done for a long time: - I use a vanilla Emacs binary for Windows - the 22.1 release from GNU. No EmacsW32 installer - just unzip the file to a directory. - I use vanilla Cygwin (on Windows XP). I don't use an Emacs built for Cygwin. - I load these two Lisp files from my .emacs: http://www.emacswiki.org/cgi-bin/wiki/cygwin-mount.el http://www.emacswiki.org/cgi-bin/wiki/setup-cygwin.el This is the code I put in my .emacs to do that. It says "If on Windows and can successfully load `cygwin-mount.el[c]', then load `setup-cygwin.el[c]." (if (and (eq system-type 'windows-nt) (require 'cygwin-mount nil t)) (require 'setup-cygwin)) That's all. I don't run an X server. I don't tinker with anything. I have several versions of Emacs that I use on the same machine, from Emacs 20.7 through 22.1, and they are all vanilla binaries - I just put them in different folders and use different shortcuts to run them. I prefer vanilla binaries to EmacsW32 (for myself), because I don't want a customized version of Emacs - I do my own customizing. I haven't encountered any incompatibilities or problems. I don't claim there are none, but I haven't encountered any in years of use. AFAICT, things "just work". Again, I'm not arguing that this is the way to go for anyone else, but it is super easy, and it works for me. HTH. YMMV.