From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ivan Andrus Newsgroups: gmane.emacs.bugs Subject: bug#11899: 24.1.50; Weird names and unhelpful docstrings for some python function Date: Wed, 11 Jul 2012 14:42:44 +0200 Message-ID: References: <4FFCD368.6090603@anue.biz> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1342010641 29431 80.91.229.3 (11 Jul 2012 12:44:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 11 Jul 2012 12:44:01 +0000 (UTC) Cc: 11899@debbugs.gnu.org To: =?UTF-8?Q?Fabi=C3=A1n?= Ezequiel Gallina Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 11 14:43:55 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1SowGo-0002Vv-6G for geb-bug-gnu-emacs@m.gmane.org; Wed, 11 Jul 2012 14:43:54 +0200 Original-Received: from localhost ([::1]:51844 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SowGm-00076X-Ua for geb-bug-gnu-emacs@m.gmane.org; Wed, 11 Jul 2012 08:43:52 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53334) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SowGe-00075M-Eo for bug-gnu-emacs@gnu.org; Wed, 11 Jul 2012 08:43:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SowGW-0002IL-Jl for bug-gnu-emacs@gnu.org; Wed, 11 Jul 2012 08:43:44 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51905) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SowGW-0002IH-Du for bug-gnu-emacs@gnu.org; Wed, 11 Jul 2012 08:43:36 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SowLl-0006UW-Np for bug-gnu-emacs@gnu.org; Wed, 11 Jul 2012 08:49:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ivan Andrus Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Jul 2012 12:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11899 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11899-submit@debbugs.gnu.org id=B11899.134201089924902 (code B ref 11899); Wed, 11 Jul 2012 12:49:01 +0000 Original-Received: (at 11899) by debbugs.gnu.org; 11 Jul 2012 12:48:19 +0000 Original-Received: from localhost ([127.0.0.1]:33218 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SowL3-0006TZ-Fn for submit@debbugs.gnu.org; Wed, 11 Jul 2012 08:48:19 -0400 Original-Received: from mail-bk0-f44.google.com ([209.85.214.44]:51200) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SowKy-0006TP-Nu for 11899@debbugs.gnu.org; Wed, 11 Jul 2012 08:48:15 -0400 Original-Received: by bkty7 with SMTP id y7so811906bkt.3 for <11899@debbugs.gnu.org>; Wed, 11 Jul 2012 05:42:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=/YtKDUsV8RMmC5q/6ph5qyhVLNacAkRYp6Ivg8K+Jgo=; b=P1kp1Ifb2TViaBE89EJ5KoyMc/0b5r/SJyBg84HZ8uwzZ/fEnAYZRNlJoa5GneV/SW krBU7LhR8zlTctaiw7kTq4KqPMN7W8lL/S6OsaIWYw+mB3YrW+tK7MxAkFGQpwRGcOp0 KMsdSLE+ujAG+cGX+eXwkB901J5m7pAm5aXdbC7hBwLKUefy1Yj23WUIgbY9CPhBJY8y tsrcjuwB9y9QZcI5k2fuKreO/p2CD32bm/NBoWa1P2p6cLow8TragMb5Vq0IOZuXSTx9 ZrEHZc20cPRb+lOMLIw4P8N8B0YvVTVe/rWdi8uh3olZluXYqIZeY1/si01zR9Cu8Pl6 OLnA== Original-Received: by 10.204.157.143 with SMTP id b15mr10958946bkx.75.1342010565317; Wed, 11 Jul 2012 05:42:45 -0700 (PDT) Original-Received: from [172.16.52.145] ([193.225.200.92]) by mx.google.com with ESMTPS id 25sm1085058bkx.9.2012.07.11.05.42.44 (version=SSLv3 cipher=OTHER); Wed, 11 Jul 2012 05:42:44 -0700 (PDT) In-Reply-To: <4FFCD368.6090603@anue.biz> X-Mailer: Apple Mail (2.1084) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:61817 Archived-At: On Jul 11, 2012, at 3:14 AM, Fabi=E1n 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. >=20 > 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=