From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#49822: master e32c7d2: Change Python eval to send directly instead of using temporary files Date: Mon, 06 Sep 2021 09:43:39 +0200 Message-ID: <878s0a409g.fsf__32114.9311888561$1630914318$gmane$org@gmx.de> References: <20210903122828.16890.65271@vcs0.savannah.gnu.org> <20210903122829.EAAC220B71@vcs0.savannah.gnu.org> <87r1e4eklw.fsf@gmail.com> <87v93fnfmm.fsf@igel.home> <87lf4aooge.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25322"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 49822@debbugs.gnu.org, Andreas Schwab , Stefan Monnier , emacs-devel@gnu.org To: Augusto Stoffel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 06 09:45:12 2021 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 1mN9JY-0006QQ-4u for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 06 Sep 2021 09:45:12 +0200 Original-Received: from localhost ([::1]:37160 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mN9JV-0006tq-R2 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 06 Sep 2021 03:45:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37126) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mN9IR-0005cl-QZ for bug-gnu-emacs@gnu.org; Mon, 06 Sep 2021 03:44:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40017) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mN9IQ-0003E2-Fi for bug-gnu-emacs@gnu.org; Mon, 06 Sep 2021 03:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mN9IQ-0001Ln-6o for bug-gnu-emacs@gnu.org; Mon, 06 Sep 2021 03:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Sep 2021 07:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49822 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 49822-submit@debbugs.gnu.org id=B49822.16309142365172 (code B ref 49822); Mon, 06 Sep 2021 07:44:02 +0000 Original-Received: (at 49822) by debbugs.gnu.org; 6 Sep 2021 07:43:56 +0000 Original-Received: from localhost ([127.0.0.1]:51563 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mN9IJ-0001LL-P2 for submit@debbugs.gnu.org; Mon, 06 Sep 2021 03:43:55 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:59845) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mN9IH-0001L1-F0 for 49822@debbugs.gnu.org; Mon, 06 Sep 2021 03:43:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630914222; bh=89KXExX0LQqgoiQBxVX/sLNs+Z6N7QlB4EFCjHQnPKg=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=BNHKA2/BQz8wq7wVBEapUHNSDfidnz9TSE6X8buH4pmaT805ccWl/4HoJg0LZBGlj 6xbiUG8GUy4By9FLzcDad4GZyQuP8G+heRAOXrC0f6VRaWFt5qEwzrbC5AaR9np8lv mael0qszgSySF/LfQiK0PYfRWNxh7RSftFxy1W2o= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([79.140.124.110]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mn2WF-1mmc4Q3iKt-00k8eN; Mon, 06 Sep 2021 09:43:42 +0200 In-Reply-To: <87lf4aooge.fsf@gmail.com> (Augusto Stoffel's message of "Sun, 05 Sep 2021 20:40:49 +0200") X-Provags-ID: V03:K1:lgNj0mkgz1Jz0uLXmu6vjhBCFDyzBN5pfXswfIUORLdX2VJZzG0 Ha0Yv4NdBSOVoxje1w/UJuot+sGJCF+dcA9BzZZeymZ4ZcdQ5Ycqok0A4vX4S2XMtnl0JzE 5z7Uf1WLJ3FVABn7nrlkVaDG++W0TfIAO7pLDYdeDrhTs36XqBLxa1r8tj5T7jmfDYRo/m5 9iDJBA3G0qKz7m7czdDZQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:wrN1AbjGWNU=:4qg8b8nbj2kgc4ijUWHlWh lQ3MLwOKPY598zaLJEe9xQSVp7lh9KiRDU1TGSfZIV0PxA43btFg53UVuP092M+uGTmJMe1Wa X2S+lBXoWL/MMlZECPpMtlJSTwohHfEB/soS3hogEHJmP+GFss6WG0RatZM6SK9pCfXDa4a/b Bye4nuqaxDIpjbiF+DuiCvK43NottGpDYUMsE6jLvsgizKf2cRx0GFzn6tCnpuNE47f7hnhio iJVUDtSomhKPlV7BTZfrkqmzrYULl93rl9JM9CLVN3rzzcQNChUmBhsqNxHZKG0qe17Hn2fcn txSpMI/wZ8LRc6NzTR9gyXgsZg3A2QHLs1xSq2FRhjtZteeIMRmUnDJW2IPuXRgGjGY6l+9pR usloBMkhyCCZlwVUmyAiBe13k52oJ3HeG4YZchBQ8kOYviuieNXdpgA7A4GRlXA40DcJR3HPK ZXjtDHUXsITsVHapw9KaSdt0iPazprvViUZWfkMBQIEfvn1LmSAB6PLe2j/Xn2vzlDwdiNsHs 1Jsc+8w4EMninkuPY+ee/mENuuH5hZiT2txTVR5SeQ/yrTvRg3Gro4jEfkuSWRiYdE2BZfZoW aOgHAcqvBambT19+gJBDG+ydbEe7q5isePM/6kE8hYQztV6dT4qoUYHByZ/j0RgICXlZrE5oL mTR95TDZ1YCTscF8kNUYXL9wGcRB1oqdHyyW2uc0ZWe+rU4vJEFvbGbAONj3xvJTTUzfSFqUH Q7iX6eXvMEL9IHrmWLOJA8A5+qinhJ3SPjJ+qkT1tKdIZren+IMhYc6O/rjF+1apLsRIRPnj 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" Xref: news.gmane.io gmane.emacs.bugs:213550 Archived-At: Augusto Stoffel writes: > Okay, so is the TTY line length limit of the OS available in Lisp > somewhere? Otherwise, can we at least trust that 1024 is the universal > lower bound? On systems with a POSIX shell: --8<---------------cut here---------------start------------->8--- (let ((default-directory "/")) (read (shell-command-to-string "getconf LINE_MAX"))) --8<---------------cut here---------------end--------------->8--- Note, that this can differ when you connect to remote hosts. That's why I have bound default-directory to a local file name in the example. Best regards, Michael.