emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] how to change the headline starter *


From: Nick Dokos
Subject: Re: [O] how to change the headline starter *
Date: Thu, 14 Jul 2011 14:01:44 -0400

address@hidden wrote:

> 
> > address@hidden writes:
> >
> > address@hidden writes:
> > 
> > > (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.
> > 
> > You should not do this.  org-mode lists start with a "-", using
> > this character for headlines will just confuse things.
> 
> Let me rephrase my message then.
> 
> 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 "[•\f]+")
> so as to use a bullet 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.
> 
> 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.
> 
> > Can't you live with the "*" as the headline character?
> 
> 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.
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]