emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Showing timestamps in agenda items
@ 2013-07-07 15:25 Bryan Gardiner
  2013-07-07 17:22 ` Samuel Wales
  0 siblings, 1 reply; 3+ messages in thread
From: Bryan Gardiner @ 2013-07-07 15:25 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Showing timestamps in agenda items
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Samuel Wales @ 2013-07-07 17:22 UTC (permalink / raw)
  To: Bryan Gardiner; +Cc: emacs-orgmode

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)


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
>
>


-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com

The disease DOES progress.  MANY people have died from it.  ANYBODY can get it.

Denmark: free Karina Hansen NOW.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Showing timestamps in agenda items
  2013-07-07 17:22 ` Samuel Wales
@ 2013-07-07 18:00   ` Bryan Gardiner
  0 siblings, 0 replies; 3+ messages in thread
From: Bryan Gardiner @ 2013-07-07 18:00 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-07-07 18:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

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).