From mboxrd@z Thu Jan 1 00:00:00 1970 From: Erik Hetzner Subject: Re: date next year Date: Mon, 23 Dec 2013 14:41:11 -0800 Message-ID: <87ha9zgph4.wl%egh@e6h.org> References: Reply-To: Erik Hetzner Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=ISO-8859-7 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44705) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VvEBg-000781-8k for emacs-orgmode@gnu.org; Mon, 23 Dec 2013 17:41:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VvEBa-0001br-Mp for emacs-orgmode@gnu.org; Mon, 23 Dec 2013 17:41:24 -0500 Received: from mail-pd0-x231.google.com ([2607:f8b0:400e:c02::231]:36122) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VvEBa-0001bh-FB for emacs-orgmode@gnu.org; Mon, 23 Dec 2013 17:41:18 -0500 Received: by mail-pd0-f177.google.com with SMTP id q10so5571503pdj.22 for ; Mon, 23 Dec 2013 14:41:17 -0800 (PST) In-Reply-To: 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: Rene Cc: emacs-orgmode@gnu.org At Fri, 20 Dec 2013 12:34:43 +0000 (UTC), Rene wrote: >=20 > How can I set org-agenda-custom-commands so that I can get the tasks past= a > date in the coming year? >=20 > Suppose I'm interested in things past next september. This >=20 > ("y" > "Next year's appointments" > tags "TIMESTAMP>=3D\"<2014-09-01>\"") >=20 > works alright as long as we are before that date but won't work anymore n= ext > october. I would have to modify my org config file each year. >=20 > Is there a generic way to indicate "next year"? >=20 > Thanks. Hi Rene, I don=A2t think there is a generic way, but you can use something like this for your agenda view: ("y" "Next year's appointments" tags (format "TIMESTAMP>=3D\"<%s-09-01>\"" (+ 1 (calendar-extract-year = (calendar-current-date))))) best, Erik --=20 Sent from my free software system .