From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: how to change the headline starter * Date: Fri, 15 Jul 2011 14:08:41 +0200 Message-ID: <87y5zziw52.fsf@gmail.com> References: <1016444425.2577651310651584384.JavaMail.root@zimbra29-e5.priv.proxad.net> <87oc0wx3sq.fsf@gnu.org> <87liw0ek6b.fsf@nzebook.haselwarter.org> <8739i7ke8i.fsf@gmail.com> <87aacfrcee.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:57949) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhhCM-0006CU-5H for emacs-orgmode@gnu.org; Fri, 15 Jul 2011 08:08:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QhhCH-0006Sh-VI for emacs-orgmode@gnu.org; Fri, 15 Jul 2011 08:08:49 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:54250) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhhCH-0006SW-HJ for emacs-orgmode@gnu.org; Fri, 15 Jul 2011 08:08:45 -0400 Received: by wyg36 with SMTP id 36so902078wyg.0 for ; Fri, 15 Jul 2011 05:08:44 -0700 (PDT) In-Reply-To: <87aacfrcee.fsf@gnu.org> (Bastien's message of "Fri, 15 Jul 2011 13:50:17 +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: Bastien Cc: emacs-orgmode@gnu.org, Philipp Haselwarter Hello, Bastien writes: > Nicolas Goaziou writes: > >> I think some parts of Org code use `outline-regexp', some others use >> `org-outline-regexp' and some parts have it hard-coded. >> >> For the sake of consistency, It would certainly be a good idea to >> generalize the use of `org-outline-regexp'. > > Actually, I think "*" _should_ be hardcoded. > > Org is a text format (.org) meant to be usable outside Emacs. > > Such a fundamental part of the format should be an invariant, > easily recognized by any tool. > > What do you think? I do not disagree. My point is that it could be hard-coded in a consistent way, i.e. all references to an headline could look for `org-outline-regexp' instead of some custom string (even though it may be shorter and easier to write). This isn't related to `org-outline-regexp' being a defconst. Regards, -- Nicolas Goaziou