Re: [O] Multi-step ledger org-capture template

2018-08-22 Thread Stefan Huchler
Just in case somebody tries to come up with a solution, I made some progress, so I can import the ascii table as org-table: %(progn (with-current-buffer (org-capture-get :original-buffer) (call-interactively 'copy-region-as-kill)) (with-temp-buffer "*import-temp*" (erase-buffe

[O] org-set-link-parameters get html attributes

2018-08-22 Thread Tarjei Bærland
Hello! I have created a custom link format in org mode, [[fig:path][desc]], defined as (org-link-set-parameters "fig" :follow (lambda (path) (org-open-file-with-emacs (format "../figurer/%s" path))) :export (lambda (path desc backend) (cond ((eq backend 'html) (format (concat "") p

Re: [O] coderef link should support external file path link.

2018-08-22 Thread Nicolas Goaziou
Hello, stardiviner writes: > When I use ~org-store-link~ in an opened src block to create a coderef > link, then I ~org-insert-link-global~ in another Org file, but it only > has "~(use formdata to send url with params)~" in link source (without > file path). It should contains the source file p

Re: [O] How to font-lock diffs?

2018-08-22 Thread John Kitchin
This does Just Work™ for me if I remove the two spaces at the front of each line. I never use the indentation, so I am not sure what the interplay there is. John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon Univer

Re: [O] How to font-lock diffs?

2018-08-22 Thread Nick Dokos
Marcin Borkowski writes: > Hi all, > > I hoped this: > > #+begin_src diff > @@ -1,5 +1,5 @@ > -lorem > +Lorem >ipsum >dolor >sit > -amet > +amet. > #+end_src > > would Just Work™, i.e., the diff would be font-locked like in > diff-mode. Well, it is not. How do I convince O

[O] How to font-lock diffs?

2018-08-22 Thread Marcin Borkowski
Hi all, I hoped this: #+begin_src diff @@ -1,5 +1,5 @@ -lorem +Lorem ipsum dolor sit -amet +amet. #+end_src would Just Work™, i.e., the diff would be font-locked like in diff-mode. Well, it is not. How do I convince Org-mode to color my diffs? Best, -- Marcin Borkowski ht