From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id ODdXNFG9fGKyMAEAbAwnHQ (envelope-from ) for ; Thu, 12 May 2022 09:54:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id sMcSNFG9fGLodQAAauVa8A (envelope-from ) for ; Thu, 12 May 2022 09:54:57 +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 9BDD2C940 for ; Thu, 12 May 2022 09:54:57 +0200 (CEST) Received: from localhost ([::1]:60284 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1np3ey-0000Rv-Rx for larch@yhetil.org; Thu, 12 May 2022 03:54:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47884) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1np3dy-0000Rj-HA for emacs-orgmode@gnu.org; Thu, 12 May 2022 03:53:54 -0400 Received: from ciao.gmane.io ([116.202.254.214]:33202) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1np3dw-0000RJ-Bj for emacs-orgmode@gnu.org; Thu, 12 May 2022 03:53:54 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1np3du-000A7d-CP for emacs-orgmode@gnu.org; Thu, 12 May 2022 09:53:50 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Andreas Leha Subject: Re: source block evaluation in #+DATE line Date: Thu, 12 May 2022 09:53:42 +0200 Message-ID: <87bkw36vax.fsf@med.uni-goettingen.de> References: <87lev961yo.fsf@med.uni-goettingen.de> <875ymdqh9z.fsf@gmail.com> <87h75w69pq.fsf@med.uni-goettingen.de> <875ymchv3o.fsf@ucl.ac.uk> <87v8ucgfrf.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cancel-Lock: sha1:DWh6vmvyjEuFlC9hJGbZ36ojJ80= 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: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: , 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=1652342097; 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: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=ntccsXKWLQegg6Gb8gbvU24T0EA0kegtIm2WtquiaKc=; b=iT+1Kof+oWtYjb36N+kna8BjOMMiC06gnQrb90bzmithImcTHON+00rW9e0dRN07SwGhXF zADVaSg6KclP0txKhB5XpqdsksVEyqgYTvM/D6/E5cVnNulpT/NwSJQNrnNRIngpDJ4BES Xyw8vHXsAxdB/yQ6TYx/x2WXFByR9H8ZRBDRXwimOKHX8z7IS65h2zD8cTEKQdjUyNWXXi tW4wetOQcuvEveXrc31dj8SQabvF6b7u2enePnLBShhIzLR3LNb4aoIbMYe+2kECaNfasD QWw8gS6IpTJHV0052kmqeZgtBGZxuWgEOuTk2hgEwKRmOQMtYQw452NWHYoiuQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652342097; a=rsa-sha256; cv=none; b=R2grxiBdaltuA2Ue/+LKFhlj8pUXaswRXJZ6YnFwVM56zVQkaEYsiCbLf9fqTll9itF5Rp xEH/rLun05buQMCj02SvDkvflwpCkAXDH7xqFTlX1BlSiMgzqLU2XoTaUrwioVIsCmkOiS qtIPtiB0ZKm5gGQlFcfOBfiGCzbonBk8QvYCnHuy1x7CrXE1CbWwhQZevz1ciTtDvg25gY 2rwdRqrj1FUuOgYvVcpk7n49EeGs2AcZ1bFgWTOoHPpxN6ihP+dQ3iy5uFt1mzU6/p5wH6 y63VMWjNfA696soMutJpl9021RcIxKzmwiMfsw7P9XVGK1fjdUgHbT7Gt1v+Pg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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: -2.61 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: 9BDD2C940 X-Spam-Score: -2.61 X-Migadu-Scanner: scn0.migadu.com X-TUID: fCiu/nWi9Qmw Dear Eric, Eric S Fraga writes: > On Wednesday, 11 May 2022 at 17:50, Eric S Fraga wrote: >> ⚠️ Caution: External sender >> >> >> On Wednesday, 11 May 2022 at 05:15, Andreas Leha wrote: >>> Thanks for the comments. And sorry for the misleading example. I do not >>> want to use source blocks to insert a date. In fact I want to include >>> the current git commit hash on the title slide. >> >> I do this by: > > [...] which I now realise uses a src block so probably not what you > want/need. On the contrary. This is brilliant! I had not thought getting the full #+DATE line to be generated via a code block. I've adopted your idea to my needs and it works perfectly now. Thanks a lot. Best, Andreas