From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: Set or update timestamp after evaluation of code block? Date: Mon, 21 Sep 2015 15:42:06 +0200 Message-ID: References: <87pp1bsyhn.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57749) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ze1MK-0005SD-3U for emacs-orgmode@gnu.org; Mon, 21 Sep 2015 09:42:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ze1MF-0002fE-3M for emacs-orgmode@gnu.org; Mon, 21 Sep 2015 09:42:20 -0400 Received: from mail-wi0-f176.google.com ([209.85.212.176]:36592) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ze1ME-0002et-UL for emacs-orgmode@gnu.org; Mon, 21 Sep 2015 09:42:15 -0400 Received: by wicgb1 with SMTP id gb1so115421045wic.1 for ; Mon, 21 Sep 2015 06:42:14 -0700 (PDT) Received: from Rainers-MacBook-Pro.local (arn78-1-88-186-171-7.fbx.proxad.net. [88.186.171.7]) by smtp.gmail.com with ESMTPSA id lb10sm4689684wjc.9.2015.09.21.06.42.12 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Sep 2015 06:42:12 -0700 (PDT) In-Reply-To: <87pp1bsyhn.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Mon, 21 Sep 2015 14:17:24 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Eric S Fraga writes: > On Monday, 21 Sep 2015 at 14:46, Rainer M Krug wrote: > > [...] > >> Is it possible to set a timestamp (ur update it when it exists already) >> when a code block has been evaluated, so that I have e record when it >> was updated? > > Could you make use of the :post header argument to invoke emacs lisp and > execute org-time-stamp-inactive in some way? Thanks - sounds possible? But if I just use ,---- | :post (org-time-stamp-inactive) `---- 1) an input is required and 2) the time stamp is inserted before the #+begin_src and makes the block invalid. How can I put the time stamp in the line after the #+end_src or possibly even in the same line, as this does not seem to have an impact on the source block? Thanks, Rainer =2D-=20 Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,= UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer@krugs.de Skype: RMkrug PGP: 0x0F52F982 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJWAAkyAAoJENvXNx4PUvmCBV0H/A8sHooPg9fYBUU529kDUqfC zoct23JNyLGm+M8SBiWiVMm1hd/T0wWHjhDbl3S5w8Harpqqa9Ua0WVU31R58HTI dzQDMDucoXaKGEzK2iDtj+Ae0ZPo3wWuRgnYzXDSGykf3ylvTnywgYFmaYRwS5pr II++l4xaKR8SV5Qqsg9U4rZ8VF0UxxHmIrO6wDb5IQY7GAsSlk/Sh+ioFejIdn5F egbcGBCxrEps5EcbLNbIOUMOhcyQhzUR2XJl0i0mFQBCWS4dEanoYkY7x04O4A1p 742EbAMoXb9OEGwUsYP6ZUkrU7pKynJYMa77dnNY+xz6o/tDL0Xw0vN5KN0Kxn8= =JUCX -----END PGP SIGNATURE----- --=-=-=--