From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.60; Emacs should survive a lost X connection Date: Mon, 11 Feb 2008 09:16:39 -0800 Message-ID: <200802111716.m1BHGnRH008339@sallyv1.ics.uci.edu> References: <20080205.155847.56398348.hanche@math.ntnu.no> <200802051957.m15Jv8r1019258@sallyv1.ics.uci.edu> <200802052349.m15NnxSu013983@sallyv1.ics.uci.edu> <200802062007.m16K7r78005498@sallyv1.ics.uci.edu> <200802080726.m187Q5gL002961@sallyv1.ics.uci.edu> <200802090504.m1954WTM028192@sallyv1.ics.uci.edu> <200802100803.m1A83Eq5026472@sallyv1.ics.uci.edu> <200802110534.m1B5YB2t002214@sallyv1.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1202750490 2872 80.91.229.12 (11 Feb 2008 17:21:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Feb 2008 17:21:30 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, hanche@math.ntnu.no, rms@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 11 18:21:52 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JOcKY-0001m6-PU for ged-emacs-devel@m.gmane.org; Mon, 11 Feb 2008 18:20:35 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JOcK5-00088E-6r for ged-emacs-devel@m.gmane.org; Mon, 11 Feb 2008 12:20:05 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JOcJz-000864-Gn for emacs-devel@gnu.org; Mon, 11 Feb 2008 12:19:59 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JOcJy-00084V-7T for emacs-devel@gnu.org; Mon, 11 Feb 2008 12:19:59 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JOcJx-00084K-UI for emacs-devel@gnu.org; Mon, 11 Feb 2008 12:19:57 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JOcJx-00016Y-R2 for emacs-devel@gnu.org; Mon, 11 Feb 2008 12:19:57 -0500 Original-Received: from mx10.gnu.org ([199.232.76.166]) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JOcJx-0007JV-G6 for emacs-pretest-bug@gnu.org; Mon, 11 Feb 2008 12:19:57 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JOcJu-00016D-7o for emacs-pretest-bug@gnu.org; Mon, 11 Feb 2008 12:19:57 -0500 Original-Received: from sallyv1.ics.uci.edu ([128.195.1.109]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1JOcJt-00015x-Lb; Mon, 11 Feb 2008 12:19:54 -0500 X-ICS-MailScanner-Watermark: 1203355010.93566@qv9NO61nbI6DFRwritx7Kw Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv1.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m1BHGnRH008339; Mon, 11 Feb 2008 09:16:49 -0800 (PST) In-Reply-To: (Stefan Monnier's message of "Mon, 11 Feb 2008 09:41:29 -0500") Original-Lines: 25 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:88771 gmane.emacs.pretest.bugs:21033 Archived-At: Stefan Monnier writes: > >> > emacs -Q -nw -f server-start > >> > >> > emacsclient -c -d $DISPLAY& > >> > >> > xkill > >> > the emacsclient X11 frame > >> > >> > then C-x C-c in the emacs -nw frame will warn about clients still being > >> > connected. > >> > >> I installed a patch which refines Richard's fix and brings back the > >> correct "close the client connection" when you close a frame by sending > >> an X11 "delete" message. This doesn't solve the above problem because > >> in that case, the "delete_frame" execution is run at a time where Elisp > >> cannot be executed. > > > Now emacs aborts after emacsclient is xkilled. > > There was a trivial typo in my first commit, which I fixed in > a subsequent commit. You may just have checked it out between the two. > I don't see any crashes here, so please try again, Indeed, no crashes now. Thanks!