emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Python interactive navigation around nested functions


From: Andreas Röhler
Subject: Re: Python interactive navigation around nested functions
Date: Sun, 26 Jun 2016 21:37:51 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Icedove/45.1.0



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?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]