emacs-orgmode
[Top][All Lists]
Advanced

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

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


From: Stefan Huchler
Subject: Re: [O] Multi-step ledger org-capture template
Date: Thu, 23 Aug 2018 00:48:22 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

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-buffer)
     (yank)
     (org-table-convert-region (buffer-end -1) (buffer-end 1) 2)
     (buffer-string)))

next step would be to extract the data from the columns replace the name
strings and format it in the ledger style.




reply via email to

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