From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: saving state of buffer Date: Wed, 20 Mar 2013 14:49:59 +0100 Message-ID: <878v5inpfd.fsf@bzg.ath.cx> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:54018) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIJXH-0001Km-Pp for emacs-orgmode@gnu.org; Wed, 20 Mar 2013 09:58:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UIJXG-0004dr-F0 for emacs-orgmode@gnu.org; Wed, 20 Mar 2013 09:58:35 -0400 Received: from mail-we0-x22f.google.com ([2a00:1450:400c:c03::22f]:62600) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIJXG-0004dj-9V for emacs-orgmode@gnu.org; Wed, 20 Mar 2013 09:58:34 -0400 Received: by mail-we0-f175.google.com with SMTP id r5so1365187wey.34 for ; Wed, 20 Mar 2013 06:58:33 -0700 (PDT) In-Reply-To: (42's message of "Wed, 20 Mar 2013 07:19:06 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: 42 147 Cc: emacs-orgmode@gnu.org Hi Fourtytwo, 42 147 writes: > When I return to this buffer, I want all of this to be opened. (info "(Org)Visibility cycling") When Emacs first visits an Org file, the global state is set to OVERVIEW, i.e., only the top level headlines are visible. This can be configured through the variable 'org-startup-folded', or on a per-file basis by adding one of the following lines anywhere in the buffer: #+STARTUP: overview #+STARTUP: content #+STARTUP: showall #+STARTUP: showeverything 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 'org-agenda-inhibit-startup' to nil. Furthermore, any entries with a 'VISIBILITY' property (*note Properties and Columns::) will get their visibility adapted accordingly. Allowed values for this property are 'folded', 'children', 'content', and 'all'. 'C-u C-u ' ('org-set-startup-visibility') Switch back to the startup visibility of the buffer, i.e., whatever is requested by startup options and 'VISIBILITY' properties in individual entries. HTH, -- Bastien