emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: harven@free.fr
Cc: Bastien <bzg@altern.org>, nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: how to change the headline starter *
Date: Thu, 14 Jul 2011 14:01:44 -0400	[thread overview]
Message-ID: <6820.1310666504@alphaville.americas.hpqcorp.net> (raw)
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>

harven@free.fr wrote:

> 
> > bzh@altern.org writes:
> >
> > harven@free.fr 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	other threads:[~2011-07-14 18:01 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 [this message]
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
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=6820.1310666504@alphaville.americas.hpqcorp.net \
    --to=nicholas.dokos@hp.com \
    --cc=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=harven@free.fr \
    /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).