From unknown Fri Aug 15 15:28:25 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#67510 <67510@debbugs.gnu.org> To: bug#67510 <67510@debbugs.gnu.org> Subject: Status: 29.1; macOS accept-process-output line length limit of 1024 Reply-To: bug#67510 <67510@debbugs.gnu.org> Date: Fri, 15 Aug 2025 22:28:25 +0000 retitle 67510 29.1; macOS accept-process-output line length limit of 1024 reassign 67510 emacs submitter 67510 Max Arnold severity 67510 normal tag 67510 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 28 09:21:41 2023 Received: (at submit) by debbugs.gnu.org; 28 Nov 2023 14:21:41 +0000 Received: from localhost ([127.0.0.1]:45859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7yy4-0002EF-7M for submit@debbugs.gnu.org; Tue, 28 Nov 2023 09:21:41 -0500 Received: from lists.gnu.org ([2001:470:142::17]:44094) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7pUf-0005lQ-QO for submit@debbugs.gnu.org; Mon, 27 Nov 2023 23:14:42 -0500 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 1r7pUT-0001XS-RM for bug-gnu-emacs@gnu.org; Mon, 27 Nov 2023 23:14:29 -0500 Received: from mail-pg1-x535.google.com ([2607:f8b0:4864:20::535]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r7pUR-0000RD-U2 for bug-gnu-emacs@gnu.org; Mon, 27 Nov 2023 23:14:29 -0500 Received: by mail-pg1-x535.google.com with SMTP id 41be03b00d2f7-5c1f8b0c149so3312859a12.3 for ; Mon, 27 Nov 2023 20:14:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701144861; x=1701749661; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=V53aPRIJft9W25DcHaL2UlhL0OXZGActFZAW1wxDGRI=; b=MyXAo/xhW9cA5wezxiAi7eHFcE2MnCfqMOslAKyisMtsHJIq2uJTgFPeINI5XV2UWk 1ZWGhTtWBpgoNL6VC1/Szbaovmhr6ZRWrkTGffYKdpgqMrMTOY3sHZVsCXxzRkBLNlQk db80YnwiU5pVQ+2F09cTkQuyBWmmQ+N6WD3EIJO/MNv7BSfx0Ty2yqsGo5QVQ0E6Kv/0 HZEVvwHF2Zd7wIvf4lPCZ6zVrBVU+9T7243tuLFSoTUL85l22QvfU9TaAbSjhmEtSlqm 91KtYMM7KKUmitVOBVDOdRw6EmcQnGTH6JoJgRtmlHQKWMYmaSnxNV8l57UOj2qkbZfY jB4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701144861; x=1701749661; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=V53aPRIJft9W25DcHaL2UlhL0OXZGActFZAW1wxDGRI=; b=sRw8BKuROi1rYXCzvWsfw2nkJuZ3yYHXbuptnTk/xsbLFnVUX18liEK36UaftrO2+0 xIR9N4lJ/O1OUqRUOUAE8HmTFv/J8YvLeTWy4zBJSHfvQArImFHhWewBEqcfuLQG3EeK rT5rCp11tX6v5afzPxG4h6kwGXB6Hh+I0LXnHa2w1zVwR7Va+bzZq0KZj/mV7QPuXSqc xrdUZwfbpxtwDiJoBsetS7+46EvcHJhd3usawKtyIrYpTkYHvdc/iSSMFiHOkj2muHwv 8W8kcPWc7nEi7NiLWsT8cgYjFJZIKLKHthGELUaJoIpt09cJ8LZSQ+SBsWKSfq9+g5XV z/xg== X-Gm-Message-State: AOJu0YwRzPOEXoyDYR3geVWAHn6R6NJcOga5H/PuoaKCd7BDZN5F3rCZ ClkJ7jV59OpJGlEpd0+hxLXqAHYRITcb+ufN3wBlF4i866Am X-Google-Smtp-Source: AGHT+IHN12ACYYsyXq2sP6/mMhCGdEf83O32X49hdSsij53qqdVEvKubDofPfCsAlTTOjxNlFBeeXD224hs/rscy1d0= X-Received: by 2002:a05:6a20:a1a0:b0:18b:3b9e:93f2 with SMTP id r32-20020a056a20a1a000b0018b3b9e93f2mr11359993pzk.3.1701144861217; Mon, 27 Nov 2023 20:14:21 -0800 (PST) MIME-Version: 1.0 From: Max Arnold Date: Tue, 28 Nov 2023 11:14:09 +0700 Message-ID: Subject: 29.1; macOS accept-process-output line length limit of 1024 To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="0000000000002a1a1c060b2ea763" Received-SPF: pass client-ip=2607:f8b0:4864:20::535; envelope-from=arnold.maxim@gmail.com; helo=mail-pg1-x535.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 28 Nov 2023 09:21:39 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --0000000000002a1a1c060b2ea763 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable blacken-buffer (from https://github.com/pythonic-emacs/blacken/blob/master/blacken.el) hangs at accept-process-output C call if a Python code line length exceeds 1024 characters. A quick reproducer: mytest.py: ``` assert res =3D=3D "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@= @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@= @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@= @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@= @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@= @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@= @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@= @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@= @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@= @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@= @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@= @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@= @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@= @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@" ``` mytest.el: ``` (defun test-blacken () (add-to-list 'load-path "~/.emacs.d/elpa/blacken-20230821.1738") (require 'blacken) (find-file "/tmp/mytest.py") (blacken-buffer) ) ``` Test command: /Applications/Emacs.app/Contents/MacOS/Emacs -Q -l mytest.el -f test-blacken Emacs build https://github.com/railwaycat/homebrew-emacsmacport/releases/tag/emacs-29.1= -mac-10.0 In GNU Emacs 29.1 (build 1, x86_64-apple-darwin21.6.0, Carbon Version 165 AppKit 2113.6) of 2023-08-08 built on Mac-1691500888998.local Repository revision: e173249a143cee72d59ae78c4e11038512f5a00f Repository branch: 29.1-mac-10.0 Windowing system distributor 'Apple Inc.', version 13.6.1 System Description: macOS 13.6.1 Configured using: 'configure --with-mac --enable-locallisppath=3D/usr/local/share/emacs/site-lisp:/opt/homebrew/sh= are/emacs/site-lisp --enable-mac-app=3D/Users/runner/work/homebrew-emacsmacport/homebrew-emacs= macport/build-scripts/build_out/tmproot --prefix=3D/Users/runner/work/homebrew-emacsmacport/homebrew-emacsmacport/= build-scripts/build_out/tmproot --enable-mac-self-contained --with-modules --with-xwidgets --with-tree-sitter --without-lcms2 --without-webp' Configured features: ACL GMP GNUTLS JSON LIBXML2 MODULES NOTIFY KQUEUE PDUMPER SQLITE3 THREADS TOOLKIT_SCROLL_BARS TREE_SITTER XWIDGETS ZLIB Important settings: value of $LANG: ru_RU.UTF-8 locale-coding-system: utf-8-unix --0000000000002a1a1c060b2ea763 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
blacken-buffer (from https://github.com/pythonic-emacs/b= lacken/blob/master/blacken.el) hangs
at accept-process-output C call= if a Python code line length exceeds 1024 characters.

A quick repro= ducer:

mytest.py:

```
assert res =3D=3D
"@@@@@@@@@= @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@= @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@= @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@= @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@= @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@= @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@= @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@= @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@= @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@= @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@= @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@= @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@= @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@= @@@@@@@@@@@@@@@@@@@@@@@@"
```

mytest.el:

```
(defu= n test-blacken ()
=C2=A0 (add-to-list 'load-path "~/.emacs.d/el= pa/blacken-20230821.1738")
=C2=A0 (require 'blacken)
=C2=A0 = (find-file "/tmp/mytest.py")
=C2=A0 (blacken-buffer)
=C2=A0= )
```

Test command:

/Applications/Emacs.app/Contents/MacO= S/Emacs -Q -l mytest.el -f
test-blacken

Emacs build
https://github.com/railwaycat/homebrew-emacsmacport/releases/ta= g/emacs-29.1-mac-10.0

In GNU Emacs 29.1 (build 1, x86_64-apple-d= arwin21.6.0, Carbon Version
=C2=A0165 AppKit 2113.6) of 2023-08-08 built= on Mac-1691500888998.local
Repository revision: e173249a143cee72d59ae78= c4e11038512f5a00f
Repository branch: 29.1-mac-10.0
Windowing system d= istributor 'Apple Inc.', version 13.6.1
System Description: =C2= =A0macOS 13.6.1

Configured using:
=C2=A0'configure --with-mac=
=C2=A0--enable-locallisppath=3D/usr/local/share/emacs/site-lisp:/opt/ho= mebrew/share/emacs/site-lisp
=C2=A0--enable-mac-app=3D/Users/runner/work= /homebrew-emacsmacport/homebrew-emacsmacport/build-scripts/build_out/tmproo= t
=C2=A0--prefix=3D/Users/runner/work/homebrew-emacsmacport/homebrew-ema= csmacport/build-scripts/build_out/tmproot
=C2=A0--enable-mac-self-contai= ned --with-modules --with-xwidgets
=C2=A0--with-tree-sitter --without-lc= ms2 --without-webp'

Configured features:
ACL GMP GNUTLS JSON = LIBXML2 MODULES NOTIFY KQUEUE PDUMPER SQLITE3
THREADS TOOLKIT_SCROLL_BAR= S TREE_SITTER XWIDGETS ZLIB

Important settings:
=C2=A0 value of $= LANG: ru_RU.UTF-8
=C2=A0 locale-coding-system: utf-8-unix
--0000000000002a1a1c060b2ea763-- From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 28 09:51:44 2023 Received: (at 67510) by debbugs.gnu.org; 28 Nov 2023 14:51:44 +0000 Received: from localhost ([127.0.0.1]:45917 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7zRA-0008Lx-Fj for submit@debbugs.gnu.org; Tue, 28 Nov 2023 09:51:44 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34626) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7zR5-0008Ld-4V for 67510@debbugs.gnu.org; Tue, 28 Nov 2023 09:51:43 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r7zQs-00012v-Ks; Tue, 28 Nov 2023 09:51:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=an6XQXY8q7s22dG72fN0bOr5YDKZgUR9FHmrxrVZgfg=; b=WBf1FZXj1DCy 55xX9Yp+VjFtDnCC2WRSKdcUldSCtHsxCCeaV9uGSnIe03lpJ2NtTY3wcjSCIOi2aV7L9sRnoc5e/ ep0eqgJIOm12J7C+yTPGGXHWEVMC+2+SbM+pkw6sckEf5+G42Kcf2+Ug86yr6kbPNhsfJtlsvc23Y 1aSUBvrIXUYvFZvYz1718e+BSNjOgvTSDcBmMsSlRscHQCVO/9GvjQuvhngGkBXOVnzVCkDikY+vm 9wg5EwKprMUpEbRGfHsc6NcxuZPd+OspRfY/fZsZkCDjnzJ5d8odHTOIle5kGgsCa8IY1awYopipU 6++oQ2PU44fI4sWijXo3YA==; Date: Tue, 28 Nov 2023 16:51:11 +0200 Message-Id: <838r6i7wyo.fsf@gnu.org> From: Eli Zaretskii To: Max Arnold In-Reply-To: (message from Max Arnold on Tue, 28 Nov 2023 11:14:09 +0700) Subject: Re: bug#67510: 29.1; macOS accept-process-output line length limit of 1024 References: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 67510 Cc: 67510@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Max Arnold > Date: Tue, 28 Nov 2023 11:14:09 +0700 > > blacken-buffer (from https://github.com/pythonic-emacs/blacken/blob/master/blacken.el) hangs > at accept-process-output C call if a Python code line length exceeds 1024 characters. Did you try binding process-connection-type to nil around the call to blacken-buffer? From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 28 10:44:05 2023 Received: (at 67510) by debbugs.gnu.org; 28 Nov 2023 15:44:05 +0000 Received: from localhost ([127.0.0.1]:47477 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r80Fp-0001dD-Cc for submit@debbugs.gnu.org; Tue, 28 Nov 2023 10:44:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58512) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r80Fo-0001c0-22 for 67510@debbugs.gnu.org; Tue, 28 Nov 2023 10:44:04 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r80Fa-0006GH-LJ; Tue, 28 Nov 2023 10:43:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=25qErjqiEYBCPuJmR41KWMnRv9LWttlZ28w98uZ0DpM=; b=ZUOhjd7GsdCE Mn2zC2HwSluGX603qmUaUTnkgtY0jyA9LRqSdr6M1yljaPJMqQTcJ0i+u/vP4NcJlFwA4a7ZIYgDl Lcv4Qohu7bUNL69sUFZchvXKJ1S1JRM10mzkhseYXlnm0r0/iVKL94uEB5aRCO2MwBFlb+ubcfgvH 1t1uE/qo2/u2MzCQp4Nqlq6Yo+bXFg8TvIqrCg5U2e+zrAq4QIBSG+HXfU5iDu0zZTu1sKl0CckMF 4FrsDBH6B2b4Z60K+3/qACJ3CZ493ZWQdWiEBF3jFNjldGcZgqBEOroISwyQmmXifGqiRTgBNnw1S wp/HWbm5DqaTuRsSQ7wq3A==; Date: Tue, 28 Nov 2023 17:43:37 +0200 Message-Id: <834jh5993q.fsf@gnu.org> From: Eli Zaretskii To: Max Arnold In-Reply-To: (message from Max Arnold on Tue, 28 Nov 2023 22:22:31 +0700) Subject: Re: bug#67510: 29.1; macOS accept-process-output line length limit of 1024 References: <838r6i7wyo.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 67510 Cc: 67510@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Max Arnold > Date: Tue, 28 Nov 2023 22:22:31 +0700 > > Added one line to blacken.el and it looks like the problem is fixed: > > ``` > (let ((process (make-process :name "blacken" > :command `(,blacken-executable ,@(blacken-call-args)) > :buffer output-buffer > :stderr error-buffer > :noquery t > :connection-type 'pipe ;; <-- ADDED > :sentinel (lambda (process event))))) > ``` > > Does it mean that the bug is not related to Emacs and I should file it against blacken? If so, sorry for > the noise. If blacken has no reason to use PTYs, and it can produce large volumes of output from the process, then yes, it should use pipes for communications with the sub-process. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 25 09:29:33 2023 Received: (at 67510) by debbugs.gnu.org; 25 Dec 2023 14:29:33 +0000 Received: from localhost ([127.0.0.1]:54201 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHlxU-00085U-QS for submit@debbugs.gnu.org; Mon, 25 Dec 2023 09:29:33 -0500 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]:55537) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHlxS-00085D-TL for 67510@debbugs.gnu.org; Mon, 25 Dec 2023 09:29:31 -0500 Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-a233bf14cafso451199666b.2 for <67510@debbugs.gnu.org>; Mon, 25 Dec 2023 06:29:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703514558; x=1704119358; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=Pdu4Zobm/A1gIAVlWly1q77E3du+5JuefbFiQhBc/3s=; b=lJgB3VNoxcEGlju1gqst+bnWSri3FxLmIV/t+bcb97aOAHu+GNL0MkWNRVAD9q+N0J KlfnzLXyUqDg9g+N0S48dCmXQ0GhqdJW+O7qJ/OELdLgUVp5K9VJiG7YF3xm0lfabwu7 yNir0UVs//m8HpmcvM+5Iy5vTRgx0+CEPotQjjqMfoKyio2mduQjROeZ+VjopBBh53Z6 5JRN2nPU9UgS+zauS0TDriuUUUDsPzNTBNItFS54ik57XEZxY45Cnx5CSYHwpWvTsDY2 vzHzAZGXdn9aYWdaesLbLLTO9m7flEaiers4joX3u1jRjsSK1eWU/qQyTxNjpNv4f9Lb oqag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703514558; x=1704119358; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Pdu4Zobm/A1gIAVlWly1q77E3du+5JuefbFiQhBc/3s=; b=ULyhuqoyGwyuPHRRbVT2imv7d7uI0qdO40UKPP6Wzp51BTWWXlvs8EAJ/z6z+gxTn6 l01fK5CLy9qxFVT0JVULPdiMgG7upWv4gPT8SsrMv4l4IBoHBhbxAXDlf/th9mkaExRH 1eNbIocKZxFnTwq31GEFU2L3/49rWHpUlH/I/FnPpiALHC88lVCxX81zzL4nHtnWCZVj UXT9Qjs4Kz2YiGEVAMQP4rzLueMvTm4iviZFnTaEx1JTFwdqAR6Hs6jDcWKzhAeVNBtZ kp6olmO+bYiKptun1v08vjNvjHMtV6WCpOPXxW9P/4oZOkbQa6d0P754FMQyaNsuzDkB Vi9A== X-Gm-Message-State: AOJu0Yx1Gi08DCDHyZDBE4IVG1ifcBIMGD/Bg4cV/04lJEUi2SfvNom7 5RrnieaRBBuACmml/YtitT2hJJ+CEiEnkhGBykY= X-Google-Smtp-Source: AGHT+IEW3hbKj5/Q8GrXYH0WElgTP40baRdZKICMVX6qaFqf77nkdQQCZKTwc1QLE+dXL0UHQYkUE/BMDLnh+Sw2Z80= X-Received: by 2002:a50:cccc:0:b0:553:ff87:e286 with SMTP id b12-20020a50cccc000000b00553ff87e286mr4434741edj.30.1703514557635; Mon, 25 Dec 2023 06:29:17 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 25 Dec 2023 06:29:17 -0800 From: Stefan Kangas In-Reply-To: <834jh5993q.fsf@gnu.org> References: <838r6i7wyo.fsf@gnu.org> <834jh5993q.fsf@gnu.org> MIME-Version: 1.0 Date: Mon, 25 Dec 2023 06:29:17 -0800 Message-ID: Subject: Re: bug#67510: 29.1; macOS accept-process-output line length limit of 1024 To: Eli Zaretskii , Max Arnold Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 67510 Cc: 67510@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: >> From: Max Arnold >> Date: Tue, 28 Nov 2023 22:22:31 +0700 >> >> Added one line to blacken.el and it looks like the problem is fixed: >> >> ``` >> (let ((process (make-process :name "blacken" >> :command `(,blacken-executable ,@(blacken-call-args)) >> :buffer output-buffer >> :stderr error-buffer >> :noquery t >> :connection-type 'pipe ;; <-- ADDED >> :sentinel (lambda (process event))))) >> ``` >> >> Does it mean that the bug is not related to Emacs and I should file it against blacken? If so, sorry for >> the noise. > > If blacken has no reason to use PTYs, and it can produce large volumes > of output from the process, then yes, it should use pipes for > communications with the sub-process. So I guess this is a bug in blacken and not in Emacs? From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 25 10:08:51 2023 Received: (at 67510) by debbugs.gnu.org; 25 Dec 2023 15:08:51 +0000 Received: from localhost ([127.0.0.1]:55079 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHmZX-0000OG-Bh for submit@debbugs.gnu.org; Mon, 25 Dec 2023 10:08:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48228) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHmZW-0000Nw-1d for 67510@debbugs.gnu.org; Mon, 25 Dec 2023 10:08:50 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rHmZK-0004b9-5I; Mon, 25 Dec 2023 10:08:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=kstp1rlLqC8celAsKp7GYOkwdyYlclPYI/8Sk7wbQKk=; b=rEYGzJwhnRW3 ZU3L2PeUBG123G44mPyS2Ia+y3JT5Eo/IOi7IADP3kRAayeVKB3YhDx4o8vfDOWhd63p2goA0L18Q UICut4di1B2bbSUrNnR7XrFiIPTVwB24EefXrkYoTU+BJSlSn7xu+FB/G/pojS6nY+CVbPtajQUVH +zzaIW9HvTM/FQwnjkNkwEm/IRS1O0I/6dpvIsddE2XnQcPOz2RXgBso1crgsa4+MstD/lZKGe+yh /AE03lU50DvEvRIjYnte5fKn6rKSx02poHtEGqbYvQ4Yfk9HJY+3qVgJPshxrgmwZrsdwSw5K00KY hjKk3NcC/pFQd+rXpSBL8w==; Date: Mon, 25 Dec 2023 17:08:34 +0200 Message-Id: <83r0ja9v65.fsf@gnu.org> From: Eli Zaretskii To: Stefan Kangas In-Reply-To: (message from Stefan Kangas on Mon, 25 Dec 2023 06:29:17 -0800) Subject: Re: bug#67510: 29.1; macOS accept-process-output line length limit of 1024 References: <838r6i7wyo.fsf@gnu.org> <834jh5993q.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 67510 Cc: 67510@debbugs.gnu.org, arnold.maxim@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Stefan Kangas > Date: Mon, 25 Dec 2023 06:29:17 -0800 > Cc: 67510@debbugs.gnu.org > > Eli Zaretskii writes: > > >> From: Max Arnold > >> Date: Tue, 28 Nov 2023 22:22:31 +0700 > >> > >> Added one line to blacken.el and it looks like the problem is fixed: > >> > >> ``` > >> (let ((process (make-process :name "blacken" > >> :command `(,blacken-executable ,@(blacken-call-args)) > >> :buffer output-buffer > >> :stderr error-buffer > >> :noquery t > >> :connection-type 'pipe ;; <-- ADDED > >> :sentinel (lambda (process event))))) > >> ``` > >> > >> Does it mean that the bug is not related to Emacs and I should file it against blacken? If so, sorry for > >> the noise. > > > > If blacken has no reason to use PTYs, and it can produce large volumes > > of output from the process, then yes, it should use pipes for > > communications with the sub-process. > > So I guess this is a bug in blacken and not in Emacs? I think so, yes. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 25 13:18:12 2023 Received: (at 67510) by debbugs.gnu.org; 25 Dec 2023 18:18:12 +0000 Received: from localhost ([127.0.0.1]:55339 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHpWm-00062Y-5d for submit@debbugs.gnu.org; Mon, 25 Dec 2023 13:18:12 -0500 Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]:59836) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHpWj-00062G-VT for 67510@debbugs.gnu.org; Mon, 25 Dec 2023 13:18:10 -0500 Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-a26db4e9676so188089066b.3 for <67510@debbugs.gnu.org>; Mon, 25 Dec 2023 10:18:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703528277; x=1704133077; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=ci0ysV1DzWfwG6ZnDNG5KmuG0ZefLCeZMySWf7X5vv0=; b=abU4j29AxCPvYmOR9M7U0MzIsnpd8zG1Ry9EtQsv6nCXttkc4N23knULDi1lSwxNTX kbmvbzQYkUHsBrl9uVEcz83w98zDVLKZunwRpaa1Kso91zEDjqdrT6JdVHRpXrx946Hb tVEtfjQvKQQenBqA9KSqlSW4JTxbi8rnX0mE8ygFAvQGw0UgYtO845ouHFObMt/PdnWr evc/4GMHZ32k2pS8Y6mPNz016RmuLZsxRcm1hx+x0h0mxct7PrwidfacZCcLAIaNOS5c uAlCJYnqoWYJ9w6twtxhG65jzXO7lYqGhQronHIKBATb6zLpiIMcJFHzqyAQ5Pb7fkKZ IK/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703528277; x=1704133077; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ci0ysV1DzWfwG6ZnDNG5KmuG0ZefLCeZMySWf7X5vv0=; b=qfDvCe6XJpEeG6IcxbTIipaSKm7rNgVTcRVHhdWm7Jxi1d6EiaxTZyAaynnHLFXtxh jtyXVbh/a8SQiYGKfQPdLihEcJZtH/cJJBWgBg5BqC+mLlhmTeTQ26zlXrfHS0QFhVAY TQb0CfCqk7GvGOrdSfJD5HjYdrEzlQRjsd9XcJ3GUD6r73KQQufYB48pjsYxx5yBwytn eIPUvlD6HR5x+Of6wxwMEacO0IOpkxDhVa1Ungqgbh7qPyi3q2gaK4st3rp9KVeYpqbN kmfVv0ebQCC8JGYODa15YUk5+pkRzzfc+Tm0rKsgWfrv9hffaeF8Ctd6yh2z7Ao4DEF3 /aOw== X-Gm-Message-State: AOJu0YyLHPvImSeeLBvOSVXBRXrIMl6fHBoUU5nIF5YB5ORcL2gTBcrn jBHK5SpLzgf7ge3NpC8mvTX6tk0fdTqisjc4IOo= X-Google-Smtp-Source: AGHT+IHTiLlng/svsVGRZP97hYydor7F1DwBOxcA3ca9hnpoVyfpCqixe7GzaLiDheRYDij2NYOoHdW5A6a7yuFlgQE= X-Received: by 2002:a50:d48f:0:b0:54c:c68e:95a7 with SMTP id s15-20020a50d48f000000b0054cc68e95a7mr3036282edi.52.1703528277240; Mon, 25 Dec 2023 10:17:57 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 25 Dec 2023 10:17:56 -0800 From: Stefan Kangas In-Reply-To: <83r0ja9v65.fsf@gnu.org> References: <838r6i7wyo.fsf@gnu.org> <834jh5993q.fsf@gnu.org> <83r0ja9v65.fsf@gnu.org> MIME-Version: 1.0 Date: Mon, 25 Dec 2023 10:17:56 -0800 Message-ID: Subject: Re: bug#67510: 29.1; macOS accept-process-output line length limit of 1024 To: Eli Zaretskii Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 67510 Cc: 67510@debbugs.gnu.org, arnold.maxim@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 67510 + notabug close 67510 thanks Eli Zaretskii writes: > I think so, yes. OK, closing it as notabug. From unknown Fri Aug 15 15:28:25 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 23 Jan 2024 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator