GNU bug report logs - #11899
24.1.50; Weird names and unhelpful docstrings for some python function

Previous Next

Package: emacs;

Reported by: Ivan Andrus <darthandrus <at> gmail.com>

Date: Tue, 10 Jul 2012 14:40:01 UTC

Severity: minor

Found in version 24.1.50

Done: Fabián Ezequiel Gallina <fabian <at> anue.biz>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ivan Andrus <darthandrus <at> gmail.com>
To: Fabián Ezequiel Gallina <fabian <at> anue.biz>
Cc: Stefan Monnier <monnier <at> IRO.UMontreal.CA>, 11899 <at> debbugs.gnu.org
Subject: bug#11899: 24.1.50; Weird names and unhelpful docstrings for some python function
Date: Wed, 11 Jul 2012 14:42:44 +0200
On Jul 11, 2012, at 3:14 AM, Fabián Ezequiel Gallina wrote:
> On 07/10/2012 07:23 PM, Stefan Monnier wrote:
>>>   python-nav-sentence-start
>>>   python-nav-sentence-end
>>>   python-nav-forward-sentence
>>>   python-nav-backward-sentence
>>> have weird names in the sense that they don't move by sentences.
> 
> Can you give me an example of what do you expect and the current behavior so I can have a more specific example to work on? A simplified python file and short explanation would be enough.

I'm not complaining about the functionality here.  I just don't know what a "sentence" means in a python file.  I think what is meant is a python statement, but the docstrings should reflect that, or define what is meant by a sentence.

That said, I did just notice that M-a (python-nav-backward-sentence) gets "stuck" on the comment in the test below.  If I put a blank line after the comment then it doesn't.

print libgap('if 4>3 then\nprint("hi");\nfi')
# Abort/segfault
print libgap('SmallGroup(12,3)')

I can create a new bug for that if desired.

-Ivan



This bug report was last modified 12 years and 313 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.