From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ryan Thompson Subject: Re: S-Tab strange behavour Date: Tue, 2 Feb 2010 11:40:05 -0800 Message-ID: <2a4ba2fd1002021140m43ed89ecof918578f08889c30@mail.gmail.com> References: <4B687CF9.5030807@vanav.com.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NcObt-0006EH-Um for emacs-orgmode@gnu.org; Tue, 02 Feb 2010 14:40:30 -0500 Received: from [199.232.76.173] (port=43864 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NcObt-0006E5-JB for emacs-orgmode@gnu.org; Tue, 02 Feb 2010 14:40:29 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NcObr-0000Nf-F5 for emacs-orgmode@gnu.org; Tue, 02 Feb 2010 14:40:28 -0500 Received: from mail-iw0-f178.google.com ([209.85.223.178]:40478) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NcObr-0000NT-7A for emacs-orgmode@gnu.org; Tue, 02 Feb 2010 14:40:27 -0500 Received: by iwn8 with SMTP id 8so478877iwn.13 for ; Tue, 02 Feb 2010 11:40:25 -0800 (PST) In-Reply-To: <4B687CF9.5030807@vanav.com.ua> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Ivan Vanyushkin Cc: emacs-orgmode@gnu.org 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 wrote: > Hello. > > On initial file opening, S- 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:Vanav@vanav.com.ua > Jabber/GTalk: Vanav@vanav.com.ua > ICQ: 190644448 > Yahoo: Vanav_I > MSN: Vanav@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 >