emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Bastien <bzg@altern.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Small bug and sorting suggestion
Date: Mon, 20 Nov 2006 09:55:11 +0100	[thread overview]
Message-ID: <52618b2a856a0e823f0439f83867385e@science.uva.nl> (raw)
In-Reply-To: <87fycgjkzy.fsf@tallis.ilo.ucl.ac.uk>


On Nov 19, 2006, at 2:14, Bastien wrote:

> Hi Carsten and list,
>
> headlines containing a time interval after SCHEDULED are not "closed"
> properly (org-log-done is t).  The adding of "CLOSED" yields this:
>
> * WAITING Salon Educ@tice
>   SCHEDULED: <2006-11-15 mer>--<2006-11-17 ven>
>
> * DONE Salon Educ@tice
>   --<2006-11-17 ven> CLOSED: [2006-11-18 sam]
>
> Maybe i shouldn't use time interval after SCHEDULED, but i find it
> useful.  Note that this does not happen with DEADLINE instead of
> SCHEDULED.  Tested with org v4.56.

Indeed, SCHEDULED is not intended to be used with a time interval.
The time/date interval you give in such a case will not be interpreted
as a scheduling interval, but just as a block appointment.

I can see, however, that it could make sense to use it like this.  An
item marked by SCHEDULED: <date1>--<date2> will show up on all days
in the interval, but will also be carried forward as an overdue
scheduled item, until you mark it done.  Hmmm, a nice, unintended
feature.  For now I am leaving it undocumented, but I have fixed
the problem you describe above, for the next version.  Thanks for
the report.

> The feature suggestion is this one: since you're working on sorting,
> what about sorting headlines depending on the date they're attached
> to?
>
> I've got a headline called "Call for paper" where I put all the CFP
> and that would be great to have them automagically sorted.

I take it that you are talking about sorting tree-nodes in the
Org-mode buffer, similar to Carles Cave's request?

> This could be either an absolute order (first coming headline first
> displayed, no matter if it's SCHEDULED or DEADLINE) or a mix between
> categories and dates (DEADLINE first with sorted items, then SCHEDULED
> with sorted items, etc).

Hmmm again - if I read this, it looks to me that you are in fact
talking about sorting in the agenda buffer.  Which one is it?

- Carsten

  reply	other threads:[~2006-11-20  9:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-19  1:14 Small bug and sorting suggestion Bastien
2006-11-20  8:55 ` Carsten Dominik [this message]
2006-11-20  9:43   ` Bastien
2006-11-20  9:57     ` Carsten Dominik

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=52618b2a856a0e823f0439f83867385e@science.uva.nl \
    --to=dominik@science.uva.nl \
    --cc=bzg@altern.org \
    --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).