From: Bastien <bzg@gnu.org>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: emacs-orgmode@gnu.org
Subject: Re: element-debug-mode breaks capture
Date: Wed, 19 Aug 2015 12:27:45 +0200 [thread overview]
Message-ID: <877formv32.fsf@gnu.org> (raw)
In-Reply-To: <87lhd7aamd.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Wed, 19 Aug 2015 11:39:42 +0200")
Hi Nicolas,
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
> It makes `org-element-context'/`org-element-at-point' very fast in
> almost every situation. This is of course the most noticeable when
> editing large sections.
How can I test it manually to really _notice_ the difference between
using the cache and not using it?
(I'm not discussing it's general utility, I'm trying to understand in
what circumstances the cache is a noticeable optimization.)
> However, once remaining glitches in the cache are fixed, I expect to
> make fontification use it. So, turning cache off in the long run doesn't
> help moving forward, though it may be convenient in some unfortunate
> situations.
The cache seems still a bit brittle, so yes, let's fix it and see.
--
Bastien
next prev parent reply other threads:[~2015-08-19 10:27 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-16 20:52 element-debug-mode breaks capture Samuel Wales
2015-08-18 15:43 ` Bastien
2015-08-19 9:39 ` Nicolas Goaziou
2015-08-19 10:27 ` Bastien [this message]
2015-08-19 10:34 ` Nicolas Goaziou
2015-08-19 10:55 ` Bastien
2015-08-19 12:14 ` Eric S Fraga
2015-08-19 13:04 ` Bastien
2015-08-19 13:43 ` Nicolas Goaziou
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=877formv32.fsf@gnu.org \
--to=bzg@gnu.org \
--cc=emacs-orgmode@gnu.org \
--cc=mail@nicolasgoaziou.fr \
/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.