From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Filipp Gunbin Newsgroups: gmane.emacs.bugs Subject: bug#33050: 27.0.50; [macOS] Problem with process input with process-connection-type nil Date: Sat, 27 Oct 2018 17:52:10 +0300 Message-ID: References: <83a7n9udxv.fsf@gnu.org> <83ftwuq9ii.fsf@gnu.org> <83a7n2q6jb.fsf@gnu.org> <83sh0tp4z4.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1540651872 30330 195.159.176.226 (27 Oct 2018 14:51:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 27 Oct 2018 14:51:12 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (darwin) Cc: 33050@debbugs.gnu.org, alan@idiocy.org To: Thomas Fitzsimmons Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 27 16:51:07 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 1gGPvf-0007n5-13 for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Oct 2018 16:51:07 +0200 Original-Received: from localhost ([::1]:36781 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gGPxl-0002dS-Ci for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Oct 2018 10:53:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49598) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gGPxb-0002Uk-QW for bug-gnu-emacs@gnu.org; Sat, 27 Oct 2018 10:53:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gGPxW-0007xr-SN for bug-gnu-emacs@gnu.org; Sat, 27 Oct 2018 10:53:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41342) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gGPxW-0007xj-OK for bug-gnu-emacs@gnu.org; Sat, 27 Oct 2018 10:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gGPxW-0002u1-FE for bug-gnu-emacs@gnu.org; Sat, 27 Oct 2018 10:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Filipp Gunbin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Oct 2018 14:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33050 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33050-submit@debbugs.gnu.org id=B33050.154065193611098 (code B ref 33050); Sat, 27 Oct 2018 14:53:02 +0000 Original-Received: (at 33050) by debbugs.gnu.org; 27 Oct 2018 14:52:16 +0000 Original-Received: from localhost ([127.0.0.1]:45600 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gGPwm-0002su-8M for submit@debbugs.gnu.org; Sat, 27 Oct 2018 10:52:16 -0400 Original-Received: from out3-smtp.messagingengine.com ([66.111.4.27]:34825) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gGPwk-0002sn-GE for 33050@debbugs.gnu.org; Sat, 27 Oct 2018 10:52:14 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 575B521E79; Sat, 27 Oct 2018 10:52:14 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sat, 27 Oct 2018 10:52:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm1; bh=aBBIL7N+u9IFi51ska6QnV2uu3 edX9MhruS7jZ+BnQc=; b=lCpH4ardxsY0n+JiSH12arGpZz2SV1pDnYOhp2PjEM q/h6pIyhYFhTEGbHVxK6ys6qfcx6lPfLUYIkesL+RDA96LfpNWF52gKATIY4PF/B AbNYWKhPQZZl8V1QvqZIgwBs3vbc9dkqmfywdQb+XdRo5Ohrf9Ov7vEbneT/92sc CO4KCB5csfz87QLkL31oOr95cHjuivvES/JSQxnpNPHQzrveid23ljcvC7GrEeNR Obsb6qx9Mny+j5zdInPxyZ0wceru0LGc46sQdrHKR/qH1I85MU7g2V6vRVqzD5kP eIrpsEVNmu54jaV89HHDUoWtXHxca+qyY+9idFaszyjw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=aBBIL7 N+u9IFi51ska6QnV2uu3edX9MhruS7jZ+BnQc=; b=bB7G8kfjURQ6q5i2/lgLyV 74SoaWzxh2cPS3i96E5zLcSRRuqAlWaJP9aH8Besjff9NRYP1BQD6Ze0uw1DR5EA r9bRw0g5hp2M12mS3aUgZbE3GRgawo+3iNbApzm8iDRJlYYN2OiPpYwvy6dn0/DF DvGcIIhWML5C0Brb0X/pf2yRQkPuArGC6FKxF31YBZ6GRgj0WIz7JicTOvs/vjjE R/GGa+/LJPFYX6s02rVdprjBtc5vmFy1Gf+Jt6Jh2h3CPs9GWKTiilFK1+4eoZ2K mT1Tagb6XO0BCKKB4F4s9/4meiEvfq1piSYb4pEJVMsZ9CQcOaVwHg1F0msBfk9Q == X-ME-Sender: X-ME-Proxy: Original-Received: from fgunbin.local (unknown [93.185.27.190]) by mail.messagingengine.com (Postfix) with ESMTPA id 1B521E49EB; Sat, 27 Oct 2018 10:52:11 -0400 (EDT) In-Reply-To: (Thomas Fitzsimmons's message of "Fri, 26 Oct 2018 22:09:28 -0400") 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:151680 Archived-At: On 26/10/2018 22:09 -0400, Thomas Fitzsimmons wrote: > (I also wonder what happens to a process (e.g., Bash) that needs a pty, > when all ptys are busy. I haven't done any experiments to check. At > least in one case I saw in the source code, ange-ftp.el, the program > would just hang in pipe mode. In that case, it seems like there should > be a way to tell start-process to signal an error if it doesn't get the > desired pty.) Yes, would be good to check this. >> Your suggestion to condionally fix this for Darwin on release looks >> good. > > OK, can you try the attached patch before I push it to emacs-26? I tried it on emacs-26, and couldn't get eudc-expand-inline to work, but I think that's a different unrelated problem (maybe auth-source reading .authinfo or something). Otherwise it looks safe. I can look more into it on Monday.. Filipp