From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Copley Newsgroups: gmane.emacs.bugs Subject: bug#25875: 26.0.50; Hang logging out of MS-Windows Date: Mon, 27 Feb 2017 23:03:26 +0000 Message-ID: References: <83lgsuqacv.fsf@gnu.org> <83efylq7m4.fsf@gnu.org> <834lzgreqq.fsf@gnu.org> <3f07808e-ab1c-d6b5-9ea0-dfc4c6fd6fc9@cornell.edu> <8337f0rbz6.fsf@gnu.org> <648f03f0-e4d4-c04e-afbf-d8ef8741b15e@cornell.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1488238682 26763 195.159.176.226 (27 Feb 2017 23:38:02 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 27 Feb 2017 23:38:02 +0000 (UTC) Cc: 25875@debbugs.gnu.org To: Ken Brown Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 28 00:37:56 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ciUrY-00068X-TN for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 Feb 2017 00:37:53 +0100 Original-Received: from localhost ([::1]:57621 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ciUre-0007Dr-UE for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Feb 2017 18:37:58 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48269) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ciULp-0004DN-L7 for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2017 18:05:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ciULm-0006pm-DO for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2017 18:05:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60613) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ciULm-0006pi-Ae for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2017 18:05:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ciULm-0002oF-3g for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2017 18:05:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Richard Copley Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Feb 2017 23:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25875 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25875-submit@debbugs.gnu.org id=B25875.148823664410728 (code B ref 25875); Mon, 27 Feb 2017 23:05:02 +0000 Original-Received: (at 25875) by debbugs.gnu.org; 27 Feb 2017 23:04:04 +0000 Original-Received: from localhost ([127.0.0.1]:58812 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ciUKp-0002mx-Rn for submit@debbugs.gnu.org; Mon, 27 Feb 2017 18:04:04 -0500 Original-Received: from mail-ua0-f182.google.com ([209.85.217.182]:33662) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ciUKo-0002mU-97 for 25875@debbugs.gnu.org; Mon, 27 Feb 2017 18:04:02 -0500 Original-Received: by mail-ua0-f182.google.com with SMTP id e4so39625421uae.0 for <25875@debbugs.gnu.org>; Mon, 27 Feb 2017 15:04:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=zwVQYTBrjSxpU6pLncFe+xvA+dXCphHdXEdkTOxUEKc=; b=bz6Ud8MFY6rOv1/if7hRqzJxgjS517lIU134JF0MMwR01pUYQ5EVoewlZ0BziGqO5j abn5HRhHxK6hfjXqTkryPVmPNWsrK1dygaQjXRSSiT3advQaEhTaMTWoWFC9lHR3QGCP F6ZSBdOIdMr9AIdoUekHO5sMOtgHcwtpsuRoKgAZzC+8mdUGO2gma/+3hDfu4rkgGbrh LHWUtfUqnuWZGX3mz/ArXZyx/2JggI15H9J1hco+SMFqwP8StZrY/OLgGJD8uLH2WBVl gFJ7Z6bGJwI9OWTIpSEB4K05TrBc8S3vH+0OUpa17RyT5aljxP0Xa1DRGCeEKs10eAwJ p12g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=zwVQYTBrjSxpU6pLncFe+xvA+dXCphHdXEdkTOxUEKc=; b=QQPCsrOBP7y0IrMrVni3SUChl2CqL3neYEq7CVO/b88vsWeFGI8dYvqW19fdygAdM0 CnrzIvWcPLHpxxQXtDnpP+pw8qQRVe/cmVXTIW2c3HWPfkqmganhuY4LqtBbIEKMW3DM Xx1hSulAYKFGQk6na4RMu0g2N6mqOSHe3Q2UG60CNxphbER6laodi+afNUojaFtsNYaK FgRVFZjWiEtujqa4Fu/YwlhV578tTTHHxZ2cnMHIElhe5kVuuqEMnzSXtIw4Y75O3NWX 0nDDgjSp7dK5lI6sDLfhgKxW/n1e1gHwTbBn4zPMzhI7eVXWLExPnpCWMwnHQQPUCEy+ uENw== X-Gm-Message-State: AMke39nT24f7YDcBXjWxWEgfZ7fT5rEToqy9iplxVpr6X+Kj+K1PCWRGbWpobw3n0hR1J9TeCJDmqLVBnO8TWg== X-Received: by 10.176.7.106 with SMTP id h97mr8875712uah.52.1488236636703; Mon, 27 Feb 2017 15:03:56 -0800 (PST) Original-Received: by 10.176.71.214 with HTTP; Mon, 27 Feb 2017 15:03:26 -0800 (PST) In-Reply-To: <648f03f0-e4d4-c04e-afbf-d8ef8741b15e@cornell.edu> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:129914 Archived-At: On 27 February 2017 at 22:37, Ken Brown wrote: > On 2/27/2017 3:14 AM, Richard Copley wrote: >> >> Sorry Ken, I can't sabotage myself like that, I have work to do. > > > FWIW, I'm attaching a corrected version of the patch. With one exception, > it only replaces SendMessage by SendMessageTimeout in cases where the return > value of SendMessage was not used. In the exceptional case, the return > value was only tested to see if it was 0 or not, so I think the replacement > is still correct. > > Richard, it's your call whether or not it's worthwhile for you to run with > this patch for a while and see what happens. I understand that this might > not give a definitive answer. > > I still want to eventually apply the patch I posted in > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25875#41, which I think will > solve the problem in a less satisfactory way. But I'd rather hold off on > that in the hope that we'll get some evidence as to whether we've correctly > diagnosed the problem. Please imagine: I report back after a week (or two, or four) and tell you that Emacs didn't prevent any Windows shutdowns. In that time I might have attempted to shut down Windows a handful of times. Will you have learned anything, anything at all? If the answer is yes, I'll be happy to help. Otherwise I'd just be wasting your time.