From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Thomas Fitzsimmons Newsgroups: gmane.emacs.bugs Subject: bug#33050: 27.0.50; [macOS] Problem with process input with process-connection-type nil Date: Mon, 29 Oct 2018 20:49:32 -0400 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 1540860194 18080 195.159.176.226 (30 Oct 2018 00:43:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 30 Oct 2018 00:43:14 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 33050@debbugs.gnu.org, alan@idiocy.org To: Filipp Gunbin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 30 01:43:10 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 1gHI7f-0004Yd-P9 for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Oct 2018 01:43:08 +0100 Original-Received: from localhost ([::1]:49876 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHI9l-00006n-UI for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Oct 2018 20:45:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36763) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHI9d-00006e-66 for bug-gnu-emacs@gnu.org; Mon, 29 Oct 2018 20:45:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHI9W-0004VV-VD for bug-gnu-emacs@gnu.org; Mon, 29 Oct 2018 20:45:09 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48091) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gHI9W-0004VN-LR for bug-gnu-emacs@gnu.org; Mon, 29 Oct 2018 20:45:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gHI9W-0007ZR-DS for bug-gnu-emacs@gnu.org; Mon, 29 Oct 2018 20:45:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thomas Fitzsimmons Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Oct 2018 00:45: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.154086024629024 (code B ref 33050); Tue, 30 Oct 2018 00:45:02 +0000 Original-Received: (at 33050) by debbugs.gnu.org; 30 Oct 2018 00:44:06 +0000 Original-Received: from localhost ([127.0.0.1]:52349 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gHI8c-0007Y4-Id for submit@debbugs.gnu.org; Mon, 29 Oct 2018 20:44:06 -0400 Original-Received: from mail-io1-f67.google.com ([209.85.166.67]:46185) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gHI8a-0007XS-3k for 33050@debbugs.gnu.org; Mon, 29 Oct 2018 20:44:04 -0400 Original-Received: by mail-io1-f67.google.com with SMTP id y22-v6so6206774ioj.13 for <33050@debbugs.gnu.org>; Mon, 29 Oct 2018 17:44:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fitzsim-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=cuERpqdTGR+PQWu1z0Mjpcy1fiCk9ysqr98Ad7IBVUY=; b=AaQIi3PgeLIZXxKT1FleH4INAwq11WItkFEwp9OhSE94iZaPtiUsb7/nJSu8fABmCr Wpku5bxR6PYmls6C6u22U3rTbvGogvpxzJAnUx22wYuBt0iCPeGilORbfFleIybmzu2T 67Jzarg+C03QCI1Yht3YFnBl3rrR6NURl9bHQY/YRE9mctKdhfG1452qCp7Eskf9PKpR s67sgK1bd7d0nNgRTKLu4Fb0NeY1vFZeiye+W32KXzlP0EwM1D44gPH1QwPcS8m8rzTI o4OstHj9UAtm4Ws8IsES9PUULkgYzOnkcjSjnIIYwvVRJ46UIGM9MzwxFakff3qQSzJs YBpQ== 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=cuERpqdTGR+PQWu1z0Mjpcy1fiCk9ysqr98Ad7IBVUY=; b=eojgwrGub14C7F0hfBpotCBLuc2qAVV4l+iCFGiutWO8LQ0qftegFeZPRqYucz9CQD 6y63VuaYVev+hN3ZMpP95820lIpg6hZNK+udwfNdj4vzmOLbYUKWulYflznwvRL2nf+2 B08hkywqAveFry8q6r1QAllRcnOqtwtAR5Fxi5e2J0VrB24e/1vNUxrxRx4/KzM/4nZP VUuXxyyi5lnRZLYibuMuipOV/3gr2l8gu3skL2sLH5J4Axys7ZDhaK/7zikBZkCSQBJy QBPKKgORCE0+kOMLUK9WSlV5qbLoa0KMeMwBwXovKplVcNUuTIFIWod78fqhXzpFRpuJ hwgg== X-Gm-Message-State: AGRZ1gIvMaI2pwXMDJ8v9trtgNP+rmadStF5hUSsP0nUJkm88GM592SI hgOfcYPtTCR+Un66qEcjkEyMeQ== X-Google-Smtp-Source: AJdET5fOy+B2JSAtrb083jiLElxQNWiVuF+q3mWrTL47Tpb+S+3+7+aTLkd6eh9BbDA6DUCd4jzrQA== X-Received: by 2002:a5e:8619:: with SMTP id z25-v6mr10514886ioj.28.1540860238437; Mon, 29 Oct 2018 17:43:58 -0700 (PDT) Original-Received: from localhost.localdomain (69-165-165-189.dsl.teksavvy.com. [69.165.165.189]) by smtp.gmail.com with ESMTPSA id h130-v6sm7694205ioa.52.2018.10.29.17.43.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Oct 2018 17:43:57 -0700 (PDT) In-Reply-To: (Filipp Gunbin's message of "Sat, 27 Oct 2018 17:52:10 +0300") 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:151797 Archived-At: Filipp Gunbin writes: > 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. I tested ldapsearch after setting the maximum number of ptys to the number of currently-busy ptys: cat /proc/sys/kernel/pty/nr > /proc/sys/kernel/pty/max It does get run in pipe mode silently (i.e., no warning messages are generated), and as we already confirmed, ldapsearch happens to still work when run in pipe mode. >>> 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.. OK, I guess file another bug if there's another issue preventing eudc-expand-inline from working on emacs-26. Thanks, Thomas