From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Borkowski Subject: Re: saving state of buffer Date: Thu, 21 Mar 2013 08:14:19 +0100 Message-ID: <20130321081419.226c11c3@aga-netbook> References: <878v5inpfd.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59113) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIZhp-0000D3-39 for emacs-orgmode@gnu.org; Thu, 21 Mar 2013 03:14:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UIZhh-0008S8-1D for emacs-orgmode@gnu.org; Thu, 21 Mar 2013 03:14:33 -0400 Received: from msg.wmi.amu.edu.pl ([2001:808:114:2::50]:46126) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIZhg-0008Rl-R8 for emacs-orgmode@gnu.org; Thu, 21 Mar 2013 03:14:24 -0400 Received: from localhost (localhost [127.0.0.1]) by msg.wmi.amu.edu.pl (Postfix) with ESMTP id 393396AF87 for ; Thu, 21 Mar 2013 08:14:22 +0100 (CET) Received: from msg.wmi.amu.edu.pl ([127.0.0.1]) by localhost (msg.wmi.amu.edu.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4-ZVTCHJU8yT for ; Thu, 21 Mar 2013 08:14:22 +0100 (CET) Received: from aga-netbook (jedenzero5-dziewiecosiem.echostar.pl [213.156.105.98]) by msg.wmi.amu.edu.pl (Postfix) with ESMTPSA id 0621F6AF82 for ; Thu, 21 Mar 2013 08:14:21 +0100 (CET) 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: emacs-orgmode@gnu.org Dnia 2013-03-21, o godz. 07:58:51 Carsten Dominik napisa=C5=82(a): >=20 > On 20.3.2013, at 19:28, 42 147 wrote: >=20 > > > (require 'saveplace) > > > (setq-default save-place t) > >=20 > > > works for me. It just opens the place where I had the point, > > > nothing more, but that's what I need most. > >=20 > > 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. >=20 > Org-mode has very precise control for situations when a jump into > invisible text happens, for example by isearch or by bookmark-jump or > saveplace. Take a look at the variable org-show-siblings and set a > special context for bookmark-jump, that should do it. This will work > for both saveplace and bookmarks. >=20 > You can do this with customize, or just like this: >=20 > (setq org-show-siblings '((default) (isearch t) (bookmark-jump . t))) >=20 > There are companion variables, they are all in the customization > group org-reveal-context. After almost 2 years on TeX.SE and more than 3 years on BGG, what I probably lack most in mailing lists is an upvote/thumb up button... :) > - Carsten Regards, --=20 Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University