From: Bastien <bzg@altern.org>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: Christopher Schmidt <christopher@ch.ristopher.com>,
"emacs-orgmode@gnu.org Mailing List" <emacs-orgmode@gnu.org>
Subject: Re: ...
Date: Thu, 31 Jan 2013 14:32:01 +0100 [thread overview]
Message-ID: <874nhxjx66.fsf@bzg.ath.cx> (raw)
In-Reply-To: <CFA43917-9EBF-4215-90FE-6DC8535A1CFD@gmail.com> (Carsten Dominik's message of "Thu, 31 Jan 2013 12:59:29 +0100")
Hi Carsten,
thanks a lot for the very clear explanations.
Carsten Dominik <carsten.dominik@gmail.com> 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
next prev parent reply other threads:[~2013-01-31 13:32 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <877gmt3dzq@ch.ristopher.com>
[not found] ` <871ud13dkp@ch.ristopher.com>
2013-01-31 10:37 ` Carsten Dominik
2013-01-31 10:53 ` Christopher Schmidt
2013-01-31 13:40 ` Bastien
2013-01-31 11:22 ` Bastien
2013-01-31 11:46 ` roundtrip integration with Asana? Meng Weng Wong
2013-01-31 13:49 ` Bastien
2013-02-01 2:53 ` Meng Weng Wong
2013-01-31 11:59 ` Carsten Dominik
2013-01-31 13:32 ` Bastien [this message]
2013-01-31 14:32 ` Carsten Dominik
2013-01-31 16:02 ` orgstruct-mode with custom headline prefix (was: ...) Christopher Schmidt
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874nhxjx66.fsf@bzg.ath.cx \
--to=bzg@altern.org \
--cc=carsten.dominik@gmail.com \
--cc=christopher@ch.ristopher.com \
--cc=emacs-orgmode@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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).