[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] saving state of buffer
From: |
Rainer M Krug |
Subject: |
Re: [O] saving state of buffer |
Date: |
Thu, 21 Mar 2013 10:23:19 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:19.0) Gecko/20130125 Thunderbird/19.0 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 21/03/13 10:05, 42 147 wrote:
> Thanks David, but what Carsten suggested completely resolved my problem (it
> applies not just to
> bookmarks; it fully preserves my buffer's folded state after adding
> Christoph's code to my
> .emacs).
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.
> But I should also thank you for finding the words I struggled to find
> ("folded state").
And we have to thank you for this useful question!
Cheers,
Rainer
>
> I feel honored that royalty stepped into the discussion.
>
> Herzlichen Dank,
>
> 42
>
>
> 2013/3/21 Carsten Dominik <address@hidden <mailto:address@hidden>>
>
>
> On 20.3.2013, at 19:28, 42 147 <address@hidden <mailto:address@hidden>> 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
>
>
- --
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys.
(Germany)
Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa
Tel : +33 - (0)9 53 10 27 44
Cell: +33 - (0)6 85 62 59 98
Fax : +33 - (0)9 58 10 27 44
Fax (D): +49 - (0)3 21 21 25 22 44
email: address@hidden
Skype: RMkrug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJRStGHAAoJENvXNx4PUvmCgRMH/2XsE18ysYpwvEFr9dB8Peek
91vSz/YddFROCFO+B2kd8hAT404j1IGR1MKp0cyEgh3bIAvnKxWIMzK42WaWjNf+
SqxJrtwy6Q1m4fwCMeaegReYxc5kJN5CUC3inCXuYgqvWAEgWQOE+9+xq3j0LEOD
pcA084O5rx2JzS4Fo/FeuvB3TuVqcpobkFYM5r89+7WSfDhy+04kp581xzcH4oBr
JISGbfd17RFEIabgTAYkyJKQLMRY6BVFY8WSGQALT+ggSEAiYytYbHoTZUUfnfS2
UlwlTCgCn3xfc1QCBTv09YKVB+xOurtqL3tbfnj7CY3eATJz1YMtOoqyVMLJ68Y=
=cEvT
-----END PGP SIGNATURE-----
- [O] saving state of buffer, 42 147, 2013/03/20
- Re: [O] saving state of buffer, Bastien, 2013/03/20
- Re: [O] saving state of buffer, 42 147, 2013/03/20
- Re: [O] saving state of buffer, Christoph, 2013/03/20
- Re: [O] saving state of buffer, 42 147, 2013/03/20
- Re: [O] saving state of buffer, Loyall, David, 2013/03/20
- Re: [O] saving state of buffer, Carsten Dominik, 2013/03/21
- Re: [O] saving state of buffer, Marcin Borkowski, 2013/03/21
- Re: [O] saving state of buffer, 42 147, 2013/03/21
- Re: [O] saving state of buffer,
Rainer M Krug <=
- Re: [O] saving state of buffer, Carsten Dominik, 2013/03/21
- Re: [O] saving state of buffer, Rainer M Krug, 2013/03/21
- Re: [O] saving state of buffer, 42 147, 2013/03/21
- Re: [O] saving state of buffer, Carsten Dominik, 2013/03/21
- Re: [O] saving state of buffer, Rainer M Krug, 2013/03/21
- Re: [O] saving state of buffer, Carsten Dominik, 2013/03/21
- Re: [O] saving state of buffer, Rainer M Krug, 2013/03/21
- Re: [O] saving state of buffer, Carsten Dominik, 2013/03/21
- Re: [O] saving state of buffer, Thomas S. Dye, 2013/03/21
- Re: [O] saving state of buffer, 42 147, 2013/03/22