diff --git a/doc/org.texi b/doc/org.texi index fa23948db..c5ca3ebb6 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -1288,6 +1288,7 @@ Copy the @i{visible} text in the region into the kill ring. @end table @vindex org-startup-folded +@vindex org-agenda-inhibit-startup @cindex @code{overview}, STARTUP keyword @cindex @code{content}, STARTUP keyword @cindex @code{showall}, STARTUP keyword @@ -1306,6 +1307,10 @@ buffer: #+STARTUP: showeverything @end example +The startup visibility options are ignored when the file is open for the +first time during the agenda generation: if you want the agenda to honor +the startup visibility, set @code{org-agenda-inhibit-startup} to nil. + @cindex property, VISIBILITY @noindent Furthermore, any entries with a @samp{VISIBILITY} property (@pxref{Properties diff --git a/lisp/org.el b/lisp/org.el index ea8e2a366..9cd499a2a 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -586,7 +586,11 @@ the following lines anywhere in the buffer: #+STARTUP: fold (or `overview', this is equivalent) #+STARTUP: nofold (or `showall', this is equivalent) #+STARTUP: content - #+STARTUP: showeverything" + #+STARTUP: showeverything + +By default, this option is ignored when Org opens agenda files +for the first time. If you want the agenda to honor the startup +option, set `org-agenda-inhibit-startup' to nil." :group 'org-startup :type '(choice (const :tag "nofold: show all" nil)