emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Achim Gratz <Stromeko@nexgo.de>
To: emacs-orgmode@gnu.org
Subject: Re: how to change the headline starter *
Date: Fri, 15 Jul 2011 20:19:05 +0200	[thread overview]
Message-ID: <87sjq776g6.fsf@Rainer.invalid> (raw)
In-Reply-To: 8762n3strl.fsf@gnu.org

Bastien <bzg@altern.org> writes:
> If you can go through Org's code (or motivate someone to go thru the
> code for you) and check where the "*" is hardcoded instead of being
> inherited from outline-mode that would help a lot, because I'm busy
> with other changes I find more important right now.

There's roughly 100 places in Org where "\\*+" is hardcoded (there may
be false positives and negatives), four that use org-outline-regexp (a
defconst) and 12 that use outline-regexp.  Plain outline-regexp is
localized to org-outline-regexp on entering orgmode, but I'm not sure
why it is used further on (probably for historical reasons).

There are quite a few other places where regexp are hardcoded that
already have or probably should have defconst or defvar symbols, if it's
done for headings one could reasonably expect that it should be done for
other things as well.  I don't know if having a regexp a compile-time
constant is advantageous in terms of performance.  In any case it would
be quite some effort to clean up all regexp to only use symbols.

The other thing is that then of course all the definitions would need to
be stored within the org files since I don't see how one could infer
them all in the general case from just looking at the file.  So it would
seem to make more sense to me to keep the org syntax as is and perhaps
allow some more visual sugar by adding overlays (for those that don't
miond their performance impact).


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds

  reply	other threads:[~2011-07-15 18:19 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1728286333.2576351310650722865.JavaMail.root@zimbra29-e5.priv.proxad.net>
2011-07-14 13:53 ` how to change the headline starter * harven
2011-07-14 15:47   ` Bastien
2011-07-14 17:32     ` harven
2011-07-14 18:01       ` Nick Dokos
2011-07-16  2:05         ` Carsten Dominik
2011-07-16  6:20           ` harven
2011-07-16 10:33             ` Bastien
2011-07-16 10:31           ` Bastien
2011-07-19  5:16             ` Carsten Dominik
2011-07-25 21:33               ` Bastien
2011-07-14 19:10       ` Pieter Praet
2011-07-15 10:21         ` Philipp Haselwarter
2011-07-15 10:40           ` Jambunathan K
2011-07-16 12:59           ` Pieter Praet
2011-07-17  8:08             ` Aankhen
2011-07-17  9:59               ` Christian Moe
2011-07-17 14:53             ` Marcus Klemm
2011-07-17 19:19               ` Bastien
2011-07-17 19:43                 ` Achim Gratz
2011-07-18  8:16                   ` Bastien
2011-08-13 13:46                 ` Matt Lundin
2011-08-13 14:16                   ` Matt Lundin
2011-08-16 16:40                     ` Bastien
2011-07-15 11:30         ` Memnon Anon
2011-07-15 10:49       ` Bastien
2011-07-15 18:19         ` Achim Gratz [this message]
2011-07-15 21:04           ` harven
2011-07-15 21:55             ` harven
2011-07-16 11:12             ` Bastien
2011-07-16 11:08           ` Bastien
2011-07-15 11:03       ` Bastien
2011-07-14 19:28     ` Philipp Haselwarter
2011-07-15 10:52       ` Nicolas Goaziou
2011-07-15 11:30         ` Memnon Anon
2011-07-15 11:51           ` Bastien
2011-07-15 11:50         ` Bastien
2011-07-15 12:08           ` Nicolas Goaziou
2011-07-16 11:22             ` Bastien
2011-07-15 10:56       ` Bastien
2011-07-25 10:12         ` org-icons package (was: how to change the headline starter *) Renzo Been
2011-07-27 15:50           ` org-icons package Bastien
2011-06-11 18:58 how to change the headline starter * harven
2011-06-13 20:32 ` Darlan Cavalcante Moreira
2011-07-02  9:48   ` Bastien

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=87sjq776g6.fsf@Rainer.invalid \
    --to=stromeko@nexgo.de \
    --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).