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

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

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-05 Thread Thorsten Jolitz
Marcin Borkowski 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 problem: I'd like

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 he

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

2014-09-03 Thread Rainer M Krug
Oleh 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 t

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 t

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

2014-09-02 Thread Rainer M Krug
Jonathan Leech-Pepin writes: > Hello, > > On 2 September 2014 08:42, Rasmus wrote: > >> Rainer M Krug writes: >> >> > Oleh 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 >> >>> (

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

2014-09-02 Thread Jonathan Leech-Pepin
Hello, On 2 September 2014 08:42, Rasmus wrote: > Rainer M Krug writes: > > > Oleh 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

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

2014-09-02 Thread Rasmus
Rainer M Krug writes: > Oleh 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 file

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

2014-09-02 Thread Thorsten Jolitz
Alan Schmitt writes: > On 2014-09-01 23:24, Thorsten Jolitz 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? >

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

2014-09-02 Thread Rainer M Krug
Oleh 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 simplifies t

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

2014-09-02 Thread Alan Schmitt
On 2014-09-01 23:24, Thorsten Jolitz 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 install navi as a

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

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

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 writes: > on your src-blocks before conversion, as an alternative, like this > > , > | (org-dp-toggle-headers &optional 'header) > ` > > to avoid losing the src-block header-args duri

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

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` beha

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

2014-08-31 Thread Thorsten Jolitz
Alan Schmitt writes: > On 2014-08-31 11:20, Thorsten Jolitz 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

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

2014-08-31 Thread Alan Schmitt
On 2014-08-31 11:20, Thorsten Jolitz 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 things convenient,

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 Rasmus
Hi Marcin, Marcin Borkowski 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 > p

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

2014-08-31 Thread Thorsten Jolitz
Thorsten Jolitz writes: > Marcin Borkowski 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: https://raw.githubusercontent.com/tj64/org-bandbook/master/bandbo

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

2014-08-31 Thread Thorsten Jolitz
Marcin Borkowski 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 > possibly thei

[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 c