[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#65823: 30.0.50; sexp mismatches
From: |
Andreas Röhler |
Subject: |
bug#65823: 30.0.50; sexp mismatches |
Date: |
Fri, 8 Sep 2023 16:01:27 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.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
- bug#65823: 30.0.50; sexp mismatches,
Andreas Röhler <=