emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: =?utf-8?Q?S=C3=A9bastien_Vauban?= <wxhgmqzgwmuf@spammotel.com>
Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: org google weather
Date: Fri, 04 Mar 2011 18:25:34 -0500	[thread overview]
Message-ID: <7447.1299281134@alphaville.usa.hp.com> (raw)
In-Reply-To: Message from =?us-ascii?Q?=3D=3Futf-8=3FQ=3FS=3DC3=3DA9bastie?= =?us-ascii?Q?n=5FVauban=3F=3D?= <wxhgmqzgwmuf@spammotel.com> of "Sat\, 05 Mar 2011 00\:03\:44 +0100." <801v2mmqsv.fsf@somewhere.org>

Sébastien Vauban <wxhgmqzgwmuf@spammotel.com> wrote:


> Because of this:
> 
> #+begin_src emacs-lisp
>     (setq org-agenda-default-appointment-duration 60)
> #+end_src
> 
> I get:
> 
>     ,----
>     | 2011-03-05 Sat
>     |                0:01-1:01  now ____
>     |   Weather:     7:18-8:18  Sunrise (+0100)
>     |                8:00-9:00  ________
>     |               10:00-11:00 ________
>     |               12:00-13:00 ________
>     |               14:00-15:00 ________
>     |               16:00-17:00 ________
>     |               18:00-19:00 ________
>     |   Weather:    18:24-19:24 Sunset (+0100)
>     `----
> 
> i.e, a not-that-clear indication of when the sunrise/sunset is supposed to
> happen.
> 
> In this case, it's clearly a one-minute event. Is there, then, a way to avoid
> the "+ 1 hour" range computation for it, while keeping the above variable for
> other common tasks?
> 

Not that I know of, but maybe a generalization of the feature that
Konrad was looking for might be what's needed: give properties to agenda
entry generators, so e.g. they cause the agenda entry to be only
displayed today, or to be of a given duration (0 in this case, 10 mins
in some other case, 1 hour by default), etc.  The difficult thing is to
make it general enough, concise enough and undestandable enough for mere
mortals to have a chance.

Nick

  reply	other threads:[~2011-03-04 23:25 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-03 21:37 Simon Brown
2011-03-04  8:40 ` Ian Barton
2011-03-04  9:08   ` Sébastien Vauban
2011-03-04 11:27     ` Ian Barton
2011-03-04 15:29       ` brian powell
2011-03-04 16:38       ` Nick Dokos
2011-03-04 19:28         ` Bastien
2011-03-04 19:42         ` Konrad Hinsen
2011-03-04 20:26           ` Nick Dokos
2011-03-05 10:19             ` Bastien
2011-03-05 11:44               ` Matthew Sauer
2011-03-05 13:26                 ` Konrad Hinsen
2011-03-05 14:57                   ` Matthew Sauer
2011-03-05 15:15                     ` Michael Markert
2011-03-05 15:23                     ` Nick Dokos
2011-03-05 17:46                       ` Matthew Sauer
2011-03-05 19:57                         ` Nick Dokos
2011-03-05 14:29               ` Konrad Hinsen
2011-03-05 17:07                 ` Bastien
2011-03-05 20:35                   ` Konrad Hinsen
2011-03-05 21:19                     ` brian powell
2011-03-05 23:51                     ` Nick Dokos
2011-03-06 10:33                       ` Konrad Hinsen
2011-03-06 11:20                         ` Konrad Hinsen
2011-03-04 23:03         ` Sébastien Vauban
2011-03-04 23:25           ` Nick Dokos [this message]
2011-03-04 21:28   ` Simon Brown
2011-03-04 22:05     ` Nick Dokos
2011-03-04 22:29       ` Nick Dokos
2011-03-04 22:43       ` Simon Brown

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=7447.1299281134@alphaville.usa.hp.com \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=wxhgmqzgwmuf@spammotel.com \
    --subject='Re: org google weather' \
    /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

Code repositories for project(s) associated with this 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).