From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Andreas_R=c3=b6hler?= Newsgroups: gmane.emacs.devel Subject: Re: Python interactive navigation around nested functions Date: Sun, 26 Jun 2016 21:37:51 +0200 Message-ID: <6afb166d-8f3e-73ad-6b35-ee6e32450647@online.de> References: <87lh21eq5c.fsf@secretsauce.net> <87eg7rdrj7.fsf@secretsauce.net> <87d1nbdqkn.fsf@secretsauce.net> <87twgick5w.fsf@secretsauce.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1466969623 28030 80.91.229.3 (26 Jun 2016 19:33:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 26 Jun 2016 19:33:43 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 26 21:33:34 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bHFoD-0007jh-9G for ged-emacs-devel@m.gmane.org; Sun, 26 Jun 2016 21:33:33 +0200 Original-Received: from localhost ([::1]:55001 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHFoC-0006JC-IR for ged-emacs-devel@m.gmane.org; Sun, 26 Jun 2016 15:33:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50412) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHFo6-0006ID-8K for emacs-devel@gnu.org; Sun, 26 Jun 2016 15:33:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bHFo2-0002Cg-3q for emacs-devel@gnu.org; Sun, 26 Jun 2016 15:33:25 -0400 Original-Received: from mout.kundenserver.de ([212.227.126.134]:65045) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHFo1-0002CL-Pr for emacs-devel@gnu.org; Sun, 26 Jun 2016 15:33:22 -0400 Original-Received: from [192.168.178.35] ([77.12.189.219]) by mrelayeu.kundenserver.de (mreue005) with ESMTPSA (Nemesis) id 0MT3nG-1asXA62LTS-00S3N4 for ; Sun, 26 Jun 2016 21:33:20 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Icedove/45.1.0 In-Reply-To: X-Provags-ID: V03:K0:geoXyQ5NefogOEuhLpFadnwf5H7VZCL7QJE9pGL+T6H3RCa57JI nUnx6m+yx/4kQ/rzl3YAxSlxOVwe8//nR7oCYjNdg+t6a/ZhJbOjE6/OFBur2T919N/YLM6 cGzuKbnV/XZwml3h2dfFLLjOar3M8MyLBoif48iQIDLRPKeodv441ikAWOoc0KymRe8FPhN CZ2WGlHzUjzEEMOgFpbyg== X-UI-Out-Filterresults: notjunk:1;V01:K0:hFvozCtXoRA=:lmHFerHxpBmd1XBaT5bgX5 2P4MEo4bpoUjMOm0uGLo5B/LoghlY/Bafy97PcueX1J7FDx9g67Od/qx1lj/CA0dp7HadwDz/ sCfQ7sXf1uA09O9OmbOuStM9FUKznoT+CEAtrgefK9fYlBCR9ifa8udvMM3pDMJmOFBC8ioYN 53nvm+P+PRtpSwinIr5r2Vkui7dd+Mrz+vYoaZDoxo/YNNkHQS/NNnWQ6WvEqMlR4qpFmHFQO nJJp0dkr/IFKZXK5joI7rxO5iIc5twEYLAKhbmHTdvGA5mDeSPUgXCi9zH4cT83aMLCyUutWs zHCzEtbqQ80JB2Y/zAhoqzRcY2fe2522iXgbCU5CDKSMtD+kUuRcPWB787qLwk5KrvjWd6I2p G1Hl2qinkvmUP132u9iWT+3nVY4r84ipIq+X5x4KwuqgzSjFmbzioz/7j4whL3ihnEPZLStNa +F1TxRUXO2hjqO6RJpjy8NBkKlyjcvrbJEKXUweP7GrrghQbFivAiZEXNnmC0hG9NdYdd0hOU EP512e45KBotH4J0t+nGKBk7RSw8uw/fDzg7TwehNiIfuz0Vmy1n/P1HOLH0mJwDfKSl/GFCW B4/8RWLsnvJMp7Js5dpk84CoyTyOE3LOTFDG9knWfVPZHyYp/2B9LthrsKVMTY5Z/y94ylwvd 9h/bFCqUB39iP79YJFToGXktz4e+ClidRnOxi2A4H8L9+4BTTGwsTyC0TrjsBt13tqCxa6PFw KCakwbuCGvrymtB2 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.126.134 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:204783 Archived-At: On 25.06.2016 02:18, Stefan Monnier wrote: >> defun f1(): >> # stuff >> defun f2(): >> # stuff >> # stuff >> # stuff >> # lots and lots of stuff >> # So much stuff that when I'm here I know I'm in f1(), but f2 isn't >> # something i'm thinking about at all > I guess the question is how to distinguish this case. IOW, how much is > "lots and lots of stuff". The current behavior is meant for cases like: > > defun f1(): > # Stuff > defun f2(): > # More stuff > defun f3(): > # Yet more stuff > defun f4(): > # You get the idea > defun f5(): > # Aha > # Here we go > > Also for interactive use, we generally prefer to move less than more, Sounds like a bet. Why not jump from the end to start precisely?