From: Vitaly <jauthu@gmail.com>
To: emacs-orgmode@gnu.org
Subject: request of numeric arguments handling by +STARTUP: content
Date: Sun, 24 Feb 2013 08:55:53 +0300 [thread overview]
Message-ID: <CAADtcTsDZYjPKNT_oaMvZD4c6XGur0Qw-Z+mHRWFB=pFB_gxEQ@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 692 bytes --]
I want to have CONTENTS showing headlines up to particular level N when
open file. I couldn't find such a thing in docs and VISIBILITY can't be
used since it takes no arguments too, so having multiple VISIBILITY
properties in every top-level headline is a bit stupid, not saying that it
can not solve the problem fully, because it also doesn't take argument for
"children" or "content".
Why not handling this somewhere in "+STARTUP: content N" or anywhere
similar? Since org-mode handles arguments for org-global-cycle, why not
handle them on startup?
I managed to get this behavior simply by calling the (org-global-cycle N)
in find-file-hook, but this is somewhat dirty.
Regards, Vitaly
[-- Attachment #2: Type: text/html, Size: 804 bytes --]
next reply other threads:[~2013-02-24 5:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-24 5:55 Vitaly [this message]
2013-02-24 6:01 ` Fwd: request of numeric arguments handling by +STARTUP: content Vitaly
2013-02-24 8:18 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAADtcTsDZYjPKNT_oaMvZD4c6XGur0Qw-Z+mHRWFB=pFB_gxEQ@mail.gmail.com' \
--to=jauthu@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.