From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Matthias Meulien Newsgroups: gmane.emacs.devel Subject: Re: Python mode, suggestion for command Date: Mon, 31 Jul 2023 19:08:23 +0200 Message-ID: <874jlkuhyw.fsf@gmail.com> References: <83tttmkm15.fsf@gnu.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="13008"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: chiel , Eshel Yaron , Eli Zaretskii , Augusto Stoffel , emacs-devel@gnu.org To: kobarity Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jul 31 19:09:26 2023 Return-path: Envelope-to: ged-emacs-devel@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 1qQWOY-00037o-4T for ged-emacs-devel@m.gmane-mx.org; Mon, 31 Jul 2023 19:09:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qQWNp-0000rs-0g; Mon, 31 Jul 2023 13:08:37 -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 1qQWNi-0000qk-Pf for emacs-devel@gnu.org; Mon, 31 Jul 2023 13:08:32 -0400 Original-Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qQWNg-0000tb-AC; Mon, 31 Jul 2023 13:08:29 -0400 Original-Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-3fbc63c2e84so52624565e9.3; Mon, 31 Jul 2023 10:08:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690823305; x=1691428105; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=+1ooRKStkNLhzTHls5HT29S3y+qBOypSXbpTMPYh0T4=; b=h3CTEs0ftCswleVPhwRB4MO9/nwnX5L9GZEHtyG6Z5gl8m8t3AsTyd4kjBNInzDANK Sv7I7bkvaggbPk4WUs7smo3QXeeRn51v6Kaoh8ERqCIfs7DYa6Y5Dhh6W7vkr0LqFIFY tpB0x/nr0sQXVVbN8P7Zx82fBDW0gbo2BQCrcNzXTkddwpWOt5p+cuJZ/75eegO8TbJJ lU/VxI0IZ6wM9Vu2n2s0ilAFTaGAaxj9g63tD+mc95los2QaPJbfnSaeKRpSecU8wYJP cN3bPtbe2+9jzIQgUQuM9bFsF2c9N6Rfyb1RzDANwVp/Jz8vY5hSMd0B6UCqT8IU6Ulf 22zQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690823305; x=1691428105; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=+1ooRKStkNLhzTHls5HT29S3y+qBOypSXbpTMPYh0T4=; b=eZebxltIJNoSxJienX08MzjfprhayH4M2p8DHjORYZsX402hw6eUHdTgD6kAOi3u2W AKIf/c28uoEHgMvxjrcRY/3eECWdawqkUchCBskTJZBJxiLTHTsbXPuTtEknWRc1bdgp DwDIWtm97Ec0x5ujv3gLjn3E1NxMOiAjIdg9pxOUOoRjeMaGlwNmeMn7hCYTno6Urzwp +0HDfvbLpU1KQYuPAIgeXHy23ew9oI+DWnVns16Xgaz6mCoEWL1MyB0KhXldnRPlnDqx HbE5HPjOylE5id3GTx085G29M6BERcMsfpf9V8Mm1isXJIuAQ4G2dboRnJ4zrsuhcHyc /uuQ== X-Gm-Message-State: ABy/qLb/frSQNKodapHL6oMhdz4WX7vbbIFG/T1uIsglZtL6hnGZuqQt L9zanSFb5pkwFI8OWzFeSK68Luje5XQckw== X-Google-Smtp-Source: APBJJlH+3Da56/1r4V51ZxRSz19Y9zaVYA3eqUlLlMPjCMLPPGYVZZQf1EhAdOYqMJieWEKCGMTDaA== X-Received: by 2002:a1c:7209:0:b0:3fb:a0fc:1ba1 with SMTP id n9-20020a1c7209000000b003fba0fc1ba1mr438959wmc.35.1690823305101; Mon, 31 Jul 2023 10:08:25 -0700 (PDT) Original-Received: from carbon.localdomain ([2a01:e0a:245:c850:98f5:429a:aa8e:95bb]) by smtp.gmail.com with ESMTPSA id l22-20020a1c7916000000b003fe22da3bc5sm2364661wme.42.2023.07.31.10.08.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jul 2023 10:08:24 -0700 (PDT) In-Reply-To: (kobarity@gmail.com's message of "Tue, 01 Aug 2023 00:52:54 +0900") Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=orontee@gmail.com; helo=mail-wm1-x329.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, 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-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:308225 Archived-At: kobarity writes: > Hi, it would be better to clarify what a paragraph in Python-mode is > and explain why it would be useful to be able to send it to Python > shell. For example, is the line "b = 2" a stand-alone paragraph? > > def func(): > a = 1 > > b = 2 > It's not clear to me how the proposed function differs from M-h followed by C-c C-r (mark-paragraph then python-shell-region). When developping in Python, I sometime use this sequence but I wouldn't learn a new key binding for this. Still, it's only a user pov, I am not a python-mode maintainer. -- Matthias