From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jorgen Schaefer Newsgroups: gmane.emacs.bugs Subject: bug#13642: 24.3.50; python-nav-backward-sexp mishandles string movement Date: Thu, 07 Feb 2013 00:50:46 +0100 Message-ID: <8762250zop.fsf@orion.kollektiv-hamburg.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1360194710 14167 80.91.229.3 (6 Feb 2013 23:51:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Feb 2013 23:51:50 +0000 (UTC) To: 13642@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 07 00:52:11 2013 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 1U3Eme-0007WX-96 for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Feb 2013 00:52:08 +0100 Original-Received: from localhost ([::1]:43824 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3EmL-0005bx-Hp for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Feb 2013 18:51:49 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:36417) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3EmH-0005br-SR for bug-gnu-emacs@gnu.org; Wed, 06 Feb 2013 18:51:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U3EmG-0005M2-2R for bug-gnu-emacs@gnu.org; Wed, 06 Feb 2013 18:51:45 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34732) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3EmF-0005Lt-Vi for bug-gnu-emacs@gnu.org; Wed, 06 Feb 2013 18:51:44 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U3EnW-0001GL-7s for bug-gnu-emacs@gnu.org; Wed, 06 Feb 2013 18:53:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jorgen Schaefer Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Feb 2013 23:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 13642 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13601947354790 (code B ref -1); Wed, 06 Feb 2013 23:53:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Feb 2013 23:52:15 +0000 Original-Received: from localhost ([127.0.0.1]:40196 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U3Emk-0001FC-PS for submit@debbugs.gnu.org; Wed, 06 Feb 2013 18:52:15 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:53098) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U3Emi-0001F4-CR for submit@debbugs.gnu.org; Wed, 06 Feb 2013 18:52:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U3ElQ-0005EC-Ud for submit@debbugs.gnu.org; Wed, 06 Feb 2013 18:50:53 -0500 Original-Received: from lists.gnu.org ([208.118.235.17]:53393) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3ElQ-0005E5-NX for submit@debbugs.gnu.org; Wed, 06 Feb 2013 18:50:52 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:36225) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3ElP-0005Vi-MP for bug-gnu-emacs@gnu.org; Wed, 06 Feb 2013 18:50:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U3ElO-0005Dm-MK for bug-gnu-emacs@gnu.org; Wed, 06 Feb 2013 18:50:51 -0500 Original-Received: from istinn.electusmatari.com ([83.169.37.145]:44302) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3ElO-0005DT-G3 for bug-gnu-emacs@gnu.org; Wed, 06 Feb 2013 18:50:50 -0500 Original-Received: from orion.kollektiv-hamburg.de (hmbg-4d06f0e6.pool.mediaWays.net [77.6.240.230]) by istinn.electusmatari.com (Postfix) with ESMTPSA id 56E99D10001D for ; Thu, 7 Feb 2013 00:50:48 +0100 (CET) Original-Received: by orion.kollektiv-hamburg.de (Postfix, from userid 1000) id 443F232C087; Thu, 7 Feb 2013 00:50:46 +0100 (CET) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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.x 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:70792 Archived-At: Hello! In python-mode, I get the following behavior (with _|_ being point): ----- def foo(): bar = "bar" baz = "baz"_|_ => _|_def foo(): bar = "bar" baz = "baz" ----- I would have expected point to move to the beginning of the string, not to the beginning of def. I also get this: ----- def foo(): bar = "bar"_|_ baz = "baz" => def foo(): _|_bar = "bar" baz = "baz" ----- Again, I would have expected point to end up in front of the string, not the beginning of the statement. python-mode sets forward-sexp-function, so these operations are done when using C-M-b (and C-M-f), which is very counterintuitive to me. Regards, -- Jorgen