unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Heerdegen via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 24542@debbugs.gnu.org
Subject: bug#24542: 25.1.50; The symbol `@' and sexp scanning
Date: Thu, 11 Apr 2024 05:42:08 +0200	[thread overview]
Message-ID: <87zfu0y38v.fsf@web.de> (raw)
In-Reply-To: <jwvzfu04y5s.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Wed, 10 Apr 2024 19:06:32 -0400")

Stefan Monnier <monnier@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.





  reply	other threads:[~2024-04-11  3:42 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-25 17:42 bug#24542: 25.1.50; The symbol `@' and sexp scanning Michael Heerdegen
2017-01-02 16:58 ` Michael Heerdegen
2017-01-02 20:37   ` npostavs
2017-01-03 12:46     ` Michael Heerdegen
2017-01-03 13:03       ` npostavs
2020-09-04 13:05       ` Lars Ingebrigtsen
2020-09-04 13:31         ` Eli Zaretskii
2020-09-04 14:22           ` Stefan Monnier
2024-04-10 23:06 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-11  3:42   ` Michael Heerdegen via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2024-04-12 17:29     ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-12 21:32       ` Michael Heerdegen via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-13  1:55         ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zfu0y38v.fsf@web.de \
    --to=bug-gnu-emacs@gnu.org \
    --cc=24542@debbugs.gnu.org \
    --cc=michael_heerdegen@web.de \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).