From mboxrd@z Thu Jan 1 00:00:00 1970 From: harven Subject: Re: how to change the headline starter * Date: Fri, 15 Jul 2011 21:04:25 +0000 (UTC) Message-ID: References: <1240511841.2591431310664738370.JavaMail.root@zimbra29-e5.priv.proxad.net> <8762n3strl.fsf@gnu.org> <87sjq776g6.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:58218) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhpeF-0001TY-Ng for emacs-orgmode@gnu.org; Fri, 15 Jul 2011 17:10:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QhpeB-00019G-0f for emacs-orgmode@gnu.org; Fri, 15 Jul 2011 17:10:11 -0400 Received: from lo.gmane.org ([80.91.229.12]:47755) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhpeA-00018b-J1 for emacs-orgmode@gnu.org; Fri, 15 Jul 2011 17:10:06 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Qhpe9-00024d-6q for emacs-orgmode@gnu.org; Fri, 15 Jul 2011 23:10:05 +0200 Received: from coa29-2-78-233-232-132.fbx.proxad.net ([78.233.232.132]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 Jul 2011 23:10:05 +0200 Received: from harven by coa29-2-78-233-232-132.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 Jul 2011 23:10:05 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Achim Gratz nexgo.de> writes: > > Bastien 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