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 kJR9F704Yl8sHwAA0tVLHw (envelope-from ) for ; Wed, 16 Sep 2020 16:09: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 OIdpE704Yl8zVAAA1q6Kng (envelope-from ) for ; Wed, 16 Sep 2020 16:09:33 +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 873C49401D0 for ; Wed, 16 Sep 2020 16:09:32 +0000 (UTC) Received: from localhost ([::1]:40164 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kIZzt-0005nZ-KL for larch@yhetil.org; Wed, 16 Sep 2020 12:09:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45844) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIZt9-0008PR-Ly for emacs-orgmode@gnu.org; Wed, 16 Sep 2020 12:02:32 -0400 Received: from mail-vi1eur05on2093.outbound.protection.outlook.com ([40.107.21.93]:59297 helo=EUR05-VI1-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 1kIZt7-0004mq-Nf for emacs-orgmode@gnu.org; Wed, 16 Sep 2020 12:02:31 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FvxKsAJBawNu6GhEh+eDSJAu3x0+L/pEnL5VSyCwqy4ZfbmVhqKq6xOjAhC1Rw/O+gVBzsYgoSE9SI86jMrWDh8XUy3pidKiGtMuAveHxR3jnUg/5s9A8zVbcTWpA+zM/iNU9azf/DCHryFyxOlTpvDjkBEL0gVI+zJWl+FyzxZNgBJDQZLPIn+EaJRNIjPlIdtY3WEyxdWBlEoq0FEfCX6PQILnwanzsS3ISllBmW31O6FVq9dodhNlFwaYeSlPOiYRK2spgWbTPGjb7s2YfGl9PuzxjPAVP5m8j5wva4wc6esCTJcRGE0Z+YP48LJk/39z7EuTc1XCKln68lTv3A== 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=wmRw/kLEvTNr8jbSTY/hrbJgi61SgUMB5r9jujEUbTU=; b=jm5P/ZGaQlSR+bUYNvJHNl7kglRcNSAsAix5gwtnIEw6gGYHptY+G5Lm4l/cOWAz4lKde7FdFs3MjG6k/8oiERp+DTS0S7omonXMe49JTY+0pRGTzQ5RbbwEORCd/m8nenWVjApvdOe0xY4zMXId5Jucq0BVeb5ajtyx3RZgc+rcf19X53CJyLJDN7xvceMHDKeiN95Vi0+MOEvZrwOUGeIKx729v+iuQnPxpTen/+1YFpRPzWvasj+2UcOh5epVOiAnVbNNuZAr0M0mv0FyWutJSUHyYLJi1pS6ggCURwafbzJ5GKYXbO2fgdVtFn6ke6ggOIYJTElOE0HQ6XDCWQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ucl.ac.uk; dmarc=pass action=none header.from=ucl.ac.uk; dkim=pass header.d=ucl.ac.uk; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=liveuclac.onmicrosoft.com; s=selector2-liveuclac-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wmRw/kLEvTNr8jbSTY/hrbJgi61SgUMB5r9jujEUbTU=; b=NUUHHfkqK0uUjfqqrCx5nfJwOOIhQYv7tWpmqkQ9i61l7WHBYWd8pITkIQWW0/3LJ3t0LfiLhwvzI123jQ+LG9832HehnRuuwVmEZVBVvEaA1EcHu0y2q5Qh2tzQ2bvEwxKlzv+eslPVPsGNvt5DZIKI4ym3KcgstgQFQPHtNGM= Received: from VI1PR0102MB3327.eurprd01.prod.exchangelabs.com (2603:10a6:803:10::26) by VI1PR01MB6655.eurprd01.prod.exchangelabs.com (2603:10a6:800:184::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3283.20; Wed, 16 Sep 2020 16:02:25 +0000 Received: from VI1PR0102MB3327.eurprd01.prod.exchangelabs.com ([fe80::d590:85f0:8fe2:84c3]) by VI1PR0102MB3327.eurprd01.prod.exchangelabs.com ([fe80::d590:85f0:8fe2:84c3%5]) with mapi id 15.20.3370.019; Wed, 16 Sep 2020 16:02:25 +0000 From: Eric S Fraga To: emacs-orgmode@gnu.org Subject: Re: using header data in document Organization: On the Interweb somewhere References: <87sgbi4usf.fsf@ebih.ebihd> <87o8m64rru.fsf@ebih.ebihd> <87zh5pssfb.fsf@ucl.ac.uk> <87363hsqbs.fsf@ebih.ebihd> <87tuvxrazg.fsf@disroot.org> <87y2l9ra03.fsf@ebih.ebihd> X-Url: http://www.ucl.ac.uk/~ucecesf/ Mail-Followup-To: emacs-orgmode@gnu.org Date: Wed, 16 Sep 2020 17:02:24 +0100 In-Reply-To: <87y2l9ra03.fsf@ebih.ebihd> (Emanuel Berg via's message of "Wed, 16 Sep 2020 17:56:12 +0200") Message-ID: <87h7rxr9pr.fsf@ucl.ac.uk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Content-Type: text/plain X-ClientProxiedBy: LO2P265CA0353.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:d::29) To VI1PR0102MB3327.eurprd01.prod.exchangelabs.com (2603:10a6:803:10::26) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from t3610 (46.69.235.193) by LO2P265CA0353.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:d::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.14 via Frontend Transport; Wed, 16 Sep 2020 16:02:25 +0000 X-Url: http://www.ucl.ac.uk/~ucecesf/ X-Originating-IP: [46.69.235.193] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 76a37e51-fe4b-4872-8882-08d85a59e77e X-MS-TrafficTypeDiagnostic: VI1PR01MB6655: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7691; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: SZmOjTAIhPuvVX9qw2cW4DcxgW+kLC83Pys5smkq1JCxalJwHDrW6UakvUFLcjIg5fG1YDFOAsohqwjBKNZtYQtxjD7OBmHyVY+SWiXOP+PvQsXVXc/+6kKsv6WBlOIya2w9ozR8Aa0LkLoNuAsh0J2DHM4oFuCc/7lSejNNoVdtZALx0V/WrRl8hrXh4dmAuxXwi/dP8LBM4w5qhGrsO+weDDAHAubcgaygofXmlobEPkQrdnbS0T3S6yF0NvZ36D1Z60OGwkE2X9CXNHtFhNkyLSIJXiy1fsFWAoAMQQaASiHWqUQRSK5IFadTW17/6OyGyuWxPku5ii130XEx2Q== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR0102MB3327.eurprd01.prod.exchangelabs.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(136003)(346002)(366004)(39860400002)(376002)(6916009)(66946007)(4744005)(66556008)(5660300002)(66476007)(6496006)(786003)(8676002)(6486002)(2616005)(83380400001)(2906002)(956004)(16526019)(316002)(26005)(186003)(8936002)(52116002)(36916002)(36756003)(478600001)(86362001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData: EC+Vg/64iZRil3vc1fTqNazH7WlECLZULhogGCI5Ba3pz0A/D2FeG4TSiVwVq3JV8r8L+nq55BGzLzPD6XhYn5pSLHlIza7krkHdKytql7uWkjyA2FfdSsZndavhKFtAtDhejOSNTSEUueLAdA1fQvYjlt7CODALRa+ZI5lReOJO/svA7SxN22hwW/q73+lqXpuZuy/1Kgbqt38jw2UGtc+vIjKj3JMfd3MM1E7+Ex65RScGXoJSy3Uk6E9gBVikxjz9UuZy7CJ3CcF7QOozggGBubB+MiBsh7qGcTyPyNfCUNt3ruARoiMNFUhF6AJ2kYkDBUP/viGxU5D4l/1D2jnTd+zrb6W4u+7+0C3/VKa60hqyIYgXo11GC/qHsob891qMREorh/nSSBhWgaPHiA2ouBs5d+wFiDY1MK7vZt+TZLEsw/4Dh/Xdhv+IX/1HXQ3v8FTAu1HtXLgTLglc13YPghExUOfAlqFaDL45ByLOqEzFFXdvjfvFtdMjB9dCbKKVWkJH+rC2PU8PaOWxq90Vj705pHTpKvkqnjMakLq06EBKEVyZrrIpnua6D/6UXbSUOd4RuOwFLuWPeDcVQDgTb2QvkQ1qcJ5/xcvlO+C4pHHo7ed530B0q2cXstvH8tGhNQNqNpxpRpA0TXFFGA== X-OriginatorOrg: ucl.ac.uk X-MS-Exchange-CrossTenant-Network-Message-Id: 76a37e51-fe4b-4872-8882-08d85a59e77e X-MS-Exchange-CrossTenant-AuthSource: VI1PR0102MB3327.eurprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Sep 2020 16:02:25.7942 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 1faf88fe-a998-4c5b-93c9-210a11d9a5c2 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: IiE3QWTe1ZvDjbJ+DVSj/gQ3YqOWWz2Yv/sWr3/6wT8MSLO75MRX5HLdTkcEasNlHVrsKGYoV7gFZibYj/GU7w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR01MB6655 Received-SPF: none client-ip=40.107.21.93; envelope-from=e.fraga@ucl.ac.uk; helo=EUR05-VI1-obe.outbound.protection.outlook.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/16 12:02:26 X-ACL-Warn: Detected OS = Windows NT kernel [generic] [fuzzy] X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FORGED_SPF_HELO=1, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_NONE=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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=liveuclac.onmicrosoft.com header.s=selector2-liveuclac-onmicrosoft-com header.b=NUUHHfkq; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=ucl.ac.uk (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-Spam-Score: -2.11 X-TUID: dCQPLMLYsH5B On Wednesday, 16 Sep 2020 at 17:56, Emanuel Berg via "General discussions about Org-mode." wrote: > Eric S Fraga wrote: >> The documentation that you have in your post says >> that this works only if the actual date given in >> the #+DATE directive is a single timestamp. So, >> what did you specify there? > > I tried > > {{{date()}}} > {{{date(%D)}}} > {{{date(%F)}}} > > all produced "September 16, 2020". What I meant was: what does your #+date: line look like? Is it a single time stamp? If it is not, all of the above would return the same thing. > Yes, {{{modification-time(%F)}}} works! Great. -- : Eric S Fraga via Emacs 28.0.50, Org release_9.3.7-725-g7bc18e