X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SPF_HELO_PASS,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Gary Subject: Re: gnutls-cli / emacs daemon stops mintty window closing Date: Sun, 10 Apr 2011 19:50:41 +0200 Lines: 31 Message-ID: <83mxjyhu6m.fsf@garydjones.name> References: <4D9DBB17 DOT 2090902 AT cornell DOT edu> <4D9F3570 DOT 2050603 AT cornell DOT edu> <4D9F8BC8 DOT 7040303 AT cornell DOT edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (cygwin) X-No-Archive: Yes X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Ken Brown wrote: >> Part of my problem in trying to help is that you haven't said exactly >> what you're doing, except that your emacs session used gnutls in one >> case and that openssl was involved in the other. Can you give a >> detailed list of steps that someone might try to reproduce? I think the gnu-tls & openssl stuff was misleading. I've just had it happen without any extra Cygwin process involved at all. > I found a simple way to reproduce this. Start an emacsclient session in > a mintty window as you did, start a shell within emacs, and then exit > (with C-x C-c, not with M-x kill-emacs). This leaves the emacs daemon > running as well as the shell process, as I would expect. Then the > mintty window won't close until the shell process is killed. Again, I'm > not convinced this is a bug. After all, the shell process is an > interactive process associated with the terminal. Wouldn't you expect > to have to kill that process before the terminal window closes? As I say, I've now had it happening without anything else. > On the other hand, if you kill the emacs server in the normal way (via > M-x kill-emacs, as explained in the server documentation), it also kills > the shell process, and you can exit from mintty. Yes. As it happens the only time I close emacs is when I restart my computer, and that's why I use emacsclient. It worked fine, and now... doesn't. -- Gary Non-kook (allegedly) -- 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