delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/23/04:16:59

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
From: Haojun Bao <baohaojun AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Switched back to cygwin EMACS from EMACS for win32
Date: Tue, 23 Jun 2009 16:16:28 +0800
Message-ID: <83hby75pr7.fsf@gmail.com>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (cygwin)
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

(This is not a bug report for cygwin or Emacs, it's more like a story).

Long time ago, I used old cygwin EMACS, 21.x version, but I found it
crashes now and then, so I struggled til I found native EMACS 23
beta is provided at (*)

(*) http://ourcomments.org/cgi-bin/emacsw32-dl-latest.pl.

I went very far (to myself at least) by googling around for solutions
with stuff like cygwin-mount.el, TRAMP/pscp/plink, w32-symlinks.el,
gnuserv, visemacs (for Visual Studio), and by writing
some scripts/helper programs myself. It was fun and the result is quite
satisfactory.

But then recently I found a very annoying thing. I switched to use
GNUS/nnimap to read mail from GMail. It was very slow, so I googled
around and found a solution: use offlineimap and dovecot (**). I have
installed andLinux for running these.

(**) http://sachachua.com/wp/2008/05/08/geek-how-to-use-offlineimap-and-the-dovecot-mail-server-to-read-your-gmail-in-emacs-efficiently/

But it was still very SLOW! The `imap read: nnnnk' is running like a
stopwatch. I set up Thunderbird to test, and it can download the same
mail (about 1M) instantly.

I used Procexp (***) and found out EmacsW32 is reading output from
OpenSSL about 64K/sec. I googled again (with keywords `pipe 64k win32')
and assume this is some Win32/DOS compatibility thing? Anyhow,
cygwin-1.7 comes with Emacs23, so I just switched back and was happy
again:-) 

(***) http://download.sysinternals.com/Files/ProcessExplorer.zip

Thanks to you all cygwin developpers!

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019