From: harven@free.fr
To: Bastien <bzg@altern.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: how to change the headline starter *
Date: Thu, 14 Jul 2011 15:53:04 +0200 (CEST) [thread overview]
Message-ID: <1016444425.2577651310651584384.JavaMail.root@zimbra29-e5.priv.proxad.net> (raw)
In-Reply-To: <1728286333.2576351310650722865.JavaMail.root@zimbra29-e5.priv.proxad.net>
----- Mail Original -----
De: "Bastien" <bzg@altern.org>
À: "Darlan Cavalcante Moreira" <darcamo@gmail.com>
Cc: "harven" <harven@free.fr>, emacs-orgmode@gnu.org
Envoyé: Samedi 2 Juillet 2011 11h48:52 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne
Objet: Re: [O] how to change the headline starter *
Hi Darlan,
Darlan Cavalcante Moreira <darcamo@gmail.com> writes:
> I don't think this is possible. The "*" as a headline starter seems to be
> hard-coded in org.
I confirm this is not possible, it's hardcoded in outline-mode, and Org
is derived from this mode.
As this is a FAQ, I added an entry in Worg/org-faq.org
Cheers,
--
Bastien
Sorry for the late response. The "*" as a headline character is not hard-coded
in outline-mode. The headline character can be in fact any regexp, and is
specified in the variable outline-regexp defined in outline.el. Its default
value is "[*\f]+".
It is howewer hard-coded as a "*" e.g. in org-indent.el
(e.g. in org-indent-initialize), and a change to outline-regexp breaks
org-mode.
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 - 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.
Sincerely,
--
Harven
next parent reply other threads:[~2011-07-14 13:53 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 ` harven [this message]
2011-07-14 15:47 ` how to change the headline starter * Bastien
2011-07-14 17:32 ` harven
2011-07-14 18:01 ` Nick Dokos
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=1016444425.2577651310651584384.JavaMail.root@zimbra29-e5.priv.proxad.net \
--to=harven@free.fr \
--cc=bzg@altern.org \
--cc=emacs-orgmode@gnu.org \
/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).