From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerhard Subject: orgtbl-to-generic with lfmt (wrong usage or bug) Date: Thu, 21 Mar 2013 16:48:46 +0100 Message-ID: <514B2BDE.6030307@googlemail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:36039) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIhjO-0005cf-R7 for emacs-orgmode@gnu.org; Thu, 21 Mar 2013 11:48:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UIhjL-0007k9-QL for emacs-orgmode@gnu.org; Thu, 21 Mar 2013 11:48:42 -0400 Received: from mail-ea0-x22f.google.com ([2a00:1450:4013:c01::22f]:59416) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIhjL-0007jw-KD for emacs-orgmode@gnu.org; Thu, 21 Mar 2013 11:48:39 -0400 Received: by mail-ea0-f175.google.com with SMTP id o10so944459eaj.34 for ; Thu, 21 Mar 2013 08:48:38 -0700 (PDT) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, I was happy to find out about the possibility to convert a table into something else, but I struggle with obtaining a particular result. I have addresses in a table and want them to be formatted for printing. This is where I am so far. #+ORGTBL: SEND sofar orgtbl-to-generic :lfmt "%s" | Vorname | Nachname | Straße | PLZ | Ort | |---------+------------+-----------------+-------+-------------| | Karl | Mustermann | Musterstraße 10 | 12345 | Musterstadt | | Sofie | Musterfrau | Ortsstraße 2 | 54321 | Meinestadt | #+BEGIN RECEIVE ORGTBL sofar (Vorname Nachname Straße PLZ Ort) (Karl Mustermann Musterstraße 10 12345 Musterstadt) (Sofie Musterfrau Ortsstraße 2 54321 Meinestadt) #+END RECEIVE ORGTBL sofar But I would like to have #+BEGIN RECEIVE ORGTBL wished Vorname Nachname Straße PLZ Ort Karl Mustermann Musterstraße 10 12345 Musterstadt Sofie Musterfrau Ortsstraße 2 54321 Meinestadt #+END RECEIVE ORGTBL wished Here (http://www.canonical.org/~kragen/tmp/org-mode-notes) kragen says, that it works in orgtbl-mode but not in org-mode. I would be happy, if you could tell me a way to get what I want. But I think also, that the help text on :lfmt in "orgtbl-to-generic" doesn't say what happens in my case, so there might be a bug. :lfmt Format for entire line, with enough %s to capture all fields. If this is present, :lstart, :lend, and :sep are ignored. Regards Gerhard