GNU bug report logs - #65823
30.0.50; sexp mismatches

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>; Keywords: confirmed; dated Fri, 8 Sep 2023 14:02:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) confirmed. Request was from Garjola Dindi <garjola@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 65823) by debbugs.gnu.org; 20 Sep 2023 22:57:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 20 18:57:19 2023
Received: from localhost ([127.0.0.1]:60601 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qj68C-0006np-Lq
	for submit <at> debbugs.gnu.org; Wed, 20 Sep 2023 18:57:19 -0400
Received: from relay4-d.mail.gandi.net ([2001:4b98:dc4:8::224]:39029)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <garjola@HIDDEN>) id 1qj2iK-0000kV-6A
 for 65823 <at> debbugs.gnu.org; Wed, 20 Sep 2023 15:18:23 -0400
Received: by mail.gandi.net (Postfix) with ESMTPA id 530B0E000B;
 Wed, 20 Sep 2023 19:18:01 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=garjola.net; s=gm1;
 t=1695237483;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=zD+90dvIi0AgQnh7M5wQA5cd6qqNSbROwVJcBQk9cEI=;
 b=dOJnea4l5cuibjMOwRETajMJRcsyYEh0hIC9HE60FHNrPvTYREZX5BzsDVJ3lNzolCjUBF
 tIU2LT+fkoHbD1OsKNdKXE9w0D08+OWCxZ1RvOYxh5NpPIm8/1Eh5jiZs8dj5LnOycUzcn
 Hj/L6D+37xkzYT2yxTu46C/9ZkNMVoU0oS1nABO79VdPwYPVkRUH7p/HVnbb0njhIgVXT7
 ov0ctsFtl0zU94/LiMM8FR3KBoX8mpY9D3MkrmN1KLIHrHgCxyblKTuv2zKscMi0ZRxc3Y
 Ik/ER1/VJwwSpNqQsyvtvSFuK5IAfnINcIJZr/1AKbuTLA9TjIOSSUG+oZ7VsQ==
From: Garjola Dindi <garjola@HIDDEN>
To: Andreas =?utf-8?Q?R=C3=B6hler?= <andreas.roehler@HIDDEN>
Subject: Re: bug#65823: 30.0.50; sexp mismatches
In-Reply-To: <1a95cfe1-49dd-37ce-a581-2ebcee4a381d@HIDDEN> ("Andreas
 =?utf-8?Q?R=C3=B6hler=22's?= message of "Fri, 8 Sep 2023 16:01:27 +0200")
References: <1a95cfe1-49dd-37ce-a581-2ebcee4a381d@HIDDEN>
Date: Wed, 20 Sep 2023 21:17:59 +0200
Message-ID: <87y1h0vel4.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-GND-Sasl: garjola@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 65823
X-Mailman-Approved-At: Wed, 20 Sep 2023 18:57:15 -0400
Cc: 65823 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://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: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)


Hi,

I confirm that I can reproduce this using

GNU Emacs 30.0.50 (build 7, x86_64-pc-linux-gnu, GTK+ Version 3.24.37,
cairo version 1.16.0) of 2023-09-16

Thanks.

Garjola

On Fri 08-Sep-2023 at 16:01:27 +02, Andreas R=C3=B6hler
<andreas.roehler@HIDDEN> wrote:=20
> ;; Buffer in emacs-lisp-mode.
>
> (defun foo (arg)
> =C2=A0 "(Some command \"]\" )=C2=A0 ( "
> =C2=A0 ;; ( asdf
> =C2=A0 (interactive "p*")
> =C2=A0 (message "%s" arg))
>
> ;; In example code above go into docstring at opening parenthesis from
>    "(Some".
> ;; M-x forward-sexp RET will match the closing bracket, not the closing
> ;; parenthesis.
>
> ;; Also, when starting from closing parenthesis in docstring, it does
>    not get
> ;; the opening.
>
>
> ;; Second:
> ;; With cursor at comment line, at open paren before asdf:
>
> ;; M-x forward-sexp RET matches the end of defun outside comment.
> ;; But from there backward-sexp doesn't reach the starting point.
>
> ;; Forward- and backward-sexp should correspond WRT of the position reach=
ed.
>
> ;; When sexp navigation starts from inside a string or comment, it
> ;; should match only in respective environment.
>
> ;; GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
>    3.24.33, cairo version 1.16.0) of 2023-09-08
--=20




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

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


Received: (at submit) by debbugs.gnu.org; 8 Sep 2023 14:01:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 08 10:01:46 2023
Received: from localhost ([127.0.0.1]:45009 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qec3O-0003G7-Gf
	for submit <at> debbugs.gnu.org; Fri, 08 Sep 2023 10:01:46 -0400
Received: from lists.gnu.org ([2001:470:142::17]:56548)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <andreas.roehler@HIDDEN>) id 1qec3J-0003Fs-AE
 for submit <at> debbugs.gnu.org; Fri, 08 Sep 2023 10:01:45 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <andreas.roehler@HIDDEN>)
 id 1qec3B-0003W1-EP
 for bug-gnu-emacs@HIDDEN; Fri, 08 Sep 2023 10:01:33 -0400
Received: from mout.kundenserver.de ([217.72.192.74])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <andreas.roehler@HIDDEN>)
 id 1qec39-0003zz-46
 for bug-gnu-emacs@HIDDEN; Fri, 08 Sep 2023 10:01:33 -0400
Received: from [192.168.178.61] ([89.247.171.230]) by mrelayeu.kundenserver.de
 (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id
 1MIxBc-1qKKJ804oU-00KO2P for <bug-gnu-emacs@HIDDEN>; Fri, 08 Sep 2023
 16:01:28 +0200
Message-ID: <1a95cfe1-49dd-37ce-a581-2ebcee4a381d@HIDDEN>
Date: Fri, 8 Sep 2023 16:01:27 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.15.0
Content-Language: en-US
To: bug-gnu-emacs@HIDDEN
From: =?UTF-8?Q?Andreas_R=c3=b6hler?= <andreas.roehler@HIDDEN>
Subject: 30.0.50; sexp mismatches
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Provags-ID: V03:K1:rM8eJ7VIn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xrRl3Ye6X3ku7Ektvwp+bLAXuFbMg33c7rlubA+6CC7l
 DzOdZEnXZPS+ZYXymdPY75ohlxorgN3q1bbrw0yp+WqKU1u6pjvGh2I4RQoTG/gaQvb6TSAcy
 rovKgQUoRcSJIZw==
Received-SPF: pass client-ip=217.72.192.74;
 envelope-from=andreas.roehler@HIDDEN; helo=mout.kundenserver.de
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001,
 RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://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: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

;; Buffer in emacs-lisp-mode.

(defun foo (arg)
   "(Some command \"]\" )  ( "
   ;; ( asdf
   (interactive "p*")
   (message "%s" arg))

;; In example code above go into docstring at opening parenthesis from 
"(Some".
;; M-x forward-sexp RET will match the closing bracket, not the closing
;; parenthesis.

;; Also, when starting from closing parenthesis in docstring, it does 
not get
;; the opening.


;; Second:
;; With cursor at comment line, at open paren before asdf:

;; M-x forward-sexp RET matches the end of defun outside comment.
;; But from there backward-sexp doesn't reach the starting point.

;; Forward- and backward-sexp should correspond WRT of the position reached.

;; When sexp navigation starts from inside a string or comment, it
;; should match only in respective environment.

;; GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 
3.24.33, cairo version 1.16.0) of 2023-09-08





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#65823; 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: Wed, 20 Sep 2023 23:00:01 UTC

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