From mboxrd@z Thu Jan 1 00:00:00 1970 From: shripad sinari Subject: Re: Include today's date in title? Date: Wed, 20 Mar 2013 09:49:45 -0700 Message-ID: References: <87k3p2o38y.fsf@ucl.ac.uk> <87ppyu883h.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=bcaec54d3f846e2dd404d85e02dd Return-path: Received: from eggs.gnu.org ([208.118.235.92]:51770) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIMD3-0007h6-Dm for emacs-orgmode@gnu.org; Wed, 20 Mar 2013 12:49:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UIMCx-0001hx-Fr for emacs-orgmode@gnu.org; Wed, 20 Mar 2013 12:49:53 -0400 Received: from mail-oa0-f42.google.com ([209.85.219.42]:36608) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIMCx-0001hi-AW for emacs-orgmode@gnu.org; Wed, 20 Mar 2013 12:49:47 -0400 Received: by mail-oa0-f42.google.com with SMTP id i18so2056140oag.29 for ; Wed, 20 Mar 2013 09:49:46 -0700 (PDT) In-Reply-To: <87ppyu883h.fsf@bzg.ath.cx> 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: Bastien Cc: Gary Oberbrunner , Orgmode Mailing List --bcaec54d3f846e2dd404d85e02dd Content-Type: text/plain; charset=ISO-8859-1 This seems to work for me: #+DATE: %Y-%m-%d Shripad Tucson, AZ On Wed, Mar 20, 2013 at 7:21 AM, Bastien wrote: > Hi Eric, > > Eric S Fraga writes: > > > This appears to work: > > > > #+TITLE: The title {{{modification-time(%Y-%m-%d)}}} > > > > Look in the info manual, (org) Macro replacement. > > > > "date" instead of "modification-time" should work but doesn't for > > me. > > {{{date}}} will only work if #+DATE: is set. > > For other users, use {{{modification-time(...)}}} or {{{time()}}} > > (And yes, this will be documented...) > > -- > Bastien > > --bcaec54d3f846e2dd404d85e02dd Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
This seems to work for me:

#+DATE: =A0%= Y-%m-%d



Shripad
Tucson, = AZ


On Wed, Mar 20, 2013 at 7:21 AM, Bastien= <= bzg@altern.org> wrote:
Hi Eric,

Eric S Fraga <e.fraga@ucl.ac.uk= > writes:

> This appears to work:
>
> #+TITLE: The title {{{modification-time(%Y-%m-%d)}}}
>
> Look in the info manual, (org) Macro replacement.
>
> "date" instead of "modification-time" should work = but doesn't for
> me.

{{{date}}} will only work if #+DATE: is set.

For other users, use {{{modification-time(...)}}} or {{{time()}}}

(And yes, this will be documented...)

--
=A0Bastien


--bcaec54d3f846e2dd404d85e02dd--