bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#11899: 24.1.50; Weird names and unhelpful docstrings for some python


From: Fabián Ezequiel Gallina
Subject: bug#11899: 24.1.50; Weird names and unhelpful docstrings for some python function
Date: Mon, 16 Jul 2012 10:22:15 -0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120616 Thunderbird/13.0.1

On 07/13/2012 09:20 AM, Stefan Monnier wrote:
     If something:
         do_this()
         do_that()
If the pointer is at the start of the if statement, and the user issues
python-nav-forward-sentence he must be taken after the do_that() statement.
That sounds like sexp-based navigation, then.

python-nav-{backward,forward}-sentence that would navigate blocks of code.
I don't think "sentence" is a good word choice since there is no
accepted meaning of a "sentence" in the context of python code (or code
in general), AFAIK.

If you want to bind these commands to the same keys as
for/backward-sentence, that's fine, but better give them names related
to what they do, rather than to to this key-mapping choice.


         Stefan
I just pushed some new navigation commands with proper documentation and names. Also there's a specialized forward-sexp-function included.

All of this is included in revno 109105.


Regards,

--
Fabián E. Gallina
Co-Founder of Anue
Skype: caffeineGalli
http://www.anue.biz/






reply via email to

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