From unknown Sat Sep 13 21:03:14 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#13618 <13618@debbugs.gnu.org> To: bug#13618 <13618@debbugs.gnu.org> Subject: Status: 24.3.50; python-info-current-defun returns nil for a function without body Reply-To: bug#13618 <13618@debbugs.gnu.org> Date: Sun, 14 Sep 2025 04:03:14 +0000 retitle 13618 24.3.50; python-info-current-defun returns nil for a function= without body reassign 13618 emacs submitter 13618 Jorgen Schaefer severity 13618 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 03 06:17:34 2013 Received: (at submit) by debbugs.gnu.org; 3 Feb 2013 11:17:34 +0000 Received: from localhost ([127.0.0.1]:33673 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U1xZl-0004Ku-IS for submit@debbugs.gnu.org; Sun, 03 Feb 2013 06:17:33 -0500 Received: from eggs.gnu.org ([208.118.235.92]:32939) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U1xZi-0004Kl-PA for submit@debbugs.gnu.org; Sun, 03 Feb 2013 06:17:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U1xYk-0003R4-2z for submit@debbugs.gnu.org; Sun, 03 Feb 2013 06:16:31 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-101.9 required=5.0 tests=BAYES_00, USER_IN_WHITELIST autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:37527) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1xYj-0003R0-Vz for submit@debbugs.gnu.org; Sun, 03 Feb 2013 06:16:30 -0500 Received: from eggs.gnu.org ([208.118.235.92]:44290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1xYd-0006Xj-RD for bug-gnu-emacs@gnu.org; Sun, 03 Feb 2013 06:16:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U1xYb-0003PL-Ux for bug-gnu-emacs@gnu.org; Sun, 03 Feb 2013 06:16:23 -0500 Received: from istinn.electusmatari.com ([83.169.37.145]:35083) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1xYb-0003P7-OD for bug-gnu-emacs@gnu.org; Sun, 03 Feb 2013 06:16:21 -0500 Received: from orion.kollektiv-hamburg.de (hmbg-5f763b7d.pool.mediaWays.net [95.118.59.125]) by istinn.electusmatari.com (Postfix) with ESMTPSA id 914FED10001D for ; Sun, 3 Feb 2013 12:16:19 +0100 (CET) Received: by orion.kollektiv-hamburg.de (Postfix, from userid 1000) id 67E8532C087; Sun, 3 Feb 2013 12:16:18 +0100 (CET) From: Jorgen Schaefer To: bug-gnu-emacs@gnu.org Subject: 24.3.50; python-info-current-defun returns nil for a function without body Date: Sun, 03 Feb 2013 12:16:18 +0100 Message-ID: <878v751wcd.fsf@orion.kollektiv-hamburg.de> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Hello! The `python-info-current-defun' function only works in functions and methods that have a body, which is a bit confusing while writing code: def foo(): _|_ M-: (python-info-current-defun) => nil def foo(): a_|_ M-: (python-info-current-defun) => "foo" class Test(object): def __init__(self): _|_ M-: (python-info-current-defun) => nil class Test(object): def __init__(self): a_|_ M-: (python-info-current-defun) => "Test.foo" Regards, -- Jorgen From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 13 18:09:34 2013 Received: (at 13618) by debbugs.gnu.org; 13 Feb 2013 23:09:34 +0000 Received: from localhost ([127.0.0.1]:54703 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U5lSI-0004f1-7U for submit@debbugs.gnu.org; Wed, 13 Feb 2013 18:09:34 -0500 Received: from mail-ye0-f173.google.com ([209.85.213.173]:38198) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U5lSG-0004eu-7o for 13618@debbugs.gnu.org; Wed, 13 Feb 2013 18:09:32 -0500 Received: by mail-ye0-f173.google.com with SMTP id l5so262944yen.18 for <13618@debbugs.gnu.org>; Wed, 13 Feb 2013 15:08:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding:x-gm-message-state; bh=FccfSxRSsARFnlsgQnpb3Ms7Nju3ReJUIsYa+46UsC0=; b=lGe83tB3hfuNz2qhMImAfDJo/ECPCN8Qp1/rN1feQnZgfrZEKxKxSTyW3OVD8+pmfj z80ZliKh+y5fSkdw1ltiX+4YLFJNUW27Ezn/CgrRxhM+trgzXQdnuB0ya+u+XusXbcNQ bE4NKV0B3ApAfyNxWtJPsFEIl8doqpJuzTv7Cek5mGOcj6Dk5gSPz+ix/Trzse6JtZ4l TSkYck9lCxAFUCF2XTZJKrJmJ0p2ja0MMrJnzZnFGWcoBVvzLZrhS/oSZCnGWMLrc25p kIRYwXsLZEVw+nugHhT6PC7ANjzCJuGUyM1HaDYVNP9WspPsY4WnLdWnTs6Q37R+sEW7 6HLg== X-Received: by 10.236.130.178 with SMTP id k38mr28278539yhi.117.1360796930765; Wed, 13 Feb 2013 15:08:50 -0800 (PST) Received: from [192.168.1.136] (OL144-145.fibertel.com.ar. [24.232.145.144]) by mx.google.com with ESMTPS id w7sm54617274yhj.0.2013.02.13.15.08.48 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 13 Feb 2013 15:08:49 -0800 (PST) Message-ID: <511C1D63.1050205@anue.biz> Date: Wed, 13 Feb 2013 20:10:27 -0300 From: =?ISO-8859-1?Q?Fabi=E1n_Ezequiel_Gallina?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130109 Thunderbird/17.0.2 MIME-Version: 1.0 To: 13618@debbugs.gnu.org Subject: 24.3.50; python-nav-backward-sexp mishandles string movement Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQm0DQ44LCJhNLk+obToGTJ2BgDSP17ysSBBqqV8pr3zIRbheCTjAxjZUp1T00GugFO6c2So X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 13618 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Pushed a fix for this in revno 111259. From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 13 18:12:31 2013 Received: (at 13618) by debbugs.gnu.org; 13 Feb 2013 23:12:31 +0000 Received: from localhost ([127.0.0.1]:54707 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U5lV8-0004jd-U4 for submit@debbugs.gnu.org; Wed, 13 Feb 2013 18:12:31 -0500 Received: from mail-gh0-f173.google.com ([209.85.160.173]:62991) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U5lV7-0004jX-LT for 13618@debbugs.gnu.org; Wed, 13 Feb 2013 18:12:29 -0500 Received: by mail-gh0-f173.google.com with SMTP id g2so1663697ghb.18 for <13618@debbugs.gnu.org>; Wed, 13 Feb 2013 15:11:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to :content-type:content-transfer-encoding:x-gm-message-state; bh=hO//SgI650zgqd7xN4cyehEP01I8cLGXhVfGE4RSqkw=; b=IFGJYBkPfk+WezO87C+wuckFn4N7J8j+WnWW/S2EBKl0mC+uQoNlvVjX7wHZ5OJMCm AQYypDSifR+lln6hUZRTR26aYQkKbmQKvHcxO2yb/XZwE8LyzbiUM2OW1xjyaRbeNU/X tKyx0KVntA1NRAR8wCXe/Wxw9C0D4UwAW+Xip4PCXdH0T7QyL+lDorXDPEa6hxLTPDZy MvEnXijEFNKOfXc+QtPxzQVNWwl8exePbTQE0yDgAW/ZQrR8TacsmPgxbFPWy873RCkl cWflGBFo6X4m+sIkqPSnqo6ol+3Kq2XQ0XusSaByhEPxStDM35Uhf1FvNXnGJjFI1Sxf GwVg== X-Received: by 10.236.133.44 with SMTP id p32mr28343305yhi.17.1360797098016; Wed, 13 Feb 2013 15:11:38 -0800 (PST) Received: from [192.168.1.136] (OL144-145.fibertel.com.ar. [24.232.145.144]) by mx.google.com with ESMTPS id y9sm81087845yhg.1.2013.02.13.15.11.34 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 13 Feb 2013 15:11:36 -0800 (PST) Message-ID: <511C1E0A.30805@anue.biz> Date: Wed, 13 Feb 2013 20:13:14 -0300 From: =?ISO-8859-1?Q?Fabi=E1n_Ezequiel_Gallina?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130109 Thunderbird/17.0.2 MIME-Version: 1.0 To: 13618@debbugs.gnu.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQkyCc2cAepbvxudZI/tx0yRWwet3UrSmm4diIsmKOSunUiL24Lev6J8lGahtkNJIMrQQMww X-Spam-Score: 2.1 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Disregard the wrong subject for previous message. Revno 111259 fixes python-info-current-defun. [...] Content analysis details: (2.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4711] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.160.173 listed in list.dnswl.org] 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: 13618 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Disregard the wrong subject for previous message. Revno 111259 fixes python-info-current-defun. [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.160.173 listed in list.dnswl.org] -0.0 BAYES_20 BODY: Bayes spam probability is 5 to 20% [score: 0.0641] 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject Disregard the wrong subject for previous message. Revno 111259 fixes python-info-current-defun. From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 13 18:12:47 2013 Received: (at control) by debbugs.gnu.org; 13 Feb 2013 23:12:47 +0000 Received: from localhost ([127.0.0.1]:54710 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U5lVP-0004k5-2f for submit@debbugs.gnu.org; Wed, 13 Feb 2013 18:12:47 -0500 Received: from mail-gh0-f178.google.com ([209.85.160.178]:39712) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U5lVN-0004jy-Qu for control@debbugs.gnu.org; Wed, 13 Feb 2013 18:12:46 -0500 Received: by mail-gh0-f178.google.com with SMTP id g24so1644205ghb.23 for ; Wed, 13 Feb 2013 15:12:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to :content-type:content-transfer-encoding:x-gm-message-state; bh=c7DbywyMgKlfcz6ZyYwVP9BsdJnj/9gvgUXtZNBpkMw=; b=XBmp3wrPueO1Fy7tSQRMi+JOVIhIzwDwm+xL/1Wfdi+onfTwvAOVddur4p3AdcivPL hrzTrMqMa0YwjAUacjIodlKbq0GrB8u0vxiwM81k9NTrqcLuE1/WJL+x3vEX5Q7PsdBB 0IQd1pZlcWo5gfwE+9nKy3BqNz7e7+vwUJAmXKC1Hq96cUn679lkv3hsbP9DwDYd2QEQ +J8wzvRHQMn5PdYOjylOh37OAsaVwrkhcCl6xOWAmhhK20gKcp69GMjmaHJPFwRFpfNX wUB84YVHecWH/j0K3Veisyv0q7Yc22PaDtG1fGudJSP1nFUqEjlRKxSyUjzAtZZ1idCo JOcQ== X-Received: by 10.236.69.67 with SMTP id m43mr29160284yhd.40.1360797127003; Wed, 13 Feb 2013 15:12:07 -0800 (PST) Received: from [192.168.1.136] (OL144-145.fibertel.com.ar. [24.232.145.144]) by mx.google.com with ESMTPS id h38sm43495603ani.7.2013.02.13.15.12.04 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 13 Feb 2013 15:12:05 -0800 (PST) Message-ID: <511C1E28.6050009@anue.biz> Date: Wed, 13 Feb 2013 20:13:44 -0300 From: =?ISO-8859-1?Q?Fabi=E1n_Ezequiel_Gallina?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130109 Thunderbird/17.0.2 MIME-Version: 1.0 To: control@debbugs.gnu.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQlVATP2bW0GKPvFGx9p3d/vZUo5gZZb+xqs2i1x3TK7zNPZN2fmAI0+88n//iJL1YTfPPlK X-Spam-Score: 2.1 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: close 13618 [...] Content analysis details: (2.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.160.178 listed in list.dnswl.org] 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4977] 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: close 13618 [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.160.178 listed in list.dnswl.org] -0.0 BAYES_40 BODY: Bayes spam probability is 20 to 40% [score: 0.2183] 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject 0.0 TVD_SPACE_RATIO TVD_SPACE_RATIO close 13618 From unknown Sat Sep 13 21:03:14 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 14 Mar 2013 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator