all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* request of numeric arguments handling by +STARTUP: content
@ 2013-02-24  5:55 Vitaly
  2013-02-24  6:01 ` Fwd: " Vitaly
  0 siblings, 1 reply; 3+ messages in thread
From: Vitaly @ 2013-02-24  5:55 UTC (permalink / raw
  To: emacs-orgmode

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-02-24  8:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-24  5:55 request of numeric arguments handling by +STARTUP: content Vitaly
2013-02-24  6:01 ` Fwd: " Vitaly
2013-02-24  8:18   ` Bastien

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.