From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Huchler Subject: Re: Multi-step ledger org-capture template Date: Thu, 23 Aug 2018 00:48:22 +0200 Message-ID: <87sh36j9vt.fsf@mail.de> References: <876004kkor.fsf@mail.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37965) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fsbvZ-0004Hh-5F for emacs-orgmode@gnu.org; Wed, 22 Aug 2018 18:48:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fsbvV-0003HC-WD for emacs-orgmode@gnu.org; Wed, 22 Aug 2018 18:48:37 -0400 Received: from [195.159.176.226] (port=44778 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fsbvV-0003Go-OD for emacs-orgmode@gnu.org; Wed, 22 Aug 2018 18:48:33 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1fsbtK-0005nV-Lv for emacs-orgmode@gnu.org; Thu, 23 Aug 2018 00:46:18 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org 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.