From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andreas =?UTF-8?Q?R=C3=B6hler?= Newsgroups: gmane.emacs.bugs Subject: bug#58023: 29.0.50; end-of-defun in python-mode does not work with nested function with multi-line arguments Date: Fri, 23 Sep 2022 17:19:45 +0200 Message-ID: <946aa5e3-6899-b87a-028b-d1a50dd61086@easy-emacs.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11501"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 To: 58023@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 23 17:21:11 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 1obkUG-0002pu-UW for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 23 Sep 2022 17:21:08 +0200 Original-Received: from localhost ([::1]:34882 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1obkUF-0002Tg-Tt for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 23 Sep 2022 11:21:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43540) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obkTD-0002TA-18 for bug-gnu-emacs@gnu.org; Fri, 23 Sep 2022 11:20:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42337) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1obkTC-0007LE-OF for bug-gnu-emacs@gnu.org; Fri, 23 Sep 2022 11:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1obkTC-0002pK-JJ for bug-gnu-emacs@gnu.org; Fri, 23 Sep 2022 11:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Sep 2022 15:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58023 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.166394639710851 (code B ref -1); Fri, 23 Sep 2022 15:20:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Sep 2022 15:19:57 +0000 Original-Received: from localhost ([127.0.0.1]:41415 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obkT7-0002ox-Ci for submit@debbugs.gnu.org; Fri, 23 Sep 2022 11:19:57 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:49062) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obkT6-0002oq-An for submit@debbugs.gnu.org; Fri, 23 Sep 2022 11:19:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43538) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obkT6-0002R0-5Y for bug-gnu-emacs@gnu.org; Fri, 23 Sep 2022 11:19:56 -0400 Original-Received: from mout.kundenserver.de ([212.227.17.13]:48949) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obkT4-0007KG-Dh for bug-gnu-emacs@gnu.org; Fri, 23 Sep 2022 11:19:55 -0400 Original-Received: from [192.168.178.61] ([89.247.171.241]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MrQMz-1p5d6j0QHn-00oYXe for ; Fri, 23 Sep 2022 17:19:46 +0200 Content-Language: en-US In-Reply-To: X-Provags-ID: V03:K1:K98BnZQKzcWaodgGLYYbRv+/KCLFNrfcMn6k3R96SSJs7Bo3/0t ZNCXn6pEp+p6cXxwdLqDUigruWy86C84sRRtqtQUkdCEypZFDfQzHu5RhphU8KRApexMxm8 9WiS2hYpOQi8uzS+shsPC2MPZcGQ8ihdJdhB3JcmcSIq9ntZyE+zT8OI2Bp87YqCYBFk3fw 3ktWE8J3vyQkpRSrQNGqA== X-UI-Out-Filterresults: notjunk:1;V03:K0:yIUU7oYSJ38=:AKSPLHjrR/TlO1Z/nJ1x7A No5X2mhcz2IpzY/vlEJcxznnvyxfknJvaapZKmsR2hJ+tq8y0nElTqMGRDX8DP/0gvgFMfEP/ GXqJ9oF7lDa7Xdm1vttFEsjEfLgfrHfRfRKiI32pPWFMwhr7K1J/VArqmkacFcvB5UllZFu2N E+5hUL4qoKFJbd8CRBbgKrd6HsmKylJXmou1FedpMeRJ72QE3aDxXmOSgLd/8JPYdAiJFXneJ mFhJAhJhCO2LDAZ8Siep4R+VEqJ+YSBzMDGpETm4vYujzLM166OZCE1evZ15WlGBYEzIZCvoT bT2O3P8+cE3ZOKlGfbxjh4uZBm7hWPa1RePVHDspYjhOCCfr/3PUznYv3tyVLreB2BpBrzTAu 0Xg3t9TB/bF4/TJp/4yRN9tCR6tu3BFbF2u632h8Y2ISVTnk9sPsh/Mm26ylTo4U2aSkNAU7y oxwcFTueo5gLUSZX/asmIRVk2KvKvfjbWAtywlqOs0Q+761PoCflK+pmIgNDenbTxL6+emlRE iTMLy1RYQ7EtbyRPVYhJyyxl9/rqXh+GjEvUnbD3JvrgYfERC1CPj8hgIwdO3y52K1VykZHNC 8msMmEQIaLOi5FoOfX08I8Lo1QZsG2k2FSekjQMTp1SdcSs6VzaUbn5UZkFLMo5ISjNFD3azt mM1ljrQFWzrl20mXThtLUT2rmvquPtfF/tTsm0x3pXOuTyPlUiYrzdfjOR2SKp8aqzlccrgEn P9TxHcis1v4caWYQUKEJRSb9B8wp5Q+eKoxmoTyNJRWizODxlOwXbGF8d1odsyp4C5UVG2b6 Received-SPF: none client-ip=212.227.17.13; envelope-from=andreas.roehler@easy-emacs.de; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:243468 Archived-At: Am 23.09.22 um 14:01 schrieb kobarity: > Hi, > > The following steps will place the point at the end of the class C, > not the end of the method a. > > 1. emacs -Q > 2. Load the following Python file using M-x find-file > > #+begin_src python > class C: > def a(self > ): > pass > > def b(self): > pass > #+end_src > > 3. C-n (M-x forward-line) > 4. C-M-e (M-x end-of-defun) > > This happens when the method (nested function) has multi-line > arguments. Probably not a big thing WRT editing purpose: For me method "a" starts with the "d" of def. From second line, BOL, reaching the end of class seems okay.