Re: [O] saving state of buffer

2013-04-05 Thread Bastien
Hi Carsten, Carsten Dominik carsten.domi...@gmail.com writes: Here is a patch that would change the default values for bookmark-jump and saveplace. Bastien, what do you think? I think it's good, I've applied this -- thanks! -- Bastien

Re: [O] saving state of buffer

2013-03-22 Thread 42 147
Thomas, Could you provide a recipe? As a test, I ran Emacs with just the following code in my .emacs: (require 'saveplace) (setq-default save-place t) (setq org-show-siblings '((default) (isearch t) (bookmark-jump . t))) Emacs ran without any errors, and I made a test.org file, created

Re: [O] saving state of buffer

2013-03-22 Thread Thomas S. Dye
Aloha 42, 42 147 aeus...@gmail.com writes: Thomas, Could you provide a recipe? As a test, I ran Emacs with just the following code in my .emacs: (require 'saveplace) (setq-default save-place t) (setq org-show-siblings '((default) (isearch t) (bookmark-jump . t))) Emacs ran without any

Re: [O] saving state of buffer

2013-03-22 Thread 42 147
Thomas, Glad to hear. I'm quite pleased with this functionality: given that I am always in the midst of some writing / analysis project, it has been a major improvement. Already got one of my friends to instantly adopt it. My only complaint is that I cannot momentarily enslave all my friends and

Re: [O] saving state of buffer

2013-03-21 Thread Carsten Dominik
On 20.3.2013, at 19:28, 42 147 aeus...@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

Re: [O] saving state of buffer

2013-03-21 Thread Marcin Borkowski
Dnia 2013-03-21, o godz. 07:58:51 Carsten Dominik carsten.domi...@gmail.com napisaƂ(a): On 20.3.2013, at 19:28, 42 147 aeus...@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

Re: [O] saving state of buffer

2013-03-21 Thread 42 147
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). But I should also thank you for finding the words I struggled to find (folded state). I feel honored

Re: [O] saving state of buffer

2013-03-21 Thread Rainer M Krug
-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

Re: [O] saving state of buffer

2013-03-21 Thread Carsten Dominik
On 21 mrt. 2013, at 10:23, Rainer M Krug r.m.k...@gmail.com wrote: -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

Re: [O] saving state of buffer

2013-03-21 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21/03/13 10:28, Carsten Dominik wrote: On 21 mrt. 2013, at 10:23, Rainer M Krug r.m.k...@gmail.com wrote: On 21/03/13 10:05, 42 147 wrote: Thanks David, but what Carsten suggested completely resolved my problem (it applies not just to

Re: [O] saving state of buffer

2013-03-21 Thread Carsten Dominik
On 21 mrt. 2013, at 10:05, 42 147 aeus...@gmail.com 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). I don't think it preserves a state.

Re: [O] saving state of buffer

2013-03-21 Thread 42 147
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

Re: [O] saving state of buffer

2013-03-21 Thread Carsten Dominik
This is nice, does anyone of you have write permissions on Work to add this? - Carsten On 21 mrt. 2013, at 11:16, 42 147 aeus...@gmail.com wrote: 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

Re: [O] saving state of buffer

2013-03-21 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21/03/13 12:02, Carsten Dominik wrote: This is nice, does anyone of you have write permissions on Work to add this? I should have, but I have never done it. Rainer - Carsten On 21 mrt. 2013, at 11:16, 42 147 aeus...@gmail.com

Re: [O] saving state of buffer

2013-03-21 Thread Carsten Dominik
On 21 mrt. 2013, at 12:25, Rainer M Krug r.m.k...@gmail.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21/03/13 12:02, Carsten Dominik wrote: This is nice, does anyone of you have write permissions on Work to add this? I should have, but I have never done it. Well, you can

Re: [O] saving state of buffer

2013-03-21 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21/03/13 12:38, Carsten Dominik wrote: On 21 mrt. 2013, at 12:25, Rainer M Krug r.m.k...@gmail.com wrote: On 21/03/13 12:02, Carsten Dominik wrote: This is nice, does anyone of you have write permissions on Work to add this? I should

Re: [O] saving state of buffer

2013-03-21 Thread Carsten Dominik
Here is a patch that would change the default values for bookmark-jump and saveplace. Bastien, what do you think? - Carsten diff --git a/lisp/org.el b/lisp/org.el index bf74afd..1d48338 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -916,7 +916,7 @@ contexts. See `org-show-hierarchy-above' for

Re: [O] saving state of buffer

2013-03-21 Thread Thomas S. Dye
42 147 aeus...@gmail.com 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

[O] saving state of buffer

2013-03-20 Thread 42 147
How would I save the state of the headlines? e.g.,: * Books * Movies * Music ** Analysis *** Classical Composers * Beethoven ** Eroica *** II. Marcia funebre: Adagio assai General Comments * Climax of the Movement The climax of the movement for me is the

Re: [O] saving state of buffer

2013-03-20 Thread Bastien
Hi Fourtytwo, 42 147 aeus...@gmail.com 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

Re: [O] saving state of buffer

2013-03-20 Thread 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 == allow me to save and reopen the buffer in its current configuration. From what I can

Re: [O] saving state of buffer

2013-03-20 Thread Christoph
On 03/20/2013 06:00 PM, 42 147 wrote: 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 == allow me to save and reopen the buffer in its

Re: [O] saving state of buffer

2013-03-20 Thread 42 147
(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

Re: [O] saving state of buffer

2013-03-20 Thread Loyall, David
Of 42 147 Sent: Wednesday, March 20, 2013 13:28 PM To: Org Mode Subject: Re: [O] saving state of buffer (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