From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas =?UTF-8?Q?R=C3=B6hler?= Newsgroups: gmane.emacs.bugs Subject: bug#20897: 25.0.50; [python] sexp-movement are confusing Date: Fri, 26 Jun 2015 08:17:14 +0200 Message-ID: <558CEE6A.1020000@easy-emacs.de> References: <87616blr7a.fsf@gmx.us> <558C296B.7030807@easy-emacs.de> <558CB2F8.4060600@dancol.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1435299502 1774 80.91.229.3 (26 Jun 2015 06:18:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Jun 2015 06:18:22 +0000 (UTC) Cc: 20897@debbugs.gnu.org To: Daniel Colascione , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 26 08:18:11 2015 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 1Z8Mxn-0002LG-1b for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Jun 2015 08:18:11 +0200 Original-Received: from localhost ([::1]:58474 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8Mxm-0005lU-8G for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Jun 2015 02:18:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42551) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8Mxi-0005lP-Ll for bug-gnu-emacs@gnu.org; Fri, 26 Jun 2015 02:18:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z8Mxf-00066i-GO for bug-gnu-emacs@gnu.org; Fri, 26 Jun 2015 02:18:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56261) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8Mxf-00066d-Cb for bug-gnu-emacs@gnu.org; Fri, 26 Jun 2015 02:18:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z8Mxe-0005z0-Rh for bug-gnu-emacs@gnu.org; Fri, 26 Jun 2015 02:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Jun 2015 06:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20897 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20897-submit@debbugs.gnu.org id=B20897.143529944822948 (code B ref 20897); Fri, 26 Jun 2015 06:18:02 +0000 Original-Received: (at 20897) by debbugs.gnu.org; 26 Jun 2015 06:17:28 +0000 Original-Received: from localhost ([127.0.0.1]:57707 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z8Mx6-0005y4-09 for submit@debbugs.gnu.org; Fri, 26 Jun 2015 02:17:28 -0400 Original-Received: from mout.kundenserver.de ([212.227.126.131]:58476) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z8Mx3-0005xr-8I for 20897@debbugs.gnu.org; Fri, 26 Jun 2015 02:17:25 -0400 Original-Received: from [192.168.178.31] ([77.6.211.246]) by mrelayeu.kundenserver.de (mreue003) with ESMTPSA (Nemesis) id 0Lgc4H-1YlO813U1N-00nwgs; Fri, 26 Jun 2015 08:17:16 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 In-Reply-To: <558CB2F8.4060600@dancol.org> X-Provags-ID: V03:K0:mR7RUrM+ccC3dFm46LOiV8PbntC2nwvT6apqTwGr4c5APYqjOzH meBniWCM2ugFKUec4gRLsRVwY7lbdJSyJKFwCrAzKOfYUhzw+6kuUkp8Pis9/u0Do7AJ85C KP42JAFN31nvRuj3ONxH2jKfe3s5EUdQhTArrd8eC18N7Nd1L7l+NxAxSWhHmJnnvSBrlno vGmFQC5cDj95foyNKSnwQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:YW8bSxz+lNY=:GVFEU3f+rraticg/d4HmFB SlzzVwZ/UGQRNQv9HWPPvX//Fav7CXDbtEVm8igR9OxibGFDAVniUBhVZdZPlXHnHE+qiV+c8 5Vaj3NMnPqJGYENMS5Md3LfnY87ch6EC7hnyjTQIlYrgSV/QPW4FI/ZEh+P0yohXXc9yHwzmQ 2lGngLjKJps6GwNnD+Q4MU7SkMOV2VjWOD31wPncLqtILZi5qO9vTCvKSdTWytepX30nu7Le9 s5hVlOKXMrBvgjJ4AKiA5FuXB/Ng7u4mtimpUnifACdTohoRr6yUNO1ioDqtwbrXBuFTowmCK me+YvfZkfxg2D5/xBe1c8xJ2zALRQDGH5yx8IqntT6+aJl1dHCZ+agrfxMvWsiJJulEHgCXeZ PD9GTz5sPWW42U4iJgD5psc3tlSkDIw/tJJJtcpkFXUeWfZ1LzbrS5WDzeXqsQsyUwzmHSmJ6 tiVuKpOOVbs5ImBQ5Knv/zmI1le+wscW2TSzojordb8+0qlJ6dK18Gr2Lt4TwI6dCEy9GUXIX eRLK3ZhMamBhXNaWTeNLwVMmLhqxC9oNkZ0O9SuNI31I247x/RJzPcwt6g8DSHj4/cX5n4xwA bgEKEY3jdcToSIMo9OPNybl/Ce52Rmb8EsEk1ZylscmArUwWHZNKHnF7Cz3ts/hvwJH/AGdzP B9VARJqipEVYuhkMdTID83+MNqiOmPVMtm98e6aVP1HwrrQ== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.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:104364 Archived-At: Am 26.06.2015 um 04:03 schrieb Daniel Colascione: > On 06/25/2015 09:48 PM, Stefan Monnier wrote: >>> If inside an expression C-M-f should to to its end. >> No, as explained elsewhere, C-M-f's binding is a binding that goes to >> the end of the expression that immediately *follows* point. If we're >> *inside* a sexp, the way to jump to its end is up-list. >> >> I understand you want/like to jump to the end of the enclosing >> expression, and that's fine, but this is not what C-M-f should do >> by default. > "Right" or "wrong" aside, Python's current default behavior is just > inconsistent with other modes for infix-expression languages. I tried > for a long time to use the default behavior --- maybe there was some > efficiency advantage that would take time to appear --- but I ended up > just giving up and making python-mode work like other modes. > Just to give an example syntax-oriented doesn't mean being enslaved by syntax: operators in Python are expressions, but sexp should jump over, as symbol-at-point is available. In case some more specific is needed, py-partial-expression is delivered.