emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Alan Schmitt
Subject: Re: [O] Moving my init.el to Org
Date: Mon, 01 Sep 2014 22:27:42 +0200
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.3 (darwin)

Hello Thorsten,

I gave this a try, and here are some observations.

On 2014-08-31 16:12, Thorsten Jolitz <address@hidden> 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 during conversion. 

I don't use headers in that file so I skipped that step.

> 2. Call 'outorg-convert-org-to-outshine' just once, its only for the
> initial conversion. Then you have an outshine file that you convert to
> org occasionally with the usual 'outorg-edit-as-org'.

As it's not interactive, I had to evaluate it. The only thing I then saw
is the reply "nil". I searched for a created buffer and I found it, but
the results are surprising. With this small input file:

* test
** test2
#+begin_src emacs-lisp
(+ 2 2)
#+end_src

I got this output

;; * test

;; #+header: 
;; #+header: ** test2
;; #+begin_src emacs-lisp
;; (+ 2 2)
;; #+end_src

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]