From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Fabi=C3=A1n?= Ezequiel Gallina Newsgroups: gmane.emacs.bugs Subject: bug#11899: 24.1.50; Weird names and unhelpful docstrings for some python function Date: Mon, 16 Jul 2012 10:22:15 -0300 Message-ID: <50041587.5000709@anue.biz> References: <4FFCD368.6090603@anue.biz> <4FFF99D6.6040909@anue.biz> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1342445009 26876 80.91.229.3 (16 Jul 2012 13:23:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 16 Jul 2012 13:23:29 +0000 (UTC) Cc: Ivan Andrus , 11899@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 16 15:23:28 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 1SqlGn-0002Gq-Oz for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Jul 2012 15:23:25 +0200 Original-Received: from localhost ([::1]:48952 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SqlGm-0004EP-IK for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Jul 2012 09:23:24 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43846) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SqlGf-0004E9-PS for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2012 09:23:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SqlGW-0001C8-73 for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2012 09:23:17 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34379) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SqlGW-0001Bl-3g for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2012 09:23:08 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SqlME-0003k8-Ai for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2012 09:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Fabi=C3=A1n?= Ezequiel Gallina Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Jul 2012 13:29:02 +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.134244530114297 (code B ref 11899); Mon, 16 Jul 2012 13:29:02 +0000 Original-Received: (at 11899) by debbugs.gnu.org; 16 Jul 2012 13:28:21 +0000 Original-Received: from localhost ([127.0.0.1]:43925 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SqlLY-0003iY-De for submit@debbugs.gnu.org; Mon, 16 Jul 2012 09:28:21 -0400 Original-Received: from mail-yw0-f44.google.com ([209.85.213.44]:33433) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SqlLT-0003iN-1V for 11899@debbugs.gnu.org; Mon, 16 Jul 2012 09:28:17 -0400 Original-Received: by yhq56 with SMTP id 56so5142800yhq.3 for <11899@debbugs.gnu.org>; Mon, 16 Jul 2012 06:22:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=XebDL1rHC3wW/jwigty0Ktb23JQ03OkHJZVdyTxf6lE=; b=Vks5rBtwqfc5FoKUnQYYOziD193nuYhzwmERaofSZ6bDMNZSVUtvz3ebdbdPunIu9B aMza7WC3muw/Jl6xjUGWB0wR/1eMy8Qyhm5zaD/NxF42QJBqReCOgrfToPrW0NdHNuZX eNG+mszBBwGf5S9HmIJ1TKjezINgBqhO44nthilmW1IaIPREEF7Ae9ddSoW835Y57Y46 yuTlDinHc7AjnxZuMyrvxPjRXQ8l7K7QpWk0PY57GOMDiz1GnmfAgc4eRWtPU2gl6Sdh PBJM0piwf0lMb9RB/s2IWV7LT6DrsRYMdwsSGEG0AO82KZWUWUlRZ/CCXeqIG5QiYU6O bRtg== Original-Received: by 10.236.170.36 with SMTP id o24mr9422040yhl.40.1342444938970; Mon, 16 Jul 2012 06:22:18 -0700 (PDT) Original-Received: from [192.168.1.136] ([190.18.83.52]) by mx.google.com with ESMTPS id s42sm3754253yhg.7.2012.07.16.06.22.17 (version=SSLv3 cipher=OTHER); Mon, 16 Jul 2012 06:22:18 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120616 Thunderbird/13.0.1 In-Reply-To: X-Gm-Message-State: ALoCoQm5aBGrLeY5zGygb8Yk538Bv/YR1kTjR8Tz37Z/LuP//jqs8eOhbTPqD+wltFplB4UhqDHA 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:61982 Archived-At: 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/