emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Ulf Stegemann <ulf-news@zeitform.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: date marking with (org-diary)
Date: Wed, 3 Sep 2008 11:37:02 +0200	[thread overview]
Message-ID: <DAB2893D-31B5-4F8B-8F06-313D24CE9E92@uva.nl> (raw)
In-Reply-To: <zf.upn63q2sm3i.fsf@zeitform.de>


[-- Attachment #1.1: Type: text/plain, Size: 3188 bytes --]

On Aug 15, 2008, at 10:45 AM, Ulf Stegemann wrote:

> Hi all,
>
> I was recently playing around with marking org agenda items in the
> calendar using (org-diary) in the diary file. I encountered a problem
> already described by Wanrong Lin some time ago (see
> http://www.mail-archive.com/emacs-orgmode@gnu.org/msg05839.html).
> Unfortunately no answers were given to his original request so here it
> comes again:
>
> Including agenda items into the diary with '&%%(org-diary ...' is
> something I personally find pretty useless as the dates of those items
> are not fontified in the calendar. Using '%%(org-diary ...' would be
> fine but the entries to use (':scheduled', ':todo' aso) cannot be
> limited any further. This not only leads to unacceptable delays while
> calendar tries to fontify its buffer but also to a calendar with  
> nearly
> everyday marked. My intent was to mark dates with appointments only (I
> have scheduled items, todos etc. nearly everyday so there's no need to
> mark them). In my case this means that (org-diary) would need to
> distinct between different TODO keywords. However, filtering based on
> tags or date/time formats would be fine, too.
>
> My question now is: Is there currently any way to achieve such a
> filtering with (org-diary)? And if not, are there any plans to enhance
> (org-diary) in that direction?
>
> Regards,
>
> Ulf

Hi Ulf,

this is not supported yet, and I have no concrete plans to implement
this.  Marking entries in the calendar will always be unacceptably
slow, because the way the calendar/diary implements this is creating
the list of appointment for each of the 90+ days in the calendar
display.  Even with filtering, this would be slow - basically one
would have to rewrite the code in the diary.

Why don't you just use the week agenda to see which days are free?
Since version 6.05, we have the following functionality:

- Carsten


            Making use of the cursor position in the agenda
            ===============================================

* Calling remember with the cursor date in the agenda

   If you want to use the date at the agenda cursor in a
   remember template, start remember from the agenda with the
   keys `k r'.  While the template is being filled in, the
   default date for all time stamps, and also for all
   interactive escapes like `%^t' is now the date at the cursor
   in the agenda.  The exact same command can also be used from
   the calendar if you prefer that.

* Picking a date for scheduling/deadline in the agenda

   You may now pick the date for scheduling an item or for
   setting a deadline in the agenda, where you have the best
   overview over free time slots.  This is a two step process.

   1. First you pick the entry that should be acted upon.  In
      the agenda, you use the keys `k m'.  In an org-mode file,
      this is on `C-c C-x C-k'.

   2. Then you find the agenda date you want to apply.  When the
      cursor is anywhere in the block belonging to that date,
      press `k s' to schedule, or `k d' to put a deadline.  The
      agenda is not updated immediately, press `r' if you want
      it to show the affected entry in the right place.


[-- Attachment #1.2: Type: text/html, Size: 4383 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2008-09-03  9:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-15  8:45 date marking with (org-diary) Ulf Stegemann
2008-09-03  9:37 ` Carsten Dominik [this message]
2008-09-08 15:06   ` Ulf Stegemann

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=DAB2893D-31B5-4F8B-8F06-313D24CE9E92@uva.nl \
    --to=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=ulf-news@zeitform.de \
    /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).