From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pierre Mercatoris Newsgroups: gmane.emacs.bugs Subject: bug#60142: 28.1; python.el Incorrect region when python-shell-send-region from indented code Date: Fri, 30 Dec 2022 17:36:00 +0100 Message-ID: References: <83mt7lf12y.fsf@gnu.org> <87zgbjheqt.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000100f0e05f10e33e3" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28129"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , Augusto Stoffel , 60142@debbugs.gnu.org To: kobarity Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 30 17:37:16 2022 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 1pBINe-0007A5-L0 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 30 Dec 2022 17:37:14 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pBINU-0003O0-2X; Fri, 30 Dec 2022 11:37:04 -0500 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 1pBINS-0003Nm-JR for bug-gnu-emacs@gnu.org; Fri, 30 Dec 2022 11:37:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pBINS-0005nE-BW for bug-gnu-emacs@gnu.org; Fri, 30 Dec 2022 11:37:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pBINR-0001dI-U4 for bug-gnu-emacs@gnu.org; Fri, 30 Dec 2022 11:37:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Pierre Mercatoris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 30 Dec 2022 16:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60142 X-GNU-PR-Package: emacs Original-Received: via spool by 60142-submit@debbugs.gnu.org id=B60142.16724181806216 (code B ref 60142); Fri, 30 Dec 2022 16:37:01 +0000 Original-Received: (at 60142) by debbugs.gnu.org; 30 Dec 2022 16:36:20 +0000 Original-Received: from localhost ([127.0.0.1]:36001 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pBIMl-0001cB-SC for submit@debbugs.gnu.org; Fri, 30 Dec 2022 11:36:20 -0500 Original-Received: from mail-ej1-f44.google.com ([209.85.218.44]:44849) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pBIMk-0001bw-8E for 60142@debbugs.gnu.org; Fri, 30 Dec 2022 11:36:18 -0500 Original-Received: by mail-ej1-f44.google.com with SMTP id x22so52299635ejs.11 for <60142@debbugs.gnu.org>; Fri, 30 Dec 2022 08:36:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=UlF9I/AkiJ5EnV+My4KFUKfi3DMNOtHu+yIrDB1mIyE=; b=qi13FwGnPW1B/80tNqTcMG9O8KOuh3OpZqtIBqpBEe56jd2hmmPq99CRQYvVKwWvZm 1NGk42qteGLANtdrIlsO5Cu2whAkgCKN2dgGQTCpur7GYgh5xS5S5FDm27b24yfuydxP Aqr6p7+s0gCgiCd2D0/hyVauasRDCo9adAOApk5Xa2Ed8eVml0Yor20wuwHLJqI4RJIU TmFDcQGoxRe4OcwqufDa6beINO2Ox2gXY8z5OZurrobfzRHigpv975bNCaU9DT3L+8hK A9qhCIzXK49MbRp1kIjQ415r4KyGpbBweHQDOAJw7SacoLDm39r8ljEWOHURlhiB3Bl1 oddw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=UlF9I/AkiJ5EnV+My4KFUKfi3DMNOtHu+yIrDB1mIyE=; b=CrshHpUXGhJL7lWspiHf/LIPdq0LxaRuaEcOMrWVfvZlrWqH8Rd4OvA3jcY1a/ZeCC W4i9ZDl2WTV/WdIOW739uTu6G6Q1jZtMcv5XEz29IpwnMs2F0LqN3F7/YvAThnBHoNK5 pHJ2cMT9cfRtHtR2PUpRn3V69druPkWV2h2cTDafo6nfOfqMqDUim3rXti+cPOwItZO4 +de1NwrWLFPfqYYWmpYgak3Zph6hhgggc/rNZJYEV40mYjJXov4yJmeokV9Nsz4ppPiC w9HJQqrhKbcxUeTJibrSl64+6HOp+c8Ln1QhLPEz7k1+SaFzs1rJuMo6XOOXWxeZVyon PHPQ== X-Gm-Message-State: AFqh2kqs+GxOF6ZlV/qMIg/xEVvxbio7RKu4+B6NPfZpsWCJxKtRa9x4 Oy/HvZ9w69Xh3mfvlVopwB4u0WwdyGM7JjMx70Q= X-Google-Smtp-Source: AMrXdXsP64Bre7DmFBcoSf4dw24/eNeNwu4A4H9b5L3tyAFrr8zQ70OJUfpE9ne6YyhmcNQTtM0kCHwSA8YFbBmmd0w= X-Received: by 2002:a17:906:6955:b0:7de:e268:2069 with SMTP id c21-20020a170906695500b007dee2682069mr3205381ejs.341.1672418172078; Fri, 30 Dec 2022 08:36:12 -0800 (PST) In-Reply-To: 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:252138 Archived-At: --000000000000100f0e05f10e33e3 Content-Type: text/plain; charset="UTF-8" Thank you so much for your detailed and simplified explanations, I highly appreciate it. I can confirm after applying the latest patch you provided that I am now getting the expected behaviour of being able to send statements regardless of their indentation. This will fundamentally improve my daily use of emacs. Thank you so much for that. Regarding the patch, is there anything that should be done in order for the patch to be applied in an incoming Emacs release? Kind regards, Pierre --000000000000100f0e05f10e33e3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thank you so much for your detailed and simplified ex= planations, I highly appreciate it.

I can confirm = after applying the latest patch you provided that I am now getting the expe= cted behaviour
of being able to send statements regardless of the= ir indentation. This will fundamentally improve my daily
use of e= macs. Thank you so much for that.

Regarding the pa= tch, is there anything that should be done in order for the patch to be app= lied in an incoming
Emacs release?

= Kind regards,
Pierre
<= /div> --000000000000100f0e05f10e33e3--