From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#66020: (bug#64735 spin-off): regarding the default for read-process-output-max Date: Thu, 21 Sep 2023 21:42:01 +0300 Message-ID: References: <8334zmtwwi.fsf@gnu.org> <83tts0rkh5.fsf@gnu.org> <831qf3pd1y.fsf@gnu.org> <28a7916e-92d5-77ab-a61e-f85b59ac76b1@gutov.dev> <83sf7jnq0m.fsf@gnu.org> <5c493f86-0af5-256f-41a7-7d886ab4c5e4@gutov.dev> <83ledanvzw.fsf@gnu.org> <83r0n2m7qz.fsf@gnu.org> <26afa109-9ba3-78a3-0e68-7585ae8e3a19@gutov.dev> <83il8dna30.fsf@gnu.org> <83bke5mhvs.fsf@gnu.org> <83a5tmk79p.fsf@gnu.org> <937d9927-506f-aa36-94e9-3cceb8f629dd@gutov.dev> <83zg1hay6q.fsf@gnu.org> <451d6012-e5ab-df6c-50e3-dac20b91781c@gutov.dev> <83led09dlk.fsf@gnu.org> <83msxf8td3.fsf@gnu.org> <4dd10ea8-6124-a50d-2bc2-1fced50e34cc@gutov.dev> <83h6nn8j6h.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32077"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Cc: 66020@debbugs.gnu.org, stefankangas@gmail.com, monnier@iro.umontreal.ca To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 21 20:43:13 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 1qjOdr-00088g-RU for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 21 Sep 2023 20:43:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qjOda-0006Kc-7v; Thu, 21 Sep 2023 14:42:54 -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 1qjOdY-0006KM-Th for bug-gnu-emacs@gnu.org; Thu, 21 Sep 2023 14:42:52 -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 1qjOdY-00045k-LA for bug-gnu-emacs@gnu.org; Thu, 21 Sep 2023 14:42:52 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qjOdi-0005To-Gw for bug-gnu-emacs@gnu.org; Thu, 21 Sep 2023 14:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Sep 2023 18:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66020 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 66020-submit@debbugs.gnu.org id=B66020.169532174721010 (code B ref 66020); Thu, 21 Sep 2023 18:43:02 +0000 Original-Received: (at 66020) by debbugs.gnu.org; 21 Sep 2023 18:42:27 +0000 Original-Received: from localhost ([127.0.0.1]:34805 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjOd9-0005So-4b for submit@debbugs.gnu.org; Thu, 21 Sep 2023 14:42:27 -0400 Original-Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:53245) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjOd4-0005SY-4i for 66020@debbugs.gnu.org; Thu, 21 Sep 2023 14:42:25 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 8833432007D7; Thu, 21 Sep 2023 14:42:05 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 21 Sep 2023 14:42:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm1; t= 1695321725; x=1695408125; bh=P+rDt2VrIj2asnmjEEYCHgmU5hOP63BUQaS vRwhZi9w=; b=tTxbr4BRqLdi2UmmOacanxvkEe/+D/y0zkhODYxoH6hamw1nN26 3VGnImM715DIM70BGhZ3nYzFCcDUE6pTTsqzC6t4WChNLMpOX2wo/a/4J05Np6V2 8bOzSlzS6Bcal11xG1s7frihbzzol0Oiy905hmcL0sWUP8agipJXdkumPlQGHjoi Bfu/6UVH4rJpDQ0K1iZE1iQqaPzcfgGpMBfctYzUpmU7Yqhv7CYXYCp04HgAaXFR SpB/dfpBoJeJrCT0pTKLPMKrvIS753fM0MVy9wxVD6PBzyygCYhUkt0htaYsJxIk MI3SZ2dmwcV4/h+krAoWQhcE4S8Egu95WGw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1695321725; x=1695408125; bh=P+rDt2VrIj2asnmjEEYCHgmU5hOP63BUQaS vRwhZi9w=; b=dBxDiJci4phOQmm8uiTtBF9fNjUc2VKv9e0+hk230ebXHZGaJca lzGId5u4xbo+zWEcbAp7/dfn8F5zWNIYU1Uo01yUynTH7+vr2XV4epOR7YMVFJCw PyRgw1zB9PIO8d7ZZE6Wr7499GmjQGSqUg9xFBF0j94uRvD3zCExDaG3NQ62rrIw eRNKFJZirToeJouN0KDLiuLBseBDSEHbSnijkwYofZXq52jS5bZqnX2lNisuq7w6 Vk9NFhTRn7rqLFqNnjI0j8iEC4NNeo3rhMCOn3StfEJoRRxSJxdv9cEPui3LEDdt NYuVqbVesqTSzp2g3iIoZ584nLilcv22K8w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudekiedguddvjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttdefjeenucfhrhhomhepffhm ihhtrhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrg htthgvrhhnpeeigfetveehveevffehledtueekieeikeeufeegudfgfeeghfdulefgfeev ledvveenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe gumhhithhrhiesghhuthhovhdruggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 21 Sep 2023 14:42:03 -0400 (EDT) Content-Language: en-US In-Reply-To: <83h6nn8j6h.fsf@gnu.org> 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:271017 Archived-At: On 21/09/2023 21:39, Eli Zaretskii wrote: >> Date: Thu, 21 Sep 2023 20:40:35 +0300 >> Cc:stefankangas@gmail.com,monnier@iro.umontreal.ca,66020@debbugs.gnu.org >> From: Dmitry Gutov >> >> Can we get the "recorded" value back from the pipe somehow? > There's F_GETPIPE_SZ command to fcntl, so I think we can. I'll rephrase: is this a good idea (doing a +1 syscall every time we read a chunk, I'm not sure of its performance anyway), or should we add a new field to Lisp_Process after all?