emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bryan Gardiner <bog@khumba.net>
To: emacs-orgmode@gnu.org
Subject: Re: Showing timestamps in agenda items
Date: Sun, 7 Jul 2013 11:00:42 -0700	[thread overview]
Message-ID: <20130707110042.73bbadca@khumba.net> (raw)
In-Reply-To: <CAJcAo8sfD4Kt1fPzv0ko+bnd2U=v7tpcWTcG_RiZzfQNjNLjfw@mail.gmail.com>

On Sun, 7 Jul 2013 10:22:34 -0700
Samuel Wales <samologist@gmail.com> wrote:

> On 7/7/13, Bryan Gardiner <bog@khumba.net> 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

      reply	other threads:[~2013-07-07 18:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-07 15:25 Showing timestamps in agenda items Bryan Gardiner
2013-07-07 17:22 ` Samuel Wales
2013-07-07 18:00   ` Bryan Gardiner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130707110042.73bbadca@khumba.net \
    --to=bog@khumba.net \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).