From: "Aarre Laakso" <aarre@pair.com>
To: emacs-orgmode@gnu.org
Subject: outline-regexp and font locking
Date: Sat, 28 Jun 2008 23:29:05 -0400 [thread overview]
Message-ID: <bf4d47f50806282029ka99dda8w5abe79c7f27f83c7@mail.gmail.com> (raw)
Hello,
In order to edit AsciiDoc files using Org, I have the following line
in my .emacs (XEmacs 21.4.21):
(add-hook 'org-mode-hook '(lambda () (setq outline-regexp "=+")))
This does let me use Org outlining commands (e.g., tab to
collapse/show headings). However, it turns off the pretty font-locking
of the headings that I get with the default outline-regexp in
org-mode.
Could someone tell me how to change outline-regexp for org-mode AND
still get full org-mode font-locking?
Thank you,
Aarre Laakso
next reply other threads:[~2008-06-29 3:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-29 3:29 Aarre Laakso [this message]
2008-07-01 23:34 ` outline-regexp and font locking Carsten Dominik
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=bf4d47f50806282029ka99dda8w5abe79c7f27f83c7@mail.gmail.com \
--to=aarre@pair.com \
--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).