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 sDxMCBaZR2CfMgAA0tVLHw (envelope-from ) for ; Tue, 09 Mar 2021 15:49:42 +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 qOP8AxaZR2A1UwAAbx9fmQ (envelope-from ) for ; Tue, 09 Mar 2021 15:49:42 +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 587B914263 for ; Tue, 9 Mar 2021 16:49:41 +0100 (CET) Received: from localhost ([::1]:41216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJec8-0007hl-EB for larch@yhetil.org; Tue, 09 Mar 2021 10:49:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56430) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJeAg-00085Q-Au for emacs-orgmode@gnu.org; Tue, 09 Mar 2021 10:21:18 -0500 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]:39088) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lJeAe-0004WM-PG for emacs-orgmode@gnu.org; Tue, 09 Mar 2021 10:21:18 -0500 Received: by mail-wr1-x42b.google.com with SMTP id b18so16376519wrn.6 for ; Tue, 09 Mar 2021 07:21:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version; bh=dqUdyyWX7dahjnGvNzWdByQCOh5YBf0L54CcfGnwTuY=; b=IDDDOxOeoww6rLUAN1ZkHZTjUEe7NJcgbrlcgyF+/I/PQoHk6iBvv5cAHXI10KtN4/ xNwvkggcHal7Ui9Cj/81No8GGypLW2w+0HAjGySBa2/FcQEDfIWes2tXymYO7HG9YLZl AGiM81QZhqr13MwRJKUroybGxKebmiGH9IFCvSYwocbNMXPWsRvSEcoNBN2dOKqlI63b 7qTBUVO72Pqo1r8arUT5coEUXEf2Xdo3DN4Z1tvMFpYjnRqLb0MPi9lfeCIgAkqJQRDu M6paH0xEPjK6VoUllzsBU1CV7L3HsthMZlT5N5mU5OsBKS78166WawRF77MN4XR7vDoY apDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:references:gmane-reply-to-list :date:in-reply-to:message-id:mime-version; bh=dqUdyyWX7dahjnGvNzWdByQCOh5YBf0L54CcfGnwTuY=; b=CnnqsMW8pnPAWHvlf4yF2NvLMMMEBjRM1cCRe8YCBg4IE9zndEZdAYtLHck0cmAcGs spXvFCsGZ37jtH3D1itBhNt23exhzHoO4xLXWkSL75qv+j7S4YZQx/GegXljCrdSeZM1 IAGYhX8Iemr16YYrG26QLJ67qyRASpNgepw7KabdbfTaQaZ7KJLDyCJoDrEGLiqx/j+l cT5xQFlGWJDjkKViVCmIWjiCk6k8jJqhDMD1vghuAyMqAxZ1oWJUH1FiZeUkMv1EAAAk b5BLNeJ7uV7YVdn4gPHRPQfbOfIpLeeZcdEEUkF+A+c5F2O773jZLXnjP1f7SEsqtt4Y IanQ== X-Gm-Message-State: AOAM533w4YX0buxsxCFcXD8OHnDCcIkWla8cVW5ZVTkBLwrFQWee1qD2 s4OTAzDVoq0wKnCfeQSce/bOREjk5EzWlA== X-Google-Smtp-Source: ABdhPJwu7EFrvBk6mcheVS9oNOS9UN+Uboua9iq9DsQ/jhch0MCXTPGrpF6WsOov+hLJAZUPHh5zww== X-Received: by 2002:adf:f852:: with SMTP id d18mr29549437wrq.210.1615303273454; Tue, 09 Mar 2021 07:21:13 -0800 (PST) Received: from rltb (91-175-207-237.subs.proxad.net. [91.175.207.237]) by smtp.gmail.com with ESMTPSA id h20sm4482036wmm.19.2021.03.09.07.21.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Mar 2021 07:21:12 -0800 (PST) From: Robert Pluim To: emacs-orgmode@gnu.org Subject: Re: org-capture-templates: %date is too long References: <87wnunz30x.fsf@mat.ucm.es> <87ft1byvv9.fsf@gmail.com> <87czwfyp5u.fsf@mat.ucm.es> <87h7lqu9u4.fsf@gmail.com> <87ft1ay8f0.fsf@mat.ucm.es> Gmane-Reply-To-List: yes Date: Tue, 09 Mar 2021 16:21:11 +0100 In-Reply-To: <87ft1ay8f0.fsf@mat.ucm.es> (Uwe Brauer's message of "Thu, 04 Mar 2021 21:24:03 +0100") Message-ID: <874khktkt4.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=rpluim@gmail.com; helo=mail-wr1-x42b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1615304981; 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=dqUdyyWX7dahjnGvNzWdByQCOh5YBf0L54CcfGnwTuY=; b=b4gX8kkX4h126akitxo0CJnIkPmp+HGI0DZNZ0RhDSnDRx6uXlQ9d46XUD3JZ354WOc7PN SFQjmNEdPjVP5SoIHPqzoevP9cBHZChh9yTLP5pDWEQYzHcavz/FR4nzmORis2Y/IdktGK SdRIU8VY60dDNyqLubOuxrSGkXNRrmNco2IhzSiJ3WF3U7y3rsNCQkG7FHbGO8V2i/qI0m lpOAmjot3ivwSVaa0+AIL7cSqj/Kh5uuRYEDo9ip/qlLBne3UXtt8bQOZWi/mWCeP3b58j a/hKt1UJKReb/HUa1uoo8/jsuQ8kaZ1EH6PSyGsxoHaV1nl4qY1ZBwZ4Q6ovSg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615304981; a=rsa-sha256; cv=none; b=a1TfQYPpuFxgbLFgoJWoAL7e4zN/rCLX1pi5np8Br77NofJOJjnwB0iDDNUewJlZN6SYSE RPzrLeACSpbGgqcVkUDX1DxGDvv2n+eZb2AdnYfoqgGf8j7KKP6G2L9aa6L3LRE1zhVaje 0pEgfw0YJYQPbCLBvbU+FexEk10uCbc6ms051GLw6UZ2wceQqy4yCNP+E3BzR9sQkGjo7P +nMofqB4zEoqh4/8j4SabUdZ0mH+mUnQJ4Nhfgyf5DXv1HyiMlMc32LWneiEYyWVEqH317 58jIlaaubFba9b0nKxlzQ9CYHg2ZdTuMuXL/ovkcIBV9uWA5pqAVyQ4FoUeG/A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=IDDDOxOe; dmarc=pass (policy=none) header.from=gmail.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: -3.08 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=IDDDOxOe; dmarc=pass (policy=none) header.from=gmail.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: 587B914263 X-Spam-Score: -3.08 X-Migadu-Scanner: scn0.migadu.com X-TUID: oj/eeJcxCtFR >>>>> On Thu, 04 Mar 2021 21:24:03 +0100, Uwe Brauer said: Uwe> I am not acquainted with let-bound (only with let) 'let-bound' is a shorthand for saying 'binding a value using let' Uwe> So are you saying I should may use defadvice to modify org-capture? Well, you have control over how org-capture is invoked, so you could do: (defun my-org-capture () (let ((org-time-stamp-formats '("<%Y-%m-%d %a>" . "<%Y-%m-%d %a>"))) (org-capture))) although you could do it with advice if you wanted. Untested, of course :-) Robert --