From mboxrd@z Thu Jan 1 00:00:00 1970 From: 42 147 Subject: Re: saving state of buffer Date: Wed, 20 Mar 2013 14:28:23 -0400 Message-ID: References: <878v5inpfd.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e0cb4efe34441e2fda04d85f63c3 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33243) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UINkQ-0001fW-OQ for emacs-orgmode@gnu.org; Wed, 20 Mar 2013 14:28:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UINkO-0006wY-Ph for emacs-orgmode@gnu.org; Wed, 20 Mar 2013 14:28:26 -0400 Received: from mail-la0-x22f.google.com ([2a00:1450:4010:c03::22f]:57200) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UINkO-0006w0-Cp for emacs-orgmode@gnu.org; Wed, 20 Mar 2013 14:28:24 -0400 Received: by mail-la0-f47.google.com with SMTP id fj20so3513126lab.20 for ; Wed, 20 Mar 2013 11:28:23 -0700 (PDT) In-Reply-To: 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: Org Mode --e0cb4efe34441e2fda04d85f63c3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable > (require 'saveplace) > (setq-default save-place t) > works for me. It just opens the place where I had the point, nothing > more, but that's what I need most. This is more convenient than Emacs bookmarks, but still breaks org-mode to a certain extent: all non top-level headlines below point are hidden. At least for me. 2013/3/20 42 147 > Apologies on behalf of my inferior cognitive faculty, but I do not see a > solution to my problem in those options (perhaps merely a means to it). > > Between OVERVIEW, CONTENT, SHOWALL, SHOWEVERYTHING, which =3D=3D "allow m= e to > save and reopen the buffer in its current configuration." > > From what I can gather from limited reading comprehension, these are stil= l > general settings, i.e., ALL headlines will be opened; ALL drawers will be > opened; ALL text will be exposed. > > What I want is to just have those things exposed that I exposed in my > particular session. > > mit freundlichen Gr=FC=DFen, > > 42 > > > 2013/3/20 Bastien > >> 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 value= s >> 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 >> > > --e0cb4efe34441e2fda04d85f63c3 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
> (require 'saveplace)
> (setq-default save-place t)

> works for me. It just opens the place where I had the point, nothing=
=20
> more, but that's what I need most.

This is mor= e convenient than Emacs bookmarks, but still breaks org-mode to
a certai= n extent: all non top-level headlines below point are hidden. At
least f= or me.
2013/3/20 42 147 <aeuster@gmail.com&g= t;
Apologies on behalf of my inferior cognitive faculty, but I do not see asolution to my problem in those options (perhaps merely a means to it).
Between OVERVIEW, CONTENT, SHOWALL, SHOWEVERYTHING, which =3D=3D "= ;allow me to
save and reopen the buffer in its current configuration."

From= what I can gather from limited reading comprehension, these are still
g= eneral settings, i.e., ALL headlines will be opened; ALL drawers will be opened; ALL text will be exposed.

What I want is to just have those = things exposed that I exposed in my
particular session.

mit freun= dlichen Gr=FC=DFen,

42

2013/3/20 Bastien <bzg@altern.org>
Hi Fourtytwo,

42 147 <aeuster@g= mail.com> writes:

> When I return to this buffer, I want all of this to be opened.

(info "(Org)Visibility cycling")

=A0 =A0When Emacs first visits an Org file, the global state is set to
OVERVIEW, i.e., only the top level headlines are visible. =A0This can be configured through the variable 'org-startup-folded', or on a per-f= ile
basis by adding one of the following lines anywhere in the buffer:

=A0 =A0 =A0#+STARTUP: overview
=A0 =A0 =A0#+STARTUP: content
=A0 =A0 =A0#+STARTUP: showall
=A0 =A0 =A0#+STARTUP: showeverything

=A0 =A0The 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 n= il.

Furthermore, any entries with a 'VISIBILITY' property (*note Proper= ties and
Columns::) will get their visibility adapted accordingly. =A0Allowed values= for
this property are 'folded', 'children', 'content', = and 'all'. =A0'C-u C-u
<TAB>' ('org-set-startup-visibility')
=A0 =A0 =A0Switch back to the startup visibility of the buffer, i.e., whate= ver is
=A0 =A0 =A0requested by startup options and 'VISIBILITY' properties= in individual
=A0 =A0 =A0entries.

HTH,

--
=A0Bastien


--e0cb4efe34441e2fda04d85f63c3--