From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 8LsKOnU8b2KLagEAbAwnHQ (envelope-from ) for ; Mon, 02 May 2022 04:05:42 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 6GglOXU8b2LE/gAAG6o9tA (envelope-from ) for ; Mon, 02 May 2022 04:05:41 +0200 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 74F533DB4A for ; Mon, 2 May 2022 04:05:41 +0200 (CEST) Received: from localhost ([::1]:33900 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nlLRU-0002j6-38 for larch@yhetil.org; Sun, 01 May 2022 22:05:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57406) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlLR2-0002ix-LG for emacs-orgmode@gnu.org; Sun, 01 May 2022 22:05:12 -0400 Received: from mail-pf1-x42c.google.com ([2607:f8b0:4864:20::42c]:34649) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nlLR0-00085a-W6 for emacs-orgmode@gnu.org; Sun, 01 May 2022 22:05:12 -0400 Received: by mail-pf1-x42c.google.com with SMTP id a11so11280927pff.1 for ; Sun, 01 May 2022 19:05:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=IXj1H/3OzRe8M9NlW9XTt28k2QssdutOtbpRec/kTH0=; b=lo6SefavZZXFqjT7NGcQXdlqWKaxhsrWSI9PyvRUC50HKaSZKM1C641Gnw3zRUQHaH cMVbXAMOgc8+iBDXKlsfwNcJLPgxW5d685SM11AcA2z3jeMdibS0HJ7kL3NrpB8UXmTB HfuBtIJOgdgwuqbtADXAor7b3IQohAGRFK1eb0W+Xb16Q6Xl0mihy/f+daRAhHHJPK89 h+EJLlXhFlXhd89IdiFo7O3vogOmWJ6MgnzA10rcS1oGpNuBMkSrmKs7I5Wx9nCaU/CE a4nFBvf67JiCurXpB+A6qFu/IMJGHuVYWVlNkx5dMNHeUMGGf7WP5rgH27kEYxEldYcQ FASg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=IXj1H/3OzRe8M9NlW9XTt28k2QssdutOtbpRec/kTH0=; b=sasqjn+qVVbT450RvNjYXQL31az619N8iXUdX6P6NJE7sLyZJroB6WB7a7a1YUDZFv 2Zy8c/mkL/9dZrWgf+ebVEStiSKuM3WgCVDDLpnNHqdQw3u+5hlZiateTnho8yEeBHqb lYw0Az0V2w79f525ECkTwtj72+nI58cyADrqGvTo/pXyww0OvELAlLv8M142libZsSYF 4ZsFGLjksmOZTnzRv+AJcQEu5skXIZFZkWLB/g0dfHWeiuj1iwLGFo0n8RNtUsMw6itn 2V7sOIJIz0V4SWClLnYOeIkYP6GhAEGz2qyhpyW39CwK0pUDsh6vtJPTw0loJ0joN5EE 3MEg== X-Gm-Message-State: AOAM530Am6mF5cY30NkeSlD/YoXf0tyZ6JCnJNR6YvayPNQimcdFxs0l tzlJQCKU7hsmp0SP2u/5DZA= X-Google-Smtp-Source: ABdhPJx1/NcpztCZUiRxB9D4Ep2r0qpG3Pb0gOWh9izWWPuWhER73WNiyPhYwQB36zauni3AxUXB1A== X-Received: by 2002:a62:ce82:0:b0:50d:512f:7b76 with SMTP id y124-20020a62ce82000000b0050d512f7b76mr9108441pfg.79.1651457109583; Sun, 01 May 2022 19:05:09 -0700 (PDT) Received: from localhost ([104.129.16.8]) by smtp.gmail.com with ESMTPSA id g11-20020a63110b000000b003c14af50614sm9873032pgl.44.2022.05.01.19.05.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 May 2022 19:05:08 -0700 (PDT) From: Ihor Radchenko To: Skip Collins Subject: Re: [PATCH] Re: [BUG] folding error during capture In-Reply-To: References: <87mtg0vldb.fsf@localhost> Date: Mon, 02 May 2022 10:05:57 +0800 Message-ID: <87ilqovgca.fsf@localhost> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2607:f8b0:4864:20::42c; envelope-from=yantar92@gmail.com; helo=mail-pf1-x42c.google.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-org list Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651457141; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=IXj1H/3OzRe8M9NlW9XTt28k2QssdutOtbpRec/kTH0=; b=aeTx07kIZkY/E4X0GCTjWl1GhBQiUSxTz4X/mvbBEXivIxkw2y5fTiC/eAZKLMZxU8UoAo 45SzjfDZCZOdrt2sn6Malv2AhDDlSwg0CDwSeR3vtYQwhj5nC1QNTGvcPZOQoZlLTJTr1z oPAnCoKeoIoGrHVwL3D7WT7bA5znoJQmPm36RRBXNhQWe7PKFPrjfmIIHVn3KGyx1gYbUw 8v8GgYMMXUpiL3DgEe6CqnMy+9OupEyuP5amOxxjJeHyP7OS7FvKt+IabboSF5R0qFwj2Y bBVTfhQHSQIVHZPubFrGZ3+WDWl3Am59A3oz0Hmbr6miVSrPlMmCNRIdLnMxdg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651457141; a=rsa-sha256; cv=none; b=tjz2kOQW2QGB5z331fWjCMBCP0KNQDoSLc3c3rDp/Y4Qt+i1KA6AgwmHQXVW9vYa5KAcn4 VEblR6BzvlRjTkB2T79Wi+oKpNamlpfvrxLrDcCcQRi6vytQ34rdFIrvvMpwdbZazQi0dz gKxDF+9iOvHAHMgqO6KR8jeUbkdMdi6P4MBF9WSBzhGfMXzvpIu4+MzEjmMpFGOLsisxfX 8rOdnPDU7O54Las2sMrjewL68dBOthhV+j+6AsyOpR8LbQnsvUWuNEEXbJWV4FTm3rubC6 JMaiwRED70Yko2h6CkDDHF6H+1lgnhCVuvu6FY7ZU3DQ59849HmgwCM1KyvqPg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=lo6Sefav; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.49 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=lo6Sefav; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 74F533DB4A X-Spam-Score: -3.49 X-Migadu-Scanner: scn1.migadu.com X-TUID: f1UmbLDnq0K6 --=-=-= Content-Type: text/plain Skip Collins writes: >> > ("n" "Note" entry >> > (file "~/Documents/org/beorg/capture.org") >> > "* %^{note} :note: %(org-set-property \"Created\" >> > (org-time-stamp-inactive '(16)))" :immediate-finish t) >> ... >> This is quite a hacky capture template... > > I'll take that as a compliment. It was not. Your template expansion only works by accident because of internal details of implementation of org-capture-fill-template. In particular, org-time-stamp-inactive not only returns a timestamp, but also _inserts_ it at point (see the screenshot of interim buffer state while expanding your template). The fact that this inserted timestamp gets deleted is simply because (1) org-capture-fill template does not expect the buffer to be changed by other functions; (2) org-capture-fill internally marks %(sexp) with sticky text property and deletes everything marked with that property at the end of expansion; (3) org-time-stamp-inactive respects text property stickiness. --=-=-= Content-Type: image/png Content-Disposition: inline; filename=2022-05-02_09-56.png Content-Transfer-Encoding: base64 iVBORw0KGgoAAAANSUhEUgAAA1oAAABECAIAAAAX9NO/AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAX x0lEQVR4nO3deXwTdfoH8E/Slp60UCjtctlyQ9WysKICUpCryKnIoYioFQRZXFQqur9CARfxp4IK LiogcqyKIIdQVg5dKKf+BBFWRS4VENpCwbbpkbZJn98fGUmTzkyaUBown/erf6TffPPMM9/5Tvp0 Mpkx7NixA0RERETkq4zeToCIiIiIvInlIBEREZFPYzlIRERE5NNYDhIRERH5NJaDRERERD6N5SAR ERGRT2M5SEREROTTWA4SERER+TSWg0REREQ+jeUgERERkU9jOUhERETk01gOEhEREfk0loNERERE Po3lIBEREZFPYzlIRERE5NNYDhIRERH5NJaDRERERD6N5SARERGRT2M5SEREROTTWA4SERER+TSW g0REREQ+jeUgERERkU9jOUhERETk01gOEhEREfk0loNEREREPo3lIBEREZFP809PT/d2DkRERETk NQYR8XYOREREROQ1/t5OgIiIiMgnGAwG1XavH5tjOUhERERUQypXflo1Yk1SvkoycybWrXPde9ky JCWhVy+cPg0ABQXo1Ak5OcqzJSVo2hR9+qi8cNs2NG2Khg3xwAOe5/r663jrrap2jo9HTAxuvRUn Tni+RM+4ladb9Mff1tKqFa7z00Gv3fjUjGrJ/+uvYTDg+HGsXAk/P1x5czCZ8NhjiIxERASGDcPl y1e7oMo8zj81FY88ojzWyl+fV+anzvpOmYJevWo0GXh1/l/T9fXiON9xByZNUmnXmm8LFqBOHefG uXPRsCEiIzF0KPLz7e1paejfXyW4u+0nPi5d2SpvzZ2mNXeaSvOUHcZ8SXY+WbTqz/kf/yV/39Ri S7HSXpIrO58s+vCW/FUd8g+8ZJZy6PfXateiFT/jr0UfxOev6qD8HFtZ6lkct/K5/IN1eVzet6+b bb/ueaboX63z9JfrLq08iy/IzglFqzrkf9wx/9t5ZpdxtMZHqz3rS4ttiy9vlnf5B2v1rlS1M371 FZ57DtnZ+OEHjB2LPN2tMHMm1q7FiBFYvBgApk7Fs8+ifn3l2bVrcf/9uHwZp045v/DFF/H88zh/ Hh995Hmuhw+70fn775GVhY4dsXCh50v0jFt5ukV//AGkpKBbNwwY4HbkmjxKfS3G51rnXzF+teRv +2tUty7q1EFEBK78Z/jEEzh0CPv34+RJWK2a/z5dzfpe0/z1eWV+6qzvU09hwQLPI3vm2r0/uHRN 19eL41y3LurWVWmvPN+ys/HSS5g1y7nn6tV4913s3YvMTPj54e237U9Nm4bMTOUttyJ32wFEdfAf tr/2sP21a0UoO8z+/yk2BmDY/tpDttfOPWn978ISW/tX04sNBgz/qvbgLbXPZVh+/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RGolkzdO6Me+/FpEmuI3Tv 7nBpwNOn9eJrsV13cNs2zJrlcN1B1fgJCfj4Y8yZg8hING6MQ4fw73+j4g1jtMahutqJiIiIrje8 SR0RERGRT+NN6oiIiIh8GstBIiIiIp/GcpCIiIjIp7EcJCIiIvJpLAeJiIiIfBrLQSIiIiKfxnKQ iIiIyKexHCQiIiLyaSwHiYiIiHway0EiIiIin8ZykIiIiMinsRwkIiIi8mn/D3D2QLcT3n5TAAAA AElFTkSuQmCC --=-=-= Content-Type: text/plain > The general ability to set properties during capture seems very > reasonable. It might be best to have a specific interface as an > alternative to my hack. The use of %(EXP) in capture templates is > intended to insert a string returned by the elisp EXP. I bent the > rules slightly to set the Created property. There already exists a way > to set property values in capture templates via %^{PROP|default}p, but > that results in a user prompt. Perhaps a new template construct like > %^{PROP|value}v could be introduced in order to set a property value > without a prompt. Then I could use %^{Created|%u}v in the template. What about the template below? ("n" "Note" entry (file "~/Documents/org/beorg/capture.org") "* %^{note} :note: :PROPERTIES: :CREATED: %u :END: " :immediate-finish t) Best, Ihor --=-=-=--