From: Stefan Monnier <monnier@iro.umontreal.ca>
To: emacs-devel@gnu.org
Subject: Re: forward-sexp when on a floating point number
Date: Sun, 17 Jan 2016 20:36:32 -0500 [thread overview]
Message-ID: <jwv4meb3c7l.fsf-monnier+gmane.emacs.devel@gnu.org> (raw)
In-Reply-To: m2k2n7ai3m.fsf@newartisans.com
>> Hopefully at some point syntax-tables will be extended to FSM
>> (currently, they're trivial FSMs where you always get to a final state
>> after exactly one transition) so we can make them understand such
>> lexical details.
> Except that not everyone will want this. I still think that fancier movement
> like this should be done (at least initially) in an ELPA package for those who
> want it, rather than request a change to the behavior of Emacs core.
Lexing via FSM is "standard" in the world of computer languages, so I'm
pretty sure it'd be good/useful to add such functionality to Emacs's core.
E.g. it would improve performance and robustness of many SMIE tokenizers.
Whether the functionality is added by extending syntax-tables or as
a new thingy is of course up for debate.
And whether the user-facing commands should change semantics is also up
for debate. But that's an orthogonal debate.
Stefan
next prev parent reply other threads:[~2016-01-18 1:36 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-12 10:42 forward-sexp when on a floating point number Oleh Krehel
2016-01-12 13:58 ` Herring, Davis
2016-01-12 14:20 ` Andreas Schwab
2016-01-12 14:41 ` Oleh Krehel
2016-01-12 17:35 ` John Wiegley
2016-01-12 17:45 ` Dmitry Gutov
2016-01-17 23:07 ` Stefan Monnier
2016-01-17 23:42 ` John Wiegley
2016-01-18 1:36 ` Stefan Monnier [this message]
2016-01-18 5:08 ` John Wiegley
2016-01-18 13:30 ` Stefan Monnier
2016-01-18 19:02 ` John Wiegley
2016-01-18 21:03 ` Marcin Borkowski
2016-01-18 21:34 ` Stefan Monnier
2016-01-20 22:15 ` Marcin Borkowski
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwv4meb3c7l.fsf-monnier+gmane.emacs.devel@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.