[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] ...
From: |
Bastien |
Subject: |
Re: [O] ... |
Date: |
Thu, 31 Jan 2013 14:32:01 +0100 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) |
Hi Carsten,
thanks a lot for the very clear explanations.
Carsten Dominik <address@hidden> writes:
> The difference is only the repeated concatenation operation, and not the
> recompilation. I always thought that this would work differently, and that
> is why a lot of regexps get constructed and then stored in variables or
> constants. Of course this is also a good practice for readable and
> maintainable code, but the impact on efficiency is not as big as I used to
> think. So when I saw Christoher's initial patch, I thought a function to
> create
> org-ooutline-regexp-bol would be a large burden in speed - but it now seems
> that it would only be a minor impact.
That was my assumption too... hence my reaction to Christopher's
patch.
It now makes sense -- I'll ask for confirmation on the emacs-devel as
suggested by Christopher.
> Still, I think making a local variable in buffers with
> org-struct-mode is also a good way to get the functionality
> Christopher wants.
Mh... here I'm not sure to understand what you suggest.
Isn't the whole point of Christopher's patch to rely on
a buffer local value of org-outline-regexp? I surely miss
something.
Thanks!
--
Bastien