From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id OPABF9xoTGA1fgAA0tVLHw (envelope-from ) for ; Sat, 13 Mar 2021 07:25:16 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 2IGxEtxoTGDHSwAAbx9fmQ (envelope-from ) for ; Sat, 13 Mar 2021 07:25:16 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BEF0629E0A for ; Sat, 13 Mar 2021 08:25:15 +0100 (CET) Received: from localhost ([::1]:48904 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKyeA-0004AS-Hd for larch@yhetil.org; Sat, 13 Mar 2021 02:25:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44948) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKydl-00046C-0M for emacs-orgmode@gnu.org; Sat, 13 Mar 2021 02:24:49 -0500 Received: from ciao.gmane.io ([116.202.254.214]:41304) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKydj-0006fH-Io for emacs-orgmode@gnu.org; Sat, 13 Mar 2021 02:24:48 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1lKydf-00027e-Os for emacs-orgmode@gnu.org; Sat, 13 Mar 2021 08:24:43 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-orgmode@gnu.org To: emacs-orgmode@gnu.org From: Uwe Brauer Subject: org-capture-template: table lines including newline of sorts Date: Sat, 13 Mar 2021 08:24:39 +0100 Message-ID: <875z1vseh4.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cancel-Lock: sha1:7xoNmUwcfeiyzUOZ5rttZl09Wvo= Mail-Copies-To: never Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1615620315; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=CCIYzd9skPgTZUO1U1qAGm8wAtzuru5ZTQyZeg/OvnU=; b=DNp2zc3EMP7HruH6UF7YyjzLJFZNI5awbTFqUt/PH8lHWo1vX1Tb5yTKdGHiMNPqOW3EIt nkvG+FEVja0ZErN3K+1QS8twUBAiLmgezmSB/pfMObX2bO/WXaVPQHHKg7iMPweBfJVpa/ i8VFBO1YmaC1RMms7WQiI7BmusdIdrJXpPlkbszVdkpCbubSxYw9gcnvd7crHr54kOdfIo IC7ZR4k6V/KzKVSleLuBS+Vm5dBlpRLyVSvguDyYc7ugRaz2vYo2Q61a4NIlRUtNg45qeg 8YzlgSje8kvjSlzlHcW8KyMOk2KFON3eNib/DKlOpsgpkHxkuBhTv7gpRxEo4g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615620315; a=rsa-sha256; cv=none; b=EeSbNgD6oEtD9GU3sSVoCrJwFFKyCGWdeQSB2Tg9+6rXdqTipilwTciZ4gZzG/hMavx955 A2feh0s4LUgCuhLqLlM1tevM87wPZtONkt9ioU7FxysPA75nnIxu2eWJkd666riuRJPZNr t4PLjRhu7d5+DEWRpHuz0eIPcub9ZFAf/og0oOZJlK9SyIVwLSwRV2/cnmaojDPxFrxdVe o6F3Rdzi3jq0VxFilgmZ6Rd7XoNQdkK5rGTe6EXTXv+r7kjF7mMXU0bwF86aetom8QQ+fe amGrKraTW3JZY++2MesFsFNM93OMoNkta/iAjNI1dpy0y/lgzdFWY1GT6m+5Zw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=mat.ucm.es (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -0.30 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=mat.ucm.es (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: BEF0629E0A X-Spam-Score: -0.30 X-Migadu-Scanner: scn0.migadu.com X-TUID: 56jTN/ZEp+uB Hi Currently I have the following setting for one org-capture-template: ("mu" "Stat+Num:Exercises English" table-line (file+headline "~/Somefile.org" "Exercise Group-E") "| %:fromname|%:fromaddress | %(my-extract-cc)|%^{Sheet|1|2|3|4|5|6}|%^{Exercise|1|} | %a|%:date | " :prepend t ) That line is too long, I'd like something like this ("mu" "Stat+Num:Exercises English" table-line (file+headline "~/Somefile.org" "Exercise Group-E") "| %:fromname|%:fromaddress\n %(my-extract-cc)|%^{Sheet|1|2|3|4|5|6}|%^{Exercise|1|} | %a|%:date | " :prepend t ) Or ("mu" "Stat+Num:Exercises English" table-line (file+headline "~/Somefile.org" "Exercise Group-E") "| %:fromname|%:fromaddress\n %(my-extract-cc)|%^{Sheet|1|2|3|4|5|6}|%^{Exercise|1|} | %a|%:date | " :prepend t "| | %(my-extract-cc) | | | | | | | | | | | | | " :prepend t ) But nothing worked, any ideas? Thanks and regards Uwe Brauer