From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: how to change the headline starter * Date: Thu, 14 Jul 2011 14:01:44 -0400 Message-ID: <6820.1310666504@alphaville.americas.hpqcorp.net> References: <1240511841.2591431310664738370.JavaMail.root@zimbra29-e5.priv.proxad.net> Reply-To: nicholas.dokos@hp.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:59944) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhQEV-0006fb-5E for emacs-orgmode@gnu.org; Thu, 14 Jul 2011 14:01:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QhQEQ-0003Hj-V4 for emacs-orgmode@gnu.org; Thu, 14 Jul 2011 14:01:55 -0400 Received: from g4t0015.houston.hp.com ([15.201.24.18]:23267) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhQEQ-0003HE-F8 for emacs-orgmode@gnu.org; Thu, 14 Jul 2011 14:01:50 -0400 In-Reply-To: Message from harven@free.fr of "Thu\, 14 Jul 2011 19\:32\:18 +0200." <1240511841.2591431310664738370.JavaMail.root@zimbra29-e5.priv.proxad.net> 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: harven@free.fr Cc: Bastien , nicholas.dokos@hp.com, emacs-orgmode@gnu.org harven@free.fr wrote: >=20 > > bzh@altern.org writes: > > > > harven@free.fr writes: > >=20 > > > (setq outline-regexp "[-\f]+") > > > so as to use - as the headline starter character in outline mode. > > > Switch to another buffer, enter the text > > > > > > - first heading > > > -- second heading > > > some stuff here > > > > > > Activate org-mode. M-x org-mode. > >=20 > > You should not do this. org-mode lists start with a "-", using > > this character for headlines will just confuse things. >=20 > Let me rephrase my message then. >=20 > BUG. How to reproduce. > Starting with emacs -Q (this is emacs 23.2 together with org-mode 6.33), > execute in the scratch buffer > (setq outline-regexp "[=E2=80=A2\f]+") > so as to use a bullet as the headline starter character in outline mode. > Switch to another buffer, enter the text >=20 > =E2=80=A2 first heading > =E2=80=A2=E2=80=A2 second heading > some stuff here >=20 > Activate org-mode. M-x org-mode. >=20 > Then go to the first heading. TAB folds the text as expected. > Go to the second heading. TAB inserts a TAB instead of folding > the second heading. >=20 > > Can't you live with the "*" as the headline character? >=20 > That's a pretty rude answer, I must say. I don't know a single No, it's not. It is as clear an indication as anybody can give you that asterisks are pretty much embedded into org structure. Patient: "Doctor, it hurts when I do that" Doctor: "Don't do that" You may not like it but that's the way it is. Trying to change it at a superficial level (as you did by changing outline-regexp) is likely to land you in a world of pain. Nick > language (language as e.g. english, russian, spanish...) that > uses * as an headline character. BTW, I know that bugs should be > reported through the bug tracker, I will do that asap, and > no, I don't have a patch, I don't understand how org-mode > works. >=20