From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id WG/gAkVgV2AISgAA0tVLHw (envelope-from ) for ; Sun, 21 Mar 2021 15:03:33 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id sPFkOkRgV2DCOgAA1q6Kng (envelope-from ) for ; Sun, 21 Mar 2021 15:03:32 +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 722301C20A for ; Sun, 21 Mar 2021 16:03:32 +0100 (CET) Received: from localhost ([::1]:57440 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lNzc3-00052V-L6 for larch@yhetil.org; Sun, 21 Mar 2021 11:03:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36008) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lNzZo-0003Zc-S9 for emacs-orgmode@gnu.org; Sun, 21 Mar 2021 11:01:13 -0400 Received: from ciao.gmane.io ([116.202.254.214]:45096) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lNzZn-0007qI-7E for emacs-orgmode@gnu.org; Sun, 21 Mar 2021 11:01:12 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1lNzZj-000A8g-Fz for emacs-orgmode@gnu.org; Sun, 21 Mar 2021 16:01:07 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Maxim Nikulin Subject: Re: org-capture-template: table lines including newline of sorts Date: Sun, 21 Mar 2021 22:01:02 +0700 Message-ID: References: <875z1vseh4.fsf@mat.ucm.es> <24e0c59ca81d0ed6c934d5c981d4cd52@isnotmyreal.name> <87zgz5h3hm.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 In-Reply-To: <87zgz5h3hm.fsf@mat.ucm.es> Content-Language: en-US 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: 28 X-Spam_score: 2.8 X-Spam_bar: ++ X-Spam_report: (2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FORGED_MUA_MOZILLA=2.309, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NICE_REPLY_A=-0.001, NML_ADSP_CUSTOM_MED=0.9, 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=1616339012; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=L5uiyR7AUf3y47Kku2bDi5NLV1jaa80/MMe8LEDf45k=; b=SIuN5wprTN53LEXZG2tMOu3mVCvOReBxZ3nXK756Xt+io+tonVUZQgr0vZluQUCO3I/I+2 aSIucrWLk8OnhjdwSIarSgYX3A5wImucQCu8zFMs4kO3weBZV0u1q8AEb6xnShQ7nhwdSN p8ZptuQsLSXGYjZZzARpoMTb4W6tJuSReNx5eM0NSznbVkXK+SBnsePUt512MXbFBAv4YS oX1hne0UYuHojPH7j3ubrGSMwQINmg+HN4j+j85NXb1F6/Rz/AgG3dANulsx93LUVZ0ITu skPL0UyN1c13+PC1q/wPyRMVXe54do2mfWHP8M1tfRgmfZDRjOBdi2p1Klpw1Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616339012; a=rsa-sha256; cv=none; b=DTP5CbfMA0S/0QEEoqra7b/MD29sRkN6TgSor2Fhx4SU+E9GQmk9/+NTELE5/VtB4r3DsR 1R/RWmFtvwPc7vOyXR34KzpdjgS9hXSkG+Zu+Ea1OehlwbDc663Ku/nFqm0ekGwZHsGi9p AZKKbaM9lJElFZ4RpfClEgEDZlRZU25C4ncb29vWBovhXJSR2nWtBQmWvvpv7jGt5V3OJE O5newwiQciacg9SMP0bf8xCxtWPpiibT4RmYs7njT7wC7zl0S4l83PtzDoYH00HUxb2V6l X6FcBkQ2hO06uan3I0cVZ7KxwgXhIs2ZwPpyFbXNKWxQhyhyPgXk8RdZjxEQhw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (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: -1.82 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (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: 722301C20A X-Spam-Score: -1.82 X-Migadu-Scanner: scn0.migadu.com X-TUID: wKLYaXK17zRh On 15/03/2021 03:41, Uwe Brauer wrote: > >> On 2021-03-13 02:24, Uwe Brauer wrote: > >> Do you need to add more pipes to keep the table structure on the line >> after the newline? > > > I don't think so. I am afraid, then you should significantly modify implementation for table-line capture type. Your examples are hardly could be considered as minimal that anyone could easily try. I admit that you need namely the template for exams that could be quickly filled from email, but still... ("w" "Table - works" table-line (file+headline "" "Table") "| %U | It |\n| | Works |" :prepend t) ("b" "Table - broken" table-line (file+headline "" "Table") "| %U | Broken\nmultiline |" :prepend t)