From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Lennart Borgman <lennart.borgman@gmail.com>
Cc: Alan Mackenzie <acm@muc.de>, emacs-devel@gnu.org
Subject: Re: C Mode: acceleration in brace deserts.
Date: Fri, 04 Dec 2009 23:49:27 -0500 [thread overview]
Message-ID: <jwvr5rajagc.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <e01d8a50912041811q2de427a3o6ad0d6910fe1e4fe@mail.gmail.com> (Lennart Borgman's message of "Sat, 5 Dec 2009 03:11:22 +0100")
> Since we do not have the low level routines now here is an idea to get
> things working now:
> - Maybe use syntax-ppss. It will cache the information and MuMaMo has
> support for making this per chunk + major mode. This is needed instead
> of directly calling (parse-partial-sexp 0 to).
Yes, I think the best way is to integrate it into syntax-ppss, but the
problem is that syntax-ppss is currently fairly limited. A first
extension would be to add to syntax-ppss something similar to
font-lock-syntactic-keywords. That should be fairly easy to do.
But it would still be restricted to parse-partial-sexp (possibly
tweaked by syntax-table text-properties), which is not sufficient in
general, so we should either provide a replacement for or extend
parse-partial-sexp to be more powerful and flexible.
Stefan
next prev parent reply other threads:[~2009-12-05 4:49 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-03 16:21 C Mode: acceleration in brace deserts Alan Mackenzie
2009-12-03 16:26 ` Lennart Borgman
2009-12-03 16:59 ` Alan Mackenzie
2009-12-03 17:22 ` Lennart Borgman
2009-12-03 19:39 ` Alan Mackenzie
2009-12-03 19:57 ` Lennart Borgman
2009-12-04 10:34 ` Lennart Borgman
2009-12-04 11:03 ` Lennart Borgman
2009-12-04 11:56 ` Alan Mackenzie
2009-12-04 12:03 ` Lennart Borgman
2009-12-04 12:18 ` Lennart Borgman
2009-12-04 13:54 ` Alan Mackenzie
2009-12-04 19:03 ` Lennart Borgman
2009-12-05 2:11 ` Lennart Borgman
2009-12-05 4:49 ` Stefan Monnier [this message]
2009-12-04 5:31 ` Richard Stallman
2009-12-04 11:37 ` Alan Mackenzie
2009-12-05 6:50 ` Richard Stallman
2009-12-03 17:09 ` Stefan Monnier
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=jwvr5rajagc.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=acm@muc.de \
--cc=emacs-devel@gnu.org \
--cc=lennart.borgman@gmail.com \
/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.