From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#31901: Incorrect make-network-process + nowait state handling for non-existing unix sockets in emacs-26.1 Date: Mon, 06 Aug 2018 16:36:28 -0400 Message-ID: <87h8k7xmer.fsf@gmail.com> References: <20180619104351.41e4e3d1@malediction> <87efgnm17h.fsf@gmail.com> <831scgn3ig.fsf@gnu.org> <83in5ib53q.fsf@gnu.org> <83muum1d3m.fsf@gnu.org> <83effy14p6.fsf@gnu.org> <20180722195458.2e40086f@malediction> <83pnzfw9g0.fsf@gnu.org> <20180722214207.1ccaff3d@malediction> <20180722215540.63fc8782@malediction> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1533587706 20130 195.159.176.226 (6 Aug 2018 20:35:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 6 Aug 2018 20:35:06 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: Lars Ingebrigtsen , 31901@debbugs.gnu.org To: Mike Kazantsev Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 06 22:35:02 2018 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 1fmmDW-00057M-6M for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Aug 2018 22:35:02 +0200 Original-Received: from localhost ([::1]:36226 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fmmFc-0006bl-SH for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Aug 2018 16:37:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45193) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fmmFX-0006bg-0f for bug-gnu-emacs@gnu.org; Mon, 06 Aug 2018 16:37:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fmmFS-0000LN-4u for bug-gnu-emacs@gnu.org; Mon, 06 Aug 2018 16:37:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37923) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fmmFS-0000LB-01 for bug-gnu-emacs@gnu.org; Mon, 06 Aug 2018 16:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fmmFR-0007uB-Oo for bug-gnu-emacs@gnu.org; Mon, 06 Aug 2018 16:37:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Aug 2018 20:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31901 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 31901-submit@debbugs.gnu.org id=B31901.153358779730350 (code B ref 31901); Mon, 06 Aug 2018 20:37:01 +0000 Original-Received: (at 31901) by debbugs.gnu.org; 6 Aug 2018 20:36:37 +0000 Original-Received: from localhost ([127.0.0.1]:42941 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fmmF2-0007tS-Pl for submit@debbugs.gnu.org; Mon, 06 Aug 2018 16:36:36 -0400 Original-Received: from mail-io0-f175.google.com ([209.85.223.175]:39477) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fmmF1-0007tF-Fb for 31901@debbugs.gnu.org; Mon, 06 Aug 2018 16:36:35 -0400 Original-Received: by mail-io0-f175.google.com with SMTP id o22-v6so12174773ioh.6 for <31901@debbugs.gnu.org>; Mon, 06 Aug 2018 13:36:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=OwQ+afNgPIcARKN5E+QaJ15mc1WIIVEPAOEPhZIoaT0=; b=A6LhWOe2z2qiTYztdIxq8WdLd3xzhqIv6wpct9QlQmYyNYkOobi14htXcHiV1OV1Ex 51OEoHKkYf6jbvB30NlJqqEGUrcvBoXk67LxdQ73nOHOXaUR3bd8ybXnGp0FtdTtDHKX sIH4ClpOPAE7n8hpj4EgDb98/BahvEiTwZK/qQww/DEUuAixBlrjpaWyz3RHBPrWwxVx ZMHdzC6yAm8SEZh5dNIAdwKu4vCa72YOTtyz1iARNP4XM/hEYimVoeSB4zbO0KqSCvUP vbmVl9/IMtWHoIZGSn3YYK01GZWRPWx9q45n68+aeYwYlQpKsih9W/ARpkWKeap3RCEk 639g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=OwQ+afNgPIcARKN5E+QaJ15mc1WIIVEPAOEPhZIoaT0=; b=j94cRLhGli1QeavHsOdNErZFraBgUbE5Rhcr/9/D3Lm5XWzrPVzx/T+O1Bc9r1YTKb PEfxwXGfH0411axkI3N6IawP4C95Jqpn5SABAkuMeMa8bRKXs3XsuesZx2zoF4//tZtd Vf73Li1TKIFny6aHx8CB162nGeTxws21mr4+3ZP7CmLQfxd9OEuzfLAeIee/sA48QaRe VkLALqHq3P0VKL50kY8qrRCFx9Lhu1jhEz+maf9HCYTGSgjfVl5MOyneNAD68WM0Jz9u L1T3/45DT0b3jTrUZTw8il18ygBCaw9uIiIy8GIM6kJKlTMEUPtCZwLluOUc3kz03psv VHvw== X-Gm-Message-State: AOUpUlG1YC873BZMu2IPE3EysSMO3qS3jqDfe8lC/wsG4uc8MSdd24sX SEV5gK4QWHXR0SIcUpZv/8dPbdAD X-Google-Smtp-Source: AA+uWPyhCFa7d4084hDqKhN1cbO3au+EtOhqFYwg303458q51mAVZGsigEamZxieARaacMpYXxchrw== X-Received: by 2002:a6b:b955:: with SMTP id j82-v6mr16197649iof.158.1533587789691; Mon, 06 Aug 2018 13:36:29 -0700 (PDT) Original-Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id b19-v6sm4420887itc.24.2018.08.06.13.36.28 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 06 Aug 2018 13:36:28 -0700 (PDT) In-Reply-To: <20180722215540.63fc8782@malediction> (Mike Kazantsev's message of "Sun, 22 Jul 2018 21:55:40 +0500") 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:149294 Archived-At: Mike Kazantsev writes: > On Sun, 22 Jul 2018 21:42:07 +0500 > Mike Kazantsev wrote: > >> == How it works in current emacs-git [8f3bca3ad51]: >> >> (make-network-process >> ... >> :family 'local >> :service "/tmp/does-not-exist.sock" >> :nowait t >> :sentinel #'unix-socket-test-func) >> >> => # >> [sentinel never called] >> >> (process-live-p socket) => nil >> (process-status socket) => 'file-missing >> >> Note that this is: >> >> - Not consistent with what emacs did before this bug. > > After sending previous mail, realized that maybe it is consistent with > emacs 26.0 or similar version before the bug which I've never tested, > where change was made to behave exactly like that, but then this bug > changed it again. I believe the behaviour changed with the introduction of the bug (by the way, Emacs releases are XX.y where y > 1, so there was never a 26.0 release). So the situation is not ideal, but I do think that it's acceptable as a compromise. Shall we backport and close the bug?