From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#13973: Subject: 24.3; thingatpt.el, end-of-sexp Date: Thu, 26 Aug 2021 16:05:32 +0200 Message-ID: <87pmu01etv.fsf@gnus.org> References: <51442486.4070100@easy-emacs.de> <87a6l9ufug.fsf@gnus.org> <524429ba-026c-e5a6-579e-1789bd2cee1a@easy-emacs.de> <87k0k9n70g.fsf@gnus.org> <8614ba8d-342d-312d-ca11-1c5b7e0885ff@easy-emacs.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38002"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 13973@debbugs.gnu.org To: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 26 16:06:18 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mJG1J-0009a3-U1 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 26 Aug 2021 16:06:17 +0200 Original-Received: from localhost ([::1]:45990 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mJG1H-0004Ru-NE for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 26 Aug 2021 10:06:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34400) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJG14-0004QX-FQ for bug-gnu-emacs@gnu.org; Thu, 26 Aug 2021 10:06:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38415) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mJG14-0005GS-81 for bug-gnu-emacs@gnu.org; Thu, 26 Aug 2021 10:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mJG14-0001hG-2Y for bug-gnu-emacs@gnu.org; Thu, 26 Aug 2021 10:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Aug 2021 14:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13973 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 13973-submit@debbugs.gnu.org id=B13973.16299867536508 (code B ref 13973); Thu, 26 Aug 2021 14:06:02 +0000 Original-Received: (at 13973) by debbugs.gnu.org; 26 Aug 2021 14:05:53 +0000 Original-Received: from localhost ([127.0.0.1]:49961 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJG0r-0001gq-Ev for submit@debbugs.gnu.org; Thu, 26 Aug 2021 10:05:53 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:47704) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJG0l-0001gY-N7 for 13973@debbugs.gnu.org; Thu, 26 Aug 2021 10:05:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=BYAG1Gn4PlChEGkGryi9ztvMgV0h8y5xAZFmITFAVa4=; b=B+vrw/CU8wC75g49MdGonZBm6t Ou0AHgz0oS9CuHrcGjfxNvVnVk//XlgaDLuXRke+a8yScih/tC4LgVzBFBy7zSvWEYZroO1GPfcmD AxaUHyc4w3kEadCXyeQpG58UXGv1FOklha8Nh69A3L6ZV8KMV4xlqu/B6ce5iXWL8gVk=; Original-Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mJG0b-0001YO-7K; Thu, 26 Aug 2021 16:05:37 +0200 In-Reply-To: <8614ba8d-342d-312d-ca11-1c5b7e0885ff@easy-emacs.de> ("Andreas =?UTF-8?Q?R=C3=B6hler?="'s message of "Thu, 26 Aug 2021 08:21:36 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:212712 Archived-At: Andreas R=C3=B6hler writes: >>> Maybe put the Python code below at the top of some buffer and run the >>> test delivered below: >>> >>> # Python >>> >>> def main(): >>> =C2=A0=C2=A0=C2=A0 """Some hint""" >>> =C2=A0=C2=A0=C2=A0 if len(sys.argv) =3D=3D 1: >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 usage() >>> >>> ;; Elisp >>> (defun forward-sexp-text () >>> =C2=A0 (interactive) >>> =C2=A0 (goto-char 30 ) >>> =C2=A0 (forward-sexp)) >> By that goto-char, do you mean the "S" character? > > No, sorry, the 5th double-quote of the triple-quoted-string. That gives me forward-sexp: Scan error: "Unbalanced parentheses", 40, 86 which I think is the right thing? This bug report started with thingatpt. What is the real thingatpt use case that doesn't work in triple-quoted strings? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no