emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: harven <harven@free.fr>
To: emacs-orgmode@gnu.org
Subject: Re: how to change the headline starter *
Date: Fri, 15 Jul 2011 21:04:25 +0000 (UTC)	[thread overview]
Message-ID: <loom.20110715T224746-893@post.gmane.org> (raw)
In-Reply-To: 87sjq776g6.fsf@Rainer.invalid

Achim Gratz <Stromeko <at> nexgo.de> writes:

> 
> Bastien <bzg <at> 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)

There are a lot of false positives coming from the wildcards appearing in
regular expressions. The * header seems to be hardcoded as  ?* and I get less
than 30 matches for " \\?\\*" for the 6.33 version of org-mode. 

    org-archive.el.gz    1
    org-agenda.el.gz     1
    org-clock.el.gz      2
    org-datetree.el.gz   1
    org-freemind.el.gz   1
    org-habit.el.gz      1
    org-html.el.gz       1
    org-indent.el.gz     1
    org-inlinetask.el.gz 2
    org-list.el.gz       1
    org.el.gz           14

Once the sources have been downloaded and marked in *Ibuffer*, I got these
numbers using

    M-x ibuffer-do-eval RET
   (print (concat buffer-file-name "  " (number-to-string (how-many " \\?\\*")))
(get-buffer "*scratch*")) RET

I am assuming that the org files all start with a org- prefix. Am I right ?

Hope that helps

  reply	other threads:[~2011-07-15 21:10 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
2011-07-15 21:04           ` harven [this message]
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=loom.20110715T224746-893@post.gmane.org \
    --to=harven@free.fr \
    --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).