From: Carsten Dominik <carsten.dominik@gmail.com>
To: 42 147 <aeuster@gmail.com>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: saving state of buffer
Date: Thu, 21 Mar 2013 07:58:51 +0100 [thread overview]
Message-ID: <A01F670F-0005-479E-8BE1-8D78C322695C@gmail.com> (raw)
In-Reply-To: <CAMgvimGwhnSNhRSoPrrNUVqDmTGjxutf7uzGejmnE4GtAeEXyw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 959 bytes --]
On 20.3.2013, at 19:28, 42 147 <aeuster@gmail.com> wrote:
> > (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.
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.
You can do this with customize, or just like this:
(setq org-show-siblings '((default) (isearch t) (bookmark-jump . t)))
There are companion variables, they are all in the customization group org-reveal-context.
- Carsten
[-- Attachment #2: Type: text/html, Size: 1528 bytes --]
next prev parent reply other threads:[~2013-03-21 6:59 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-20 11:19 saving state of buffer 42 147
2013-03-20 13:49 ` Bastien
2013-03-20 17:00 ` 42 147
2013-03-20 17:09 ` Christoph
2013-03-20 18:28 ` 42 147
2013-03-20 18:57 ` Loyall, David
2013-03-21 6:58 ` Carsten Dominik [this message]
2013-03-21 7:14 ` Marcin Borkowski
2013-03-21 9:05 ` 42 147
2013-03-21 9:23 ` Rainer M Krug
2013-03-21 9:28 ` Carsten Dominik
2013-03-21 9:42 ` Rainer M Krug
2013-03-21 10:16 ` 42 147
2013-03-21 11:02 ` Carsten Dominik
2013-03-21 11:25 ` Rainer M Krug
2013-03-21 11:38 ` Carsten Dominik
2013-03-21 11:59 ` Rainer M Krug
2013-03-21 13:50 ` Carsten Dominik
2013-04-06 1:03 ` Bastien
2013-03-21 16:10 ` Thomas S. Dye
2013-03-22 16:36 ` 42 147
2013-03-22 21:30 ` Thomas S. Dye
2013-03-22 22:24 ` 42 147
2013-03-21 9:47 ` Carsten Dominik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=A01F670F-0005-479E-8BE1-8D78C322695C@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=aeuster@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).