GNU bug report logs - #24542
25.1.50; The symbol `@' and sexp scanning

Previous Next

Package: emacs;

Reported by: Michael Heerdegen <michael_heerdegen <at> web.de>

Date: Sun, 25 Sep 2016 17:43:02 UTC

Severity: minor

Tags: confirmed

Merged with 11314

Found in versions 24.1.50, 25.1.50, 27.0.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 24542 <at> debbugs.gnu.org
Subject: bug#24542: 25.1.50; The symbol `@' and sexp scanning
Date: Thu, 11 Apr 2024 05:42:08 +0200
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

>  (defvar emacs-lisp-mode-syntax-table
>    (let ((table (make-syntax-table lisp-data-mode-syntax-table)))
> -    ;; These are redundant, now.
> -    ;;(modify-syntax-entry ?\[ "(]  " table)
> -    ;;(modify-syntax-entry ?\] ")[  " table)
> +    ;; `syntax-propertize'. takes care of `,@'.
> +    (modify-syntax-entry ?@ "_" table)
>      table)
>    "Syntax table used in `emacs-lisp-mode'.")

This seems to give good results for me - so far at least.  Also Isearch
symbol searching doesn't seem to be affected in any negative way (I
think there is lost "." in your comment, however).

Thanks,

Michael.




This bug report was last modified 1 year and 40 days ago.

Previous Next


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