From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bryan Gardiner Subject: Re: Showing timestamps in agenda items Date: Sun, 7 Jul 2013 11:00:42 -0700 Message-ID: <20130707110042.73bbadca@khumba.net> References: <20130707082520.54229ec6@khumba.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48881) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UvtIm-0007LG-Di for emacs-orgmode@gnu.org; Sun, 07 Jul 2013 14:03:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UvtIj-0006VI-Lu for emacs-orgmode@gnu.org; Sun, 07 Jul 2013 14:03:12 -0400 Received: from mail6.webfaction.com ([74.55.86.74]:45186 helo=smtp.webfaction.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UvtIj-0006Tg-Fm for emacs-orgmode@gnu.org; Sun, 07 Jul 2013 14:03:09 -0400 Received: from localhost (c-76-104-197-18.hsd1.wa.comcast.net [76.104.197.18]) by smtp.webfaction.com (Postfix) with ESMTP id 458F120FD4B6 for ; Sun, 7 Jul 2013 18:03:07 +0000 (UTC) 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: emacs-orgmode@gnu.org On Sun, 7 Jul 2013 10:22:34 -0700 Samuel Wales wrote: > On 7/7/13, Bryan Gardiner wrote: > > Hello, > > > > I've developed a habit of typing items like this: > > > > * Foo Event <2013-07-07 Sun>..<2013-08-07 Wed> > > > > The effect of this used to be agenda entries that looked like: > > > > Sunday 7 July 2013 > > foo: Foo Event ..<2013-07-07 Sun> > > > > Saturday 7 August 2013 > > foo: Foo Event <2013-08-07 Wed>.. > > > > It worked great for long, passive events that I only wanted to see > > the beginning and end of, with a terse construct. Listing many > > dates was great too, only stripping the current date for any > > appearance in the agenda: > > > > * Bar Event <2013-07-08 Mon>,<2013-07-10 Wed>,<2013-07-12 Fri> > > > > Monday 8 July 2013 > > foo: Bar Event ,<2013-07-10 Wed>,<2013-07-12 Fri> > > > > At some point (I think between 7.8 and 7.9) all dates stopped > > appearing in the description part of agenda lines, so now all that > > shows is: > > > > Sunday 7 July 2013 > > foo: Some Event .. > > > > This is not as useful, as I could already put dates that I didn't > > want visible on a following line. I've searched the org-adenda > > options but haven't found a way to affect this behaviour. I > > haven't looked at the code yet :). How much effort would it be to > > do this? Showing all dates in agenda descriptions would be alright > > too. > > > > My next choice might be to do: > > > > * Foo > > ** Foo starts <2013-07-07 Sun> > > ** Foo ends <2013-08-07 Wed> > > > > But I'm open to other ideas. > > > > Thanks, > > Bryan > > Perhaps this note from my .emacs might help. > > ;; > ;; removing timestamps > ;; > ;; the variable seems to be completely ignored. it always > ;; removes active timestamps no matter what the setting of this > ;; variable is. it never removes any other timestamps or time > ;; specifications. > ;; > ;; if it is fixed, then i might want it for inactive as beg. > ;; with a wide screen it is less important. > ;; > ;; this does not work for inactive (i tested it) as displayed > ;; with the [ ] feature. > ;; > ;; (setq org-agenda-remove-times-when-in-prefix 'beg) > (setq org-agenda-remove-times-when-in-prefix nil) > ;; default is t. > ;; (setq org-agenda-remove-times-when-in-prefix t) Thanks Samuel. I'd tried playing around with this as well and I confirm that it doesn't seem to do anything. It does sound like the correct feature though, doesn't it? Found a better workaround: hitting ": RET" (or anything to change the entry) will display the headline unmodified... - Bryan