From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: charles@aurox.ch (Charles A. Roelli) Newsgroups: gmane.emacs.bugs Subject: bug#33050: 27.0.50; [macOS] Problem with process input with process-connection-type nil Date: Sun, 28 Oct 2018 20:53:55 +0100 Message-ID: References: <83a7n9udxv.fsf@gnu.org> <83ftwuq9ii.fsf@gnu.org> <83a7n2q6jb.fsf@gnu.org> <8336sqm572.fsf@gnu.org> Reply-To: charles@aurox.ch NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1540756386 32729 195.159.176.226 (28 Oct 2018 19:53:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 28 Oct 2018 19:53:06 +0000 (UTC) Cc: 33050@debbugs.gnu.org, fitzsim@fitzsim.org, fgunbin@fastmail.fm, alan@idiocy.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 28 20:53: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 1gGr7N-0008Pq-Du for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Oct 2018 20:53:01 +0100 Original-Received: from localhost ([::1]:41787 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gGr9U-0002Cf-1H for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Oct 2018 15:55:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44881) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gGr9N-0002CL-5p for bug-gnu-emacs@gnu.org; Sun, 28 Oct 2018 15:55:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gGr9J-0007FE-WD for bug-gnu-emacs@gnu.org; Sun, 28 Oct 2018 15:55:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45101) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gGr9J-0007F8-Rl for bug-gnu-emacs@gnu.org; Sun, 28 Oct 2018 15:55:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gGr9J-0005Og-OM for bug-gnu-emacs@gnu.org; Sun, 28 Oct 2018 15:55:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: charles@aurox.ch (Charles A. Roelli) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 Oct 2018 19:55:01 +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.154075644320680 (code B ref 33050); Sun, 28 Oct 2018 19:55:01 +0000 Original-Received: (at 33050) by debbugs.gnu.org; 28 Oct 2018 19:54:03 +0000 Original-Received: from localhost ([127.0.0.1]:49359 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gGr8N-0005NU-74 for submit@debbugs.gnu.org; Sun, 28 Oct 2018 15:54:03 -0400 Original-Received: from sinyavsky.aurox.ch ([37.35.109.145]:46172) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gGr8L-0005N0-RP for 33050@debbugs.gnu.org; Sun, 28 Oct 2018 15:54:02 -0400 Original-Received: from sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) by sinyavsky.aurox.ch (Postfix) with ESMTP id 8F562228BB for <33050@debbugs.gnu.org>; Sun, 28 Oct 2018 19:58:19 +0000 (UTC) Authentication-Results: sinyavsky.aurox.ch (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=aurox.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aurox.ch; h= references:reply-to:subject:subject:in-reply-to:to:from:from :message-id:date:date; s=dkim; t=1540756698; x=1541620699; bh=4Q VguTrgZ7q3WfwveGAaBNqmbnUdo8nPHtZ9vU/VMEY=; b=i7SxwxJMf6pmjBL8fz At9aliHd3frAbeMVbrhW0p8Pqg6y8lpFJ9RjkdQufShz0Qra+lDKLu660qX5EJND zLBQ4GdnbJTVQA8piHRzA0sUmh9jLrx6ZXB2JGF+IHg8zL+yXyoYKQcZaPiBKKv7 tShZB1n8h2q+JFCNYB3wCanzM= X-Virus-Scanned: Debian amavisd-new at test.virtualizor.com Original-Received: from sinyavsky.aurox.ch ([127.0.0.1]) by sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id N_DQShaYeY1p for <33050@debbugs.gnu.org>; Sun, 28 Oct 2018 19:58:18 +0000 (UTC) Original-Received: from gray (unknown [IPv6:2a02:1205:c693:2d60:c62c:3ff:fe30:b864]) by sinyavsky.aurox.ch (Postfix) with ESMTPSA id DD02022897; Sun, 28 Oct 2018 19:58:17 +0000 (UTC) In-reply-to: <8336sqm572.fsf@gnu.org> (message from Eli Zaretskii on Sun, 28 Oct 2018 18:00:49 +0200) 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:151758 Archived-At: > Date: Sun, 28 Oct 2018 18:00:49 +0200 > From: Eli Zaretskii > > > Does anyone recall where these "character injections" come from? ISTR > > that these no longer happen... Maybe this is a reference to the code > > deleted here: > > > > https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=2b0a91e78f83fb446cc38efb99399e83ad2cded3 > > (as seen, e.g., in Bug#32438) > > Probably. > > > Also, both "process-send-region" and "process-send-string" (in master) > > claim to split their process input if it is longer than 500 > > /characters/ (not bytes) -- but reading through the code in process.c, > > it's not clear where (or if) this still happens. > > pty_max_bytes was deleted as well, so I think you are right. Aha, yes, pty_max_bytes was removed later after going unused for some time: https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=3d082a269ece18058ed82957f8a056822b39789e IIUC, there might be a good case for bringing it back, with respect to Bug#6149 and Bug#32438. At least so that we can warn users (or prevent them from) overflowing a pty input queue. For the doc issue, I've opened Bug#33191.