From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#6149: bug#24531: process-send-string seems to truncate lines over 4096 characters Date: Thu, 20 Jul 2023 17:21:53 -0400 Message-ID: References: <87aas81jgh.fsf@jidanni.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33267"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 24531@debbugs.gnu.org, 6149@debbugs.gnu.org, jidanni@jidanni.org To: Spencer Baugh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 20 23:23:25 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qMb7M-0008R0-PE for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 20 Jul 2023 23:23:24 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qMb73-0007qt-R2; Thu, 20 Jul 2023 17:23:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qMb71-0007qN-IA for bug-gnu-emacs@gnu.org; Thu, 20 Jul 2023 17:23:03 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qMb71-0002HM-9r for bug-gnu-emacs@gnu.org; Thu, 20 Jul 2023 17:23:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qMb70-0001hr-PT for bug-gnu-emacs@gnu.org; Thu, 20 Jul 2023 17:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Jul 2023 21:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6149 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 6149-submit@debbugs.gnu.org id=B6149.16898881266442 (code B ref 6149); Thu, 20 Jul 2023 21:23:02 +0000 Original-Received: (at 6149) by debbugs.gnu.org; 20 Jul 2023 21:22:06 +0000 Original-Received: from localhost ([127.0.0.1]:60102 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMb65-0001fk-Pb for submit@debbugs.gnu.org; Thu, 20 Jul 2023 17:22:06 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:57396) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMb61-0001f6-My; Thu, 20 Jul 2023 17:22:04 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id D0E60442C30; Thu, 20 Jul 2023 17:21:55 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 656E5442C32; Thu, 20 Jul 2023 17:21:54 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1689888114; bh=uGXvrhhlltnVdVP10M8w4uUOjenJPQgF9nOuSW9zTKA=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=LBltPPGmA6uTRyiMZJhnfpCxZ5qSl0fdxP7MJuX9cnHLDa96F7pxqGdYvOwM7ZHj5 CnNWtdtAjssjjdF9bC6Zr3AXI/d1vCxIoRBQaEjx8Sr+hk+WfmvyUjjLzDceKZ0pWV rISYitQpdYYE+tmcuK6hvFpeaAwOor9EY+PJQOVovgOIV25TNqHiHBDi8T+Tk1hNcA GWxlyyLdXnomOlAjh5kyPvCn2i3GFCQXAgjoSOb7cTrEN/a0nz2JDTcBACImm3W8bt w28a7GQktJZ2xvd1bD26vdTxIKOSdBxA09bNwBqK8smWaiXDZWAoivAQT3kZ8+oxAT 6Bf/zaLt0Ntjw== Original-Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 555E7120321; Thu, 20 Jul 2023 17:21:54 -0400 (EDT) In-Reply-To: (Spencer Baugh's message of "Thu, 20 Jul 2023 16:15:11 -0400") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:265641 Archived-At: > I see that this bug is about 13 years old. I think there's a pretty > obvious solution: process-connection-type should default to nil. In practice, that can't fly because it'll break existing code. Also I don't think either value of `process-connection-type` is a good option. IOW, I think that the connection type should be a mandatory argument when creating an async process (except maybe for those processes with no input/output). So maybe, the default value of `process-connection-type` should be `unspecified` and the process creation code should emit a warning when creating a process whose connection type is `unspecified` (just a warning, tho: it should then pursue execution as if that value was t, as usual, so as to preserve compatibility). Stefan