I don't think it is possible in general to know the startup state of a file. Files with a #+STARTUP line may be an execption.
On Tue, Feb 2, 2010 at 11:28 AM, Ivan Vanyushkin <va...@vanav.com.ua> wrote: > Hello. > > On initial file opening, S-<TAB> cycles through > 1) OVERVIEW -> 2) CONTENTS -> 3) SHOW ALL > not depending on current state of document. > > So, if (as default) document is in OVERVIEW state, first press > _does nothing_ (switch to OVERVIEW again). Expected: CONTENTS. > > If document initially "#+STARTUP: content", then first press switches it > back to OVERVIEW. Expected: SHOW ALL. > > So, S-Tab (and maybe Tab) doesn't use context state when start cycling. > > Is it correct and why? > > org-version 6.21 and 6.34c > Emacs 23.1.1 > > Thank you for your answer! > > > -- > Ivan Vanyushkin - Vanav. > http://vanav.com.ua > mailto:va...@vanav.com.ua > Jabber/GTalk: va...@vanav.com.ua > ICQ: 190644448 > Yahoo: Vanav_I > MSN: va...@vanav.com.ua > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode