From: Thorsten Jolitz <tjolitz@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [Feature request] Could Org-mode set 'outline-promotion-headings'?
Date: Sun, 31 Mar 2013 15:01:59 +0200 [thread overview]
Message-ID: <87li93d8oo.fsf@gmail.com> (raw)
Hi List,
'outline-promotion-headings' is a variable defined in Carsten Dominik's
'outline-magic.el' library (and is thus part of my 'outshine.el' which
merges 'outline-magic').
When I wrote 'navi-mode.el' (see https://github.com/tj64/navi and
http://orgmode.org/worg/org-tutorials/index.html) I tried to make it
dependent mostly on this variable, so I guess I could make navi-mode
work with Org-mode files too (not only with buffers where
outline-minor-mode is acitvated with outshine extensions) if Org-mode
would set this variable:
,------------------------------------------------------------------------
| outline-promotion-headings is a variable defined in `outshine.el'.
| Its value is shown below.
|
| Automatically becomes buffer-local when set.
|
| Documentation:
| A sorted list of headings used for promotion/demotion commands.
| Set this to a list of headings as they are matched by `outline-regexp',
| top-level heading first. If a mode or document needs several sets of
| outline headings (for example numbered and unnumbered sections), list
| them set by set, separated by a nil element. See the example for
| `texinfo-mode' in the file commentary.
|
| For more information check the manuals.
|
|
|
| Value:
| ((";; * " . 1)
| (";; ** " . 2)
| (";; *** " . 3)
| (";; **** " . 4)
| (";; ***** " . 5)
| (";; ****** " . 6)
| (";; ******* " . 7)
| (";; ******** " . 8))
|
| Local in buffer `xyz.el'; global value is nil
`------------------------------------------------------------------------
I case of Org-mode, there would of course be no ';;' in the values, i.e. just
,-----------
| ("* " . 1)
`-----------
instead of
,--------------
| (";; * " . 1)
`--------------
--
cheers,
Thorsten
next reply other threads:[~2013-03-31 13:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-31 13:01 Thorsten Jolitz [this message]
2013-03-31 16:24 ` [Feature request] Could Org-mode set 'outline-promotion-headings'? Nick Dokos
2013-03-31 18:24 ` Thorsten Jolitz
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=87li93d8oo.fsf@gmail.com \
--to=tjolitz@gmail.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).