From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: kobarity Newsgroups: gmane.emacs.bugs Subject: bug#56600: 29.0.50; Python navigation problem with an empty line in nested defun Date: Sat, 16 Jul 2022 22:28:03 +0900 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35819"; mail-complaints-to="usenet@ciao.gmane.io" To: 56600@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 16 15:29: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 1oChr5-00099f-KC for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 16 Jul 2022 15:29:11 +0200 Original-Received: from localhost ([::1]:47710 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oChr4-0006Dr-33 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 16 Jul 2022 09:29:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41358) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oChqx-0006DU-72 for bug-gnu-emacs@gnu.org; Sat, 16 Jul 2022 09:29:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45493) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oChqw-0000jC-Sl for bug-gnu-emacs@gnu.org; Sat, 16 Jul 2022 09:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oChqw-0000pT-I6 for bug-gnu-emacs@gnu.org; Sat, 16 Jul 2022 09:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: kobarity Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 16 Jul 2022 13:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56600 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.16579781043139 (code B ref -1); Sat, 16 Jul 2022 13:29:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Jul 2022 13:28:24 +0000 Original-Received: from localhost ([127.0.0.1]:43252 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oChqJ-0000oZ-Os for submit@debbugs.gnu.org; Sat, 16 Jul 2022 09:28:24 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:35020) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oChqG-0000oP-TD for submit@debbugs.gnu.org; Sat, 16 Jul 2022 09:28:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41284) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oChqG-0006Bg-Nx for bug-gnu-emacs@gnu.org; Sat, 16 Jul 2022 09:28:20 -0400 Original-Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]:44724) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oChqE-0000gH-Tk for bug-gnu-emacs@gnu.org; Sat, 16 Jul 2022 09:28:20 -0400 Original-Received: by mail-ej1-x62d.google.com with SMTP id ss3so13374118ejc.11 for ; Sat, 16 Jul 2022 06:28:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=bPLUCz5ua/XpjHe8Zgo5YbJxRMgWgiSa8YV3e9Gxb2c=; b=BH94putKJTVE/i7Qlmmq6KtkQlX9s0iLscg6KB9qP9CDoSBD6ewbmnz9x3+95rrcpO 27cpFJlPt2S64lrdBrXpt2bJ5ybhMvj73jAKITWkYwBfJiaGPf4W0O+TlLEtSqprU1mq 5ts5tpsrY3wOVbz0s0f1T3eLETIWdHGrgPq1R69Ty8nukAkhH5pKR6B+x8QYVzxv9tKi 4CQfcqDeqN5/1xLYtTB14/rgpQO7sm61uoS/p4NU/e9X37ZOtAX2N5EYiuiucGjC5j1t G2f7J8qakURD8/2Jaq10rwYLLGuwseqmlPs2IS9ob2a+kEP7/JAmx9qLLtwHE45rY3AY ZuLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=bPLUCz5ua/XpjHe8Zgo5YbJxRMgWgiSa8YV3e9Gxb2c=; b=qAvF1sHTazi+TiKqvfczSkD+Bi2ugph04hQiDWpcod8sF+k+pKFvoOwoVufRg0bamt IifkLu1lSwTy8sRm8TO24JN7z16QniVjJ2AbVdKQ3hvOKfyEnEPF2Jv/5Ii9hDnEwxYu JQRQKpCZKrxR58xQIxawhVzgr16QZq6e5UJF8QwHmw4rAXANDsrT10c12GNaUPq5NVgZ U+9Yj8GWJuealz0g+amUu3pL1kYQD1Zy/x2bbKkqQ9E66MmNxCqtH5OeJB1Zw3IQj724 HIDAFdFVHD/CF4UUcJ65pm/mt4IWaC88PpP5bBa8cGoO8/qk7A0+Onj97bFydQwzT7yJ weLg== X-Gm-Message-State: AJIora9DU1gzcueTwPYq0BPmgqASYnmy7AZcra+KgR/fmqg1M243zBbz oBD+k75QycGnFp4M34QjyPoMbhJmr7NSM/2U7v6EE5MTonQ= X-Google-Smtp-Source: AGRyM1uH/JPoSPH/b6SEKRdW1ixoXlo+qwuthMh7v9aD1kZMqaOwyyPCCFGxdi7fnzjxaaOUva+b2UYIY/uKvSpJeKk= X-Received: by 2002:a17:907:7ea1:b0:72b:83cf:4ce9 with SMTP id qb33-20020a1709077ea100b0072b83cf4ce9mr18034080ejc.204.1657978096071; Sat, 16 Jul 2022 06:28:16 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::62d; envelope-from=kobarity@gmail.com; helo=mail-ej1-x62d.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: 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:237190 Archived-At: Hi, The following steps will place the point at the beginning of the line "def foo():", not the line "def bar():". 1. emacs -Q 2. Load the following Python file using M-x find-file #+begin_src python def foo(): def bar(): pass def baz(): pass #+end_src 3. M-: (forward-line 2) 4. M-: (python-nav-beginning-of-defun) python-nav-end-of-defun has a similar problem. Best Regards, -- In GNU Emacs 29.0.50 (build 6, x86_64-pc-linux-gnu) of 2022-07-16 built on ubuntu Repository revision: ea9b442b82f1efd7e41094b455a00d73c16d0fc3 Repository branch: master System Description: Ubuntu 22.04 LTS Configured using: 'configure --without-x --with-gnutls=ifavailable' Configured features: ACL LIBXML2 MODULES NOTIFY INOTIFY PDUMPER SECCOMP SOUND SQLITE3 THREADS XIM ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow regexp-opt sort mail-extr emacsbug message mailcap yank-media puny dired dnd dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date subr-x mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils term/screen term/xterm xterm byte-opt gv bytecomp byte-compile cconv rmc iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads inotify multi-tty make-network-process emacs) Memory information: ((conses 16 44274 5286) (symbols 48 5634 1) (strings 32 15464 1865) (string-bytes 1 494915) (vectors 16 8324) (vector-slots 8 102199 7439) (floats 8 25 355) (intervals 56 202 14) (buffers 992 11))