unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#65823: 30.0.50; sexp mismatches
@ 2023-09-08 14:01 Andreas Röhler
  2023-09-20 19:17 ` Garjola Dindi
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Röhler @ 2023-09-08 14:01 UTC (permalink / raw)
  To: 65823

;; 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






^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#65823: 30.0.50; sexp mismatches
  2023-09-08 14:01 bug#65823: 30.0.50; sexp mismatches Andreas Röhler
@ 2023-09-20 19:17 ` Garjola Dindi
  0 siblings, 0 replies; 2+ messages in thread
From: Garjola Dindi @ 2023-09-20 19:17 UTC (permalink / raw)
  To: Andreas Röhler; +Cc: 65823


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öhler
<andreas.roehler@easy-emacs.de> wrote: 
> ;; 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
-- 





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-09-20 19:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-08 14:01 bug#65823: 30.0.50; sexp mismatches Andreas Röhler
2023-09-20 19:17 ` Garjola Dindi

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).