From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: saving state of buffer Date: Thu, 21 Mar 2013 06:10:35 -1000 Message-ID: References: <878v5inpfd.fsf@bzg.ath.cx> <514AD187.6080903@gmail.com> <514AD606.30505@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:49160) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIiJL-0000S4-Gm for emacs-orgmode@gnu.org; Thu, 21 Mar 2013 12:25:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UIiJJ-0005kN-JG for emacs-orgmode@gnu.org; Thu, 21 Mar 2013 12:25:51 -0400 Received: from oproxy5-pub.bluehost.com ([67.222.38.55]:33536) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1UIiJJ-0005j5-AF for emacs-orgmode@gnu.org; Thu, 21 Mar 2013 12:25:49 -0400 In-Reply-To: (42's message of "Thu, 21 Mar 2013 06:16:59 -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: Rainer@krugs.de, Org Mode , Carsten Dominik 42 147 writes: >> Good - May I suggest, that you write a step - by step howto and mail >> it here or even add it to >> worg? This would be a useful addition. > > I adapted this thread the best I could. Feel free to do with it what you > wish. > > QUESTION > > How do I restore the state of my buffer where I left it? > > ANSWER > > When Emacs first visits an Org file, the global state is set to > OVERVIEW, i.e., only the top level headlines are visible. > > If you wish Emacs to restore the position of point where you left it in > your previous session, add the following code to your .emacs: > > (require 'saveplace) > (setq-default save-place t) > > If you wish Org-mode to restore the folded state of the buffer (not just > the position of point), you can either use customize, or add the following > to .emacs: > > (setq org-show-siblings '((default) (isearch t) (bookmark-jump . t))) This doesn't work for me: Debugger entered--Lisp error: (wrong-type-argument listp t) mapcar(#[(f) "T \306\n!\204