GNU bug report logs - #13973
Subject: 24.3; thingatpt.el, end-of-sexp

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Andreas Röhler <andreas.roehler@HIDDEN>; dated Sat, 16 Mar 2013 07:53:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 13973 <at> debbugs.gnu.org:


Received: (at 13973) by debbugs.gnu.org; 16 Mar 2013 13:51:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 16 09:51:34 2013
Received: from localhost ([127.0.0.1]:57455 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UGrWI-0007OT-NP
	for submit <at> debbugs.gnu.org; Sat, 16 Mar 2013 09:51:34 -0400
Received: from ironport2-out.teksavvy.com ([206.248.154.182]:1945)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <monnier@HIDDEN>) id 1UGrWG-0007OG-QJ
	for 13973 <at> debbugs.gnu.org; Sat, 16 Mar 2013 09:51:33 -0400
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av8EABK/CFFFxIIq/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDgkdEhQYDRYOiB4GwS2RCgOkeoFegxM
X-IPAS-Result: Av8EABK/CFFFxIIq/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDgkdEhQYDRYOiB4GwS2RCgOkeoFegxM
X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; 
   d="scan'208";a="5053355"
Received: from 69-196-130-42.dsl.teksavvy.com (HELO pastel.home)
	([69.196.130.42])
	by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA;
	16 Mar 2013 09:50:02 -0400
Received: by pastel.home (Postfix, from userid 20848)
	id 5ED2067B17; Sat, 16 Mar 2013 09:50:04 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
To: Leo Liu <sdl.web@HIDDEN>
Subject: Re: bug#13973: Subject: 24.3; thingatpt.el, end-of-sexp
Message-ID: <jwvli9ncv4k.fsf-monnier+emacs@HIDDEN>
References: <51442486.4070100@HIDDEN> <m138vvzlb4.fsf@HIDDEN>
Date: Sat, 16 Mar 2013 09:50:04 -0400
In-Reply-To: <m138vvzlb4.fsf@HIDDEN> (Leo Liu's message of "Sat, 16 Mar
	2013 18:33:03 +0800")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 13973
Cc: 13973 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -1.9 (-)

>> When inside a string, jump to (nth 8 (syntax-ppss)) and
>> call (forward-sexp 1) from there.

Sounds right, yes.

> In my experience (a while ago, I use little python these days) this
> cannot reliably goes to the end of the triple-quoted string.

That would be a bug in python-mode, then.


        Stefan




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#13973; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 16 Mar 2013 12:10:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 16 08:10:37 2013
Received: from localhost ([127.0.0.1]:57403 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UGpwa-00054M-L0
	for submit <at> debbugs.gnu.org; Sat, 16 Mar 2013 08:10:37 -0400
Received: from eggs.gnu.org ([208.118.235.92]:33090)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <andreas.roehler@HIDDEN>) id 1UGpwY-00054A-36
	for submit <at> debbugs.gnu.org; Sat, 16 Mar 2013 08:10:36 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <andreas.roehler@HIDDEN>) id 1UGpv7-000686-Lv
	for submit <at> debbugs.gnu.org; Sat, 16 Mar 2013 08:09:06 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-101.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE,
	USER_IN_WHITELIST autolearn=unavailable version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:59133)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <andreas.roehler@HIDDEN>) id 1UGpv7-000682-IF
	for submit <at> debbugs.gnu.org; Sat, 16 Mar 2013 08:09:05 -0400
Received: from eggs.gnu.org ([208.118.235.92]:44451)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <andreas.roehler@HIDDEN>) id 1UGpv6-0002ZD-JN
	for bug-gnu-emacs@HIDDEN; Sat, 16 Mar 2013 08:09:05 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <andreas.roehler@HIDDEN>) id 1UGpv5-00067d-Lh
	for bug-gnu-emacs@HIDDEN; Sat, 16 Mar 2013 08:09:04 -0400
Received: from moutng.kundenserver.de ([212.227.17.9]:61481)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <andreas.roehler@HIDDEN>) id 1UGpv5-00067I-CO
	for bug-gnu-emacs@HIDDEN; Sat, 16 Mar 2013 08:09:03 -0400
Received: from [192.168.178.21] (brln-4d0c0260.pool.mediaWays.net [77.12.2.96])
	by mrelayeu.kundenserver.de (node=mreu4) with ESMTP (Nemesis)
	id 0Lj8u3-1Us70c3k3r-00dK0c; Sat, 16 Mar 2013 13:09:02 +0100
Message-ID: <51446112.2040800@HIDDEN>
Date: Sat, 16 Mar 2013 13:09:54 +0100
From: =?ISO-8859-1?Q?Andreas_R=F6hler?= <andreas.roehler@HIDDEN>
User-Agent: Mozilla/5.0 (X11; Linux i686;
	rv:17.0) Gecko/20130307 Thunderbird/17.0.4
MIME-Version: 1.0
To: bug-gnu-emacs@HIDDEN
Subject: Re: bug#13973: Subject: 24.3; thingatpt.el, end-of-sexp
References: <51442486.4070100@HIDDEN> <m138vvzlb4.fsf@HIDDEN>
In-Reply-To: <m138vvzlb4.fsf@HIDDEN>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-Provags-ID: V02:K0:K+jtLOCONAJKaq/7vETJ6xv9/H/fZdGK7otXOpMQilD
	37HcoDexYEckw/k8Gis0B0Kx5B9KzQIhEBAT5gFPl8c3ZIcv0h
	neMkKiE8oMqzq+zykvM4OFiHjfNlttcRcenkIsL9mO1khiI7Ct
	glTfUxhJa2eYrAQQH6w0Vtu0gt16GFetslXNW5+1ja2HYR3NXK
	EZTQpZ520OvFa09gDjvSlCoba2i1E3JEcfYwuI736wpd6HnqGl
	vlWbO8fAep2VjwH8eRTtev+BTENkYf18Nb0qb8gjVC+NtZc93S
	Y/tHtina0oXzpUmVgVKhAJ68TLvG11f98GwvfwD9clGORVKVb5
	gNU3myVCG9/N92w0pFzv2y8ZHzHqL5pV8UTUKnSS1
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.17
X-Spam-Score: -4.2 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -6.9 (------)

Am 16.03.2013 11:33, schrieb Leo Liu:
> On 2013-03-16 15:51 +0800, Andreas Röhler wrote:
>> When inside a string, jump to (nth 8 (syntax-ppss)) and
>> call (forward-sexp 1) from there.
>
> In my experience (a while ago, I use little python these days) this
> cannot reliably goes to the end of the triple-quoted string.
>
> Leo
>
>
>
>
>

Indeed seems a bug in python-mode.el at this place just now.
Anyway - forward-sexp must go to the end of string from it's beginning,
a string is a balanced expression.


Best,

Andreas









Information forwarded to bug-gnu-emacs@HIDDEN:
bug#13973; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 16 Mar 2013 10:35:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 16 06:35:15 2013
Received: from localhost ([127.0.0.1]:57252 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UGoSJ-0001uJ-2b
	for submit <at> debbugs.gnu.org; Sat, 16 Mar 2013 06:35:15 -0400
Received: from eggs.gnu.org ([208.118.235.92]:41879)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1UGoSG-0001u6-7J
	for submit <at> debbugs.gnu.org; Sat, 16 Mar 2013 06:35:13 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1UGoQq-0001cW-8F
	for submit <at> debbugs.gnu.org; Sat, 16 Mar 2013 06:33:44 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-100.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	FSL_HELO_BARE_IP_2, RCVD_IN_DNSWL_NONE, RCVD_NUMERIC_HELO,
	RP_MATCHES_RCVD, USER_IN_WHITELIST autolearn=no version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:50685)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1UGoQq-0001cS-4o
	for submit <at> debbugs.gnu.org; Sat, 16 Mar 2013 06:33:44 -0400
Received: from eggs.gnu.org ([208.118.235.92]:53241)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1UGoQp-0004bM-5o
	for bug-gnu-emacs@HIDDEN; Sat, 16 Mar 2013 06:33:44 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1UGoQm-0001c9-Pf
	for bug-gnu-emacs@HIDDEN; Sat, 16 Mar 2013 06:33:43 -0400
Received: from plane.gmane.org ([80.91.229.3]:58850)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1UGoQm-0001bs-In
	for bug-gnu-emacs@HIDDEN; Sat, 16 Mar 2013 06:33:40 -0400
Received: from list by plane.gmane.org with local (Exim 4.69)
	(envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1UGoR5-0003Rx-Sm
	for bug-gnu-emacs@HIDDEN; Sat, 16 Mar 2013 11:33:59 +0100
Received: from 182.48.109.29 ([182.48.109.29])
	by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
	id 1AlnuQ-0007hv-00
	for <bug-gnu-emacs@HIDDEN>; Sat, 16 Mar 2013 11:33:59 +0100
Received: from sdl.web by 182.48.109.29 with local (Gmexim 0.1 (Debian))
	id 1AlnuQ-0007hv-00
	for <bug-gnu-emacs@HIDDEN>; Sat, 16 Mar 2013 11:33:59 +0100
X-Injected-Via-Gmane: http://gmane.org/
To: bug-gnu-emacs@HIDDEN
From: Leo Liu <sdl.web@HIDDEN>
Subject: Re: bug#13973: Subject: 24.3; thingatpt.el, end-of-sexp
Date: Sat, 16 Mar 2013 18:33:03 +0800
Lines: 8
Message-ID: <m138vvzlb4.fsf@HIDDEN>
References: <51442486.4070100@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Complaints-To: usenet@HIDDEN
X-Gmane-NNTP-Posting-Host: 182.48.109.29
Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAMFBMVEUaFRZLMy1dTENxVzKQ
	WiCrXQ97cmO/dSqSh3akjGTApXy5sJ7Sxo/Sz8Xo6eP9//xJbkruAAAAAWJLR0QAiAUdSAAAAAlw
	SFlzAAACxQAAAsUBidZ/7wAAAAd0SU1FB9cBBwMJOwHXewoAAAIBSURBVCjPVdNBiNNAFADQ6J4F
	x3hThHZBBC+WCFI8SS0iezRDcMHLHkLAg6gJH/fgYQ9xYlj2sLK4KHgqCgXFhda2Idmr4kkQPZQ0
	nkQMbTypbMmMM2m7ZgYSmMef/5OZPwo7HFnx3uKPcmj0Dht1LWZJ+Hvr7dIFZXRUwl9VRTuuKDJ+
	U44gjscknK4hhJaCkYRsWjmBtLqXlJAG2wipNe18OZJu1BBq1E8xafl4s6Jq2mUZGftU1y7CCxnp
	FVUDWJXx4C66BKBnErbuoaYNtoRTu6EZBsCbMn7W+5qOAR6WvxNOby9jHWC9hAf3n304CdiAByXs
	3Nh9roLDkyb/sWV712vYwaLSAn8CPMHIAAzOPDKP2COAFm4Y4ODVWc6xG7KXsN7UeUJjjimx2uwd
	gCgNhr0i8C/xyCD5CiCKAMY3Bf5oDzx//w/fimscdcAZU2jv9sedx6+nYPPFIoWI/GK6QZ+EFGOR
	ErAjCnV3vPZ7XqlTIMbOLY7fLcvvmT7rXNWaGDexIY44N12TG2PDp7vqyl57dnCeuWwyNpnEURxk
	fTbDYeBnKRn4oejPYI4sH6WviBumEZ/GxX4X/x6EcURFZ7E071bjQGAxpcOAEOJuTiroDEea5Szv
	rVWLYfl7ZiQwSUToxrkux7OLixAWGz22+HIyWTRYcVfomOwvzusfjtVIGgLHf3MAAAAASUVORK5C
	YII=
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (OS X 10.8.3)
Cancel-Lock: sha1:hTqXNR5EZ4Q9Vc/igT4XGgrKnhQ=
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.17
X-Spam-Score: -1.0 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -2.9 (--)

On 2013-03-16 15:51 +0800, Andreas Röhler wrote:
> When inside a string, jump to (nth 8 (syntax-ppss)) and
> call (forward-sexp 1) from there.

In my experience (a while ago, I use little python these days) this
cannot reliably goes to the end of the triple-quoted string.

Leo





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#13973; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 16 Mar 2013 07:52:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 16 03:52:18 2013
Received: from localhost ([127.0.0.1]:57140 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UGlub-0006UL-Sv
	for submit <at> debbugs.gnu.org; Sat, 16 Mar 2013 03:52:18 -0400
Received: from eggs.gnu.org ([208.118.235.92]:43794)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <andreas.roehler@HIDDEN>) id 1UGluZ-0006U4-EX
	for submit <at> debbugs.gnu.org; Sat, 16 Mar 2013 03:52:16 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <andreas.roehler@HIDDEN>) id 1UGlt9-0000RC-Hk
	for submit <at> debbugs.gnu.org; Sat, 16 Mar 2013 03:50:49 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-101.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE,
	USER_IN_WHITELIST autolearn=unavailable version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:45685)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <andreas.roehler@HIDDEN>) id 1UGlt9-0000R7-Eh
	for submit <at> debbugs.gnu.org; Sat, 16 Mar 2013 03:50:47 -0400
Received: from eggs.gnu.org ([208.118.235.92]:55154)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <andreas.roehler@HIDDEN>) id 1UGlt8-0003of-FG
	for bug-gnu-emacs@HIDDEN; Sat, 16 Mar 2013 03:50:47 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <andreas.roehler@HIDDEN>) id 1UGlt6-0000Qd-VB
	for bug-gnu-emacs@HIDDEN; Sat, 16 Mar 2013 03:50:46 -0400
Received: from moutng.kundenserver.de ([212.227.126.171]:49691)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <andreas.roehler@HIDDEN>) id 1UGlt6-0000QF-K3
	for bug-gnu-emacs@HIDDEN; Sat, 16 Mar 2013 03:50:44 -0400
Received: from [192.168.178.21] (brln-4d0c0260.pool.mediaWays.net [77.12.2.96])
	by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis)
	id 0MLA5x-1UH30F0gHx-000IdF; Sat, 16 Mar 2013 08:50:42 +0100
Message-ID: <51442486.4070100@HIDDEN>
Date: Sat, 16 Mar 2013 08:51:34 +0100
From: =?ISO-8859-15?Q?Andreas_R=F6hler?= <andreas.roehler@HIDDEN>
User-Agent: Mozilla/5.0 (X11; Linux i686;
	rv:17.0) Gecko/20130307 Thunderbird/17.0.4
MIME-Version: 1.0
To: bug-gnu-emacs@HIDDEN
Subject: Subject: 24.3; thingatpt.el, end-of-sexp
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V02:K0:ha05DoTDUoTFyhIgczvA+GYVRgIK2vovqRcXHIeQPUv
	VoNnXIocaOyAS1S94xw0XLWsZZJiYocL7sF6QCdeID2Ibo3TXs
	mlO5aKdB1bCELwu028sy237tzQEc4npwPXZUKYfsUvYN9Nv7+V
	YKgPygMcHgwVSJn/imBLAuohkPH8UkpeJWpPpnwNL7mEXNMcK+
	Xr8vdPEqHiQWGvHC2YVmTtR/91mG4xTx2du1aeGiILMaZ3AWNX
	AlLyfPc7VWR/WOTRHJz1wbuVXujbUmlBi/2RQhd4EGGpkAZEtd
	n8d+pvX4vmNTsRXrIMRVvhpJ6znYFrVl2K0LBr6YCr0l2aYptG
	5bV2NU0AJhYtWHAAdSw+dDuGcH5CWRLmHOefme5af
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.17
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -6.9 (------)

(defun end-of-sexp ()
   "Move point to the end of the current sexp.
\[This is an internal function.]"
   (let ((char-syntax (char-syntax (char-after))))
     (if (or (eq char-syntax ?\))
	    (and (eq char-syntax ?\") (in-string-p)))
	(forward-char 1)
       (forward-sexp 1))))

"or" asks if inside a string and calls (forward-char 1).

This must fail with some probability with
triple-quoted-strings as used in Python.

Solution:

When inside a string, jump to (nth 8 (syntax-ppss)) and
call (forward-sexp 1) from there.




Acknowledgement sent to Andreas Röhler <andreas.roehler@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#13973; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

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