From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Augusto Stoffel Newsgroups: gmane.emacs.bugs Subject: bug#50503: [PATCH] Properly encode all strings sent to the Python shell Date: Fri, 10 Sep 2021 18:16:11 +0200 Message-ID: <87h7ese790.fsf@gmail.com> References: <87czpgww6a.fsf@gmail.com> <87tuispu2u.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2138"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 50503@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 10 18:17:46 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 1mOjDm-0000JC-Fd for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 10 Sep 2021 18:17:46 +0200 Original-Received: from localhost ([::1]:35072 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mOjDk-0001tF-G8 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 10 Sep 2021 12:17:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35386) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOjD6-0001lU-11 for bug-gnu-emacs@gnu.org; Fri, 10 Sep 2021 12:17:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55722) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mOjD5-0001UC-PM for bug-gnu-emacs@gnu.org; Fri, 10 Sep 2021 12:17:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mOjD4-0005RY-GT for bug-gnu-emacs@gnu.org; Fri, 10 Sep 2021 12:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Augusto Stoffel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Sep 2021 16:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50503 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 50503-submit@debbugs.gnu.org id=B50503.163129058420870 (code B ref 50503); Fri, 10 Sep 2021 16:17:02 +0000 Original-Received: (at 50503) by debbugs.gnu.org; 10 Sep 2021 16:16:24 +0000 Original-Received: from localhost ([127.0.0.1]:39035 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOjCS-0005QY-2b for submit@debbugs.gnu.org; Fri, 10 Sep 2021 12:16:24 -0400 Original-Received: from mail-wr1-f54.google.com ([209.85.221.54]:44566) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOjCM-0005QH-Pj for 50503@debbugs.gnu.org; Fri, 10 Sep 2021 12:16:22 -0400 Original-Received: by mail-wr1-f54.google.com with SMTP id d6so3369720wrc.11 for <50503@debbugs.gnu.org>; Fri, 10 Sep 2021 09:16:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=mJf5GF9dJReu73Pwqtg6bt++DzhinHq/xaBz+P/4g9s=; b=ijtuCRRU6/XaGPO80bsr0KMEa0sFEzttTyCrAly1xwBnNakMa4XzVpmbWh9Sa4aPFq xyRnAlOqJ5dICh+MrQxVwrBjhbhYm/Qr6PgMv+pX9R6suBHEgtzIk4uV74Fi1UrmWLGe pDpFxiz031mrKRZwAJTX019eNHW1TT60QwBvcCrNmuAP+c5BwoMsLB7eZJgnXQpP/1Eg ZjVdJ41eSL5i1Qm2hKBXY3RDkAYNuVpTmfSOASEVrhOVpqTX7RlR5uzGvUzI93tmubnz k6kMt4oC03vTyCO7yo7KL59SgqyC0c2mtKxS9O5JRTYm1YZSUb+T1hPJY9mTdo7ENxAV hTWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=mJf5GF9dJReu73Pwqtg6bt++DzhinHq/xaBz+P/4g9s=; b=QioFoQx9dOw+Lz2RQT/86cl+qLrl3bwTE4JjYJVEcoHxlT+PgjMHL+H6KfPxRPOe8x BRdrOTYgeBo3yFnPxm3WFQSxP+Fnnv3eH/3IaaRnQZbgkSwdNSYI+tu76NfJebpgmATq xHvLuctK7cu0BD1wstPqJZMuLkUqU3bB3gqI5fZcRJ7nG26OY2euo3Sk7Gj+b1MTG7at LkXYtbG9VIJZexZedFT37WcZTyk9FInUzWCzyt2nmwtcbOkqimf7wY/cvsoLxW4/gIMM 0QJi9f2A8A/bzGbQN98PbS8MZJi8rhtkhd9qLMtUvTlD6n2oTNhihuGTDKBNT95OTO14 aONA== X-Gm-Message-State: AOAM533OqAWPxe30SbIPbWwwlhYeYfqxqaL0pBgA4BXpYw8o/cQCaGd0 tJEKTnE6LWBW7Ln+BXeIOxOQzEaP6QNM2A== X-Google-Smtp-Source: ABdhPJwI573FCL1eapqkR7eNjgnhF/EPV2efZiZpw1rOze4SBA9kn4tHS4ZnxF5sXHgyGyBypcuqcA== X-Received: by 2002:a05:6000:34a:: with SMTP id e10mr10878422wre.421.1631290572622; Fri, 10 Sep 2021 09:16:12 -0700 (PDT) Original-Received: from ars3 ([2a02:8109:8ac0:56d0::b1d]) by smtp.gmail.com with ESMTPSA id a3sm2166552wrt.28.2021.09.10.09.16.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Sep 2021 09:16:12 -0700 (PDT) In-Reply-To: <87tuispu2u.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 10 Sep 2021 13:07:37 +0200") 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:214027 Archived-At: On Fri, 10 Sep 2021 at 13:07, Lars Ingebrigtsen wrote: >> - python.el now depends on Emacs 28 because it uses 'format-prompt' and >> 'comint-max-line-length' (luckily, only the latter is my fault). Is >> this a problem? > > Yes -- that was a mistake, so I've now reverted the usage of > format-prompt here. Thanks! But note that there is at least one Emacs 28 dependency left, namely `comint-max-line-length'. There's also a byte-compiler warning regarding `comint-highlight-input' even on Emacs 27.