delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/04/10/13:51:14

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 <listgj-cygwin AT yahoo DOT co DOT uk>
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: <injp03$h8r$1 AT dough DOT gmane DOT org> <4D9DBB17 DOT 2090902 AT cornell DOT edu> <inn8ab$3q9$1 AT dough DOT gmane DOT org> <4D9F3570 DOT 2050603 AT cornell DOT edu> <4D9F8BC8 DOT 7040303 AT cornell DOT edu>
Mime-Version: 1.0
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: <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

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

- Raw text -


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