Re: [O] Moving my init.el to Org

2014-09-06 Thread Eduardo Ochs
Hi all, I hope you don't mind me jumping into this thread to ask an org-beginner question... My .emacs is about 15000 lines long, and that's fine for me because I have anchors at some points of it, and an index at the top, and convenient ways to jump quickly to any anchors. If anyone is curious,

Re: [O] Moving my init.el to Org

2014-09-06 Thread Thorsten Jolitz
Eduardo Ochs eduardoo...@gmail.com writes: Hi, So, questions: 1) what is the user-ish way to create a link in Org to the first occurrence of the string unquote-printable in ~/.emacs? see http://orgmode.org/manual/Internal-links.html 2) I know that Org lets users implement new kinds

Re: [O] Moving my init.el to Org

2014-09-05 Thread Marcin Borkowski
Hi, and thanks for all the great replies! I ended up using orgstruct mode, which is probably the simplest one, and (AFAIU) it will enable me to switch easily to outshine if (when?) orgstruct is not enough for me. And now there's another problem: I'd like to have my init file collapsed to only

Re: [O] Moving my init.el to Org

2014-09-05 Thread Thorsten Jolitz
Marcin Borkowski mb...@wmi.amu.edu.pl writes: Hi, and thanks for all the great replies! I ended up using orgstruct mode, which is probably the simplest one, and (AFAIU) it will enable me to switch easily to outshine if (when?) orgstruct is not enough for me. And now there's another

Re: [O] Moving my init.el to Org

2014-09-03 Thread Rainer M Krug
Jonathan Leech-Pepin jonathan.leechpe...@gmail.com writes: Hello, On 2 September 2014 08:42, Rasmus ras...@gmx.us wrote: Rainer M Krug rai...@krugs.de writes: Oleh ohwoeo...@gmail.com writes: I know that I could use org-babel-load-file, or outshine. What are other possibilities?

Re: [O] Moving my init.el to Org

2014-09-03 Thread Oleh
I'm using a one .el file per mode approach, with around 4000 lines split into 40 files. This approach simplifies things a lot: for instance I haven't touched Javascript in ages, but all my customizations for it are sitting in javascript.el without getting in the way of the stuff that I'm

Re: [O] Moving my init.el to Org

2014-09-03 Thread Rainer M Krug
Oleh ohwoeo...@gmail.com writes: I'm using a one .el file per mode approach, with around 4000 lines split into 40 files. This approach simplifies things a lot: for instance I haven't touched Javascript in ages, but all my customizations for it are sitting in javascript.el without getting in

Re: [O] Moving my init.el to Org

2014-09-02 Thread Alan Schmitt
On 2014-09-01 23:24, Thorsten Jolitz tjol...@gmail.com writes: Thats a bug, it should be fixed now in branch tj-outorg (which should actually be faster and better than master anyway and will hopefully be merged in a few weeks or so). Great, thanks. can you test it too? Unfortunately I

Re: [O] Moving my init.el to Org

2014-09-02 Thread Rainer M Krug
Oleh ohwoeo...@gmail.com writes: I know that I could use org-babel-load-file, or outshine. What are other possibilities? What are the caveats (and advantages) of both (other?) ways? I'm using a one .el file per mode approach, with around 4000 lines split into 40 files. This approach

Re: [O] Moving my init.el to Org

2014-09-02 Thread Thorsten Jolitz
Alan Schmitt alan.schm...@polytechnique.org writes: On 2014-09-01 23:24, Thorsten Jolitz tjol...@gmail.com writes: Thats a bug, it should be fixed now in branch tj-outorg (which should actually be faster and better than master anyway and will hopefully be merged in a few weeks or so).

Re: [O] Moving my init.el to Org

2014-09-02 Thread Rasmus
Rainer M Krug rai...@krugs.de writes: Oleh ohwoeo...@gmail.com writes: I know that I could use org-babel-load-file, or outshine. What are other possibilities? What are the caveats (and advantages) of both (other?) ways? I'm using a one .el file per mode approach, with around 4000 lines

Re: [O] Moving my init.el to Org

2014-09-02 Thread Jonathan Leech-Pepin
Hello, On 2 September 2014 08:42, Rasmus ras...@gmx.us wrote: Rainer M Krug rai...@krugs.de writes: Oleh ohwoeo...@gmail.com writes: I know that I could use org-babel-load-file, or outshine. What are other possibilities? What are the caveats (and advantages) of both (other?) ways?

Re: [O] Moving my init.el to Org

2014-09-01 Thread Oleh
I know that I could use org-babel-load-file, or outshine. What are other possibilities? What are the caveats (and advantages) of both (other?) ways? I'm using a one .el file per mode approach, with around 4000 lines split into 40 files. This approach simplifies things a lot: for instance I

Re: [O] Moving my init.el to Org

2014-09-01 Thread Alan Schmitt
Hello Thorsten, I gave this a try, and here are some observations. On 2014-08-31 16:12, Thorsten Jolitz tjol...@gmail.com writes: on your src-blocks before conversion, as an alternative, like this , | (org-dp-toggle-headers optional 'header) ` to avoid losing the src-block

Re: [O] Moving my init.el to Org

2014-09-01 Thread Thorsten Jolitz
Alan Schmitt alan.schm...@polytechnique.org writes: Hello Thorsten, I gave this a try, and here are some observations. On 2014-08-31 16:12, Thorsten Jolitz tjol...@gmail.com writes: on your src-blocks before conversion, as an alternative, like this , | (org-dp-toggle-headers optional

[O] Moving my init.el to Org

2014-08-31 Thread Marcin Borkowski
OK, so the time has come. Either I'll declare .emacs bankruptcy soon, or I'll use Org-mode to structure it. I googled for a while, but couldn't find what I'm looking for: a list of options with hints (or links to hints) about how to get started, and possibly their pros and cons. I know that I

Re: [O] Moving my init.el to Org

2014-08-31 Thread Thorsten Jolitz
Marcin Borkowski mb...@wmi.amu.edu.pl writes: so the time has come. Either I'll declare .emacs bankruptcy soon, or I'll use Org-mode to structure it. I googled for a while, but couldn't find what I'm looking for: a list of options with hints (or links to hints) about how to get started, and

Re: [O] Moving my init.el to Org

2014-08-31 Thread Thorsten Jolitz
Thorsten Jolitz tjol...@gmail.com writes: Marcin Borkowski mb...@wmi.amu.edu.pl writes: so the time has come. Either I'll declare .emacs bankruptcy soon, or I'll use Org-mode to structure it. BTW, here is (a variation of) my init.el as an Outshine example:

Re: [O] Moving my init.el to Org

2014-08-31 Thread Rasmus
Hi Marcin, Marcin Borkowski mb...@wmi.amu.edu.pl writes: so the time has come. Either I'll declare .emacs bankruptcy soon, or I'll use Org-mode to structure it. I googled for a while, but couldn't find what I'm looking for: a list of options with hints (or links to hints) about how to get

Re: [O] Moving my init.el to Org

2014-08-31 Thread Grant Rettke
Good morning, There are as many /right ways/ to use `org' for *literate programming* as there are flowers. They are all delightful and everyone has their own personal preference. My personal preference is to embrace /literate programming/ in the truest sense of the word: the document everything.

Re: [O] Moving my init.el to Org

2014-08-31 Thread Alan Schmitt
On 2014-08-31 11:20, Thorsten Jolitz tjol...@gmail.com writes: With outshine I have many of Org-mode's advantages (and using outorg I can turn my elisp file into an org file in a second and have all of them), but its still just about a source-file in emacs-lisp-mode, and thats what makes

Re: [O] Moving my init.el to Org

2014-08-31 Thread Thorsten Jolitz
Alan Schmitt alan.schm...@polytechnique.org writes: On 2014-08-31 11:20, Thorsten Jolitz tjol...@gmail.com writes: With outshine I have many of Org-mode's advantages (and using outorg I can turn my elisp file into an org file in a second and have all of them), but its still just about a

Re: [O] Moving my init.el to Org

2014-08-31 Thread Brady Trainor
On 8/31/2014 1:37 AM, Marcin Borkowski wrote: I know that I could use org-babel-load-file, or outshine. What are other possibilities? What are the caveats (and advantages) of both (other?) ways? Another pro for `outshine`, I've made a folding expression for Vim that respects `outshine`