[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#15998: 24.3; forward-sexp (scan-sexps) doesn't do well with some SEX
From: |
Stefan Monnier |
Subject: |
bug#15998: 24.3; forward-sexp (scan-sexps) doesn't do well with some SEXPs |
Date: |
Sun, 07 Jul 2019 09:28:08 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
>> No, but I think syntax-propertize can take care of those things.
> The patch below seems to work, no new sexp movement commands needed?
It should work indeed, tho I'm not sure it'll fix the original problem,
because I don't know *where* the original problem happened and this
patch only fixes the case where we do such navigation in
emacs-lisp-mode, but things #s(...) and #&"..." are *very* rare in
those buffers.
So I'm not completely sure the cost imposed by this patch is worth
the benefit. Maybe we could start by adding those rules to the
elisp-byte-code-mode?
Stefan