From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id eGivEFucTmCPZQAA0tVLHw (envelope-from ) for ; Sun, 14 Mar 2021 23:29:31 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id wPtuDFucTmDhUQAAB5/wlQ (envelope-from ) for ; Sun, 14 Mar 2021 23:29:31 +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 733CE192C5 for ; Mon, 15 Mar 2021 00:29:30 +0100 (CET) Received: from localhost ([::1]:40354 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLaAq-00075g-Hn for larch@yhetil.org; Sun, 14 Mar 2021 19:29:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43980) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLaAR-00075I-1Z for emacs-orgmode@gnu.org; Sun, 14 Mar 2021 19:29:03 -0400 Received: from mail-dm6nam11olkn2066.outbound.protection.outlook.com ([40.92.19.66]:29889 helo=NAM11-DM6-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLaAO-0003Gw-PB for emacs-orgmode@gnu.org; Sun, 14 Mar 2021 19:29:02 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hnbzYrdRyoMIN2TREhpur2VeG88+stL6W2oBSl99kl1ArWXVfhuVK4BxFabQqy1uBN2EuEMXelpH444FCcKs02DRLq7Hzwmue7OVeCNfJo25G+rLg7zLz3e7ilN16Mn36i21xGQLvLttI/kXj0FjYEl7i6hzci7bE7UJd6d/+bBaTUkKgg2uxO8bjBd+ITS41I5/7qDbmQ3aAM6GtoOT31UzKUODCYHx1QT116yXaulX22SKH4GTtV5IrPkbHanzgJV8+V+2th1ngoLS1i2GzOKrICNaQfgE4kBrbCgwdKdks8hOVIy3FmzOB7ZMtHhinsaeueQF1ZBiFAfoL6e5nA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ByNqKy5K+y7CQDgaTwptyCa+KgO2/M9cR+HeLGoQcSU=; b=QO8EzhtM280U3c/FNJu3TvgTCKk9Syg0nZahlARctypu3ytoGkzV1dGcz9b59OmBoUsLiG90boIyJAh1eecTROaqJyy93Hnq1T5gYbMFOUSh5txkCIJXP+Q5t2OOt82j52pTGeKlJ00vO49LV/jb8pJpH0duQSgBt4Mobr1w9kU0zYtb5Qm28SHWSC2ioSsseKIDJTT/7pmQd08YrIpndXAmUBjyesGxs0YTvgQ9UQ/KTjFBRwoSGgQQp0CNs5VJptrhwZStVurL1SwYybATitAYfj+8HYZfTI0Y0A7KT1JWugik3gLpTx6FhoBtCoj26x4f5mmWl0seanxzSRTbpg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ByNqKy5K+y7CQDgaTwptyCa+KgO2/M9cR+HeLGoQcSU=; b=EftofuEOH1UhbU8dC39KML5fYzq+qOhlAufvscgYfttL8DiusvFio0bg+5Y5qo5hfRp+mDG+TnmxgaF3SCVPf0vD5forSo20CXBZAf/qW3wdxFWGvpeyysSHHbt7Qj8e3yYVx0RGjjMV1bB0Ucz8SYAgC3Ce0HfDSg/Yd17HPWqRY2o6GTcvXPmlbmaO7t+SYe+OHLSJobhU1T3ENaYWLTmCb8lhmbfsrfg6gy3pyhjCoYvDz/w6bJXlhfDi+B9MvQuXVqeAQ3P+Qac0WMz88S4WoF6QbxZzCRC/b74ov5t9H2WYgXF8QPeJVlng7ItkZCWH4TycjfwC+OyLx++9Tw== Received: from CO1NAM11FT022.eop-nam11.prod.protection.outlook.com (2a01:111:e400:3861::49) by CO1NAM11HT162.eop-nam11.prod.protection.outlook.com (2a01:111:e400:3861::263) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3933.31; Sun, 14 Mar 2021 23:28:59 +0000 Received: from SJ0PR03MB5455.namprd03.prod.outlook.com (2a01:111:e400:3861::52) by CO1NAM11FT022.mail.protection.outlook.com (2a01:111:e400:3861::455) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3933.31 via Frontend Transport; Sun, 14 Mar 2021 23:28:59 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:8E948ECF411F5821852C4ADDC2E640FA9A2227918DFF213F9B1B9D2BB004EB9D; UpperCasedChecksum:C0DD3262E8C89F180E1AB0AEA469329523D10B8FAE16D15867DFD7E01B86A192; SizeAsReceived:7483; Count:45 Received: from SJ0PR03MB5455.namprd03.prod.outlook.com ([fe80::952c:21a3:a963:8107]) by SJ0PR03MB5455.namprd03.prod.outlook.com ([fe80::952c:21a3:a963:8107%6]) with mapi id 15.20.3933.032; Sun, 14 Mar 2021 23:28:59 +0000 From: David Masterson To: emacs-orgmode@gnu.org Subject: Re: org-capture-template: table lines including newline of sorts References: <875z1vseh4.fsf@mat.ucm.es> Date: Sun, 14 Mar 2021 16:28:58 -0700 In-Reply-To: <875z1vseh4.fsf@mat.ucm.es> (Uwe Brauer's message of "Sat, 13 Mar 2021 08:24:39 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Content-Type: text/plain X-TMN: [OhiKZVIEgPlk5gDMu5HnAuREhmeb9k8iOUH5LsvKAb9ZaxtAHfH6+6B2ZB8oxvz5] X-ClientProxiedBy: BYAPR05CA0057.namprd05.prod.outlook.com (2603:10b6:a03:74::34) To SJ0PR03MB5455.namprd03.prod.outlook.com (2603:10b6:a03:27b::11) X-Microsoft-Original-Message-ID: <87ft0xz551.fsf@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from penguin (2600:8802:501:2200:216:3eff:fee7:3d5d) by BYAPR05CA0057.namprd05.prod.outlook.com (2603:10b6:a03:74::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3955.11 via Frontend Transport; Sun, 14 Mar 2021 23:28:58 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 45 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: a1af69d0-7e63-4606-acc3-08d8e740f17a X-MS-TrafficTypeDiagnostic: CO1NAM11HT162: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 9iUTwyane7JpW+Lj3dD6rOqsgBrMI17+o8a2fklCs2/9ZVus0dJMbxnZC0PA1S61Mo1/Hxok6E6WiSeTfw/fPLuuKD0jlxzHuA/IlTgx27gAnFBmjuUUE6P6Qtv4Xgmb3WBeo7YuJVpC7dzG9y4rTBTQP5kCz5jvhUvCZ3Ai1xqu+K+vTrTFD7gTSmu2G6uuBe25GkMuSI9dBpQsEjAhXoj4pS9uKR3Im1U7CM7OgFGmYdxOH65vGEHnbtxvP57C85VnQUzQubokdf69tobjKL31jKp5Y7+FbVFv9yF3NsvSnDj0k9/HWUKq3XU2E2rvcwUQBEG+PV4wapGeuZYkQ//EoIMfDXJAwWsVq1z1/wIrxCSfts5o2HMD8LADSR5a8TqVIc/SQdQQ0kZu9JsMyw== X-MS-Exchange-AntiSpam-MessageData: yGbH3eTmInHpsrfKW54yp3suPmOuWrf925GITBYtdoD4aP3J7bmlcx8nwCUU2bwcOoljwc+s3HKQiuxRNSNfNvJwQyewbyR4hPMUmUAoVGxRWsc3KK12zu2o58UYEg9R7OSIT2WMXr1n5DZIdXh00Z4ZZBPMVatmxvNM7N0ecUqH01YbAbgi/pQ8KPSSNdaXYsEmWdKx8w9TjQvqd9o/ug== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a1af69d0-7e63-4606-acc3-08d8e740f17a X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Mar 2021 23:28:59.0048 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT022.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1NAM11HT162 Received-SPF: pass client-ip=40.92.19.66; envelope-from=dsmasterson92630@outlook.com; helo=NAM11-DM6-obe.outbound.protection.outlook.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham 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=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1615764570; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ByNqKy5K+y7CQDgaTwptyCa+KgO2/M9cR+HeLGoQcSU=; b=qorbSCKyP5ZWH5NQb9I7PhyCqPa9/FLZxFoJYrYADUO+fm7tevFSBHyt90YPBcqXkt5O6X FfprKu2O2P87wom1FJpbDFwLeWO0J/JueBCx0k9F3Z3Q1w9UuAUG7VQ48NADkClOr781DR zbi8nbCrAUU3czLih9FggMdr/72FBGuiGAIuNjU6nSJghjmQwJ82bhD1amhgCvwL4bs0oE ed8zslzEDs9ypxNYtoLVMV0Nx14+ppGHYwOE7eLHD5Q7qNg+BBs4EcVEfSsMbGNZAkX5KR wTdLrA12OvTdZhzYpaLtzrd8blpdOrk1+pt1N+bHYe5MhiLug8bnxkTwDurjZA== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1615764570; a=rsa-sha256; cv=pass; b=QjO55j0UkdiEr4XUZF2SWf/FXA7FeSIevz769Cj1N10488m7v3b926S1Bee2Anr/H5SsRI B4KEpSUaf2/vQFGyS/GoLJ3irzGQrvvvlbFHhP0xqE52YTbcKg9YWWcIwEbgsyySQp3rXy pjjb2tGqefScQCvFjY6HwdAjXd6qA9P4ttEbQTvzxLahUK4Upqt1HNBb/Q97/H30iDyguo oBpJjA684WU3DNLwHDzVABkdQrSU4gwChpagdGlHtZ6rBrvhvKfxYUUrFseHWlBl2wXRTh bXCnmgTaBzoNzb/kX7ulmvEMRF378Z8oIvkhSxWCDOhdoZPbQGwHXgb9ODkaJA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=EftofuEO; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=outlook.com; 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: -4.10 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=EftofuEO; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=outlook.com; 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: 733CE192C5 X-Spam-Score: -4.10 X-Migadu-Scanner: scn0.migadu.com X-TUID: GT5mb6nW6/0A Uwe Brauer writes: > 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? Break up the line however you wish into quoted substrings and concat them together..? -- David Masterson