emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Hsiu-Khuern Tang <hsiu-khuern.tang@hp.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Sorting a column of inactive dates
Date: Fri, 6 Feb 2009 16:53:38 +0100	[thread overview]
Message-ID: <A56818D9-C773-406B-8CA7-0DE9863B4DDE@uva.nl> (raw)
In-Reply-To: <20090203000630.GX28304@hplhtang1>


On Feb 3, 2009, at 1:06 AM, Hsiu-Khuern Tang wrote:

> Hi all,
>
> I have a table where one column consists of inactive dates, such as  
> this:
>
>   | Date             | OK? |
>   |------------------+-----|
>   | [2009-01-30 Fri] | x   |
>   | [2009-01-27 Tue] | x   |
>   | [2009-01-28 Wed] | x   |
>
> I can't sort the table by that column.  If I change the dates to  
> active, then
> sorting (by time) works fine.  Is this behavior intentional?


Yes, intentional, because the same routine also does sorting of
entries and should prefer active time stamps.  However, I realize that
we can still look for an inactive time stamp when no active one can be
found.   I just pushed this change.

- Carsten

  reply	other threads:[~2009-02-06 15:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-03  0:06 Hsiu-Khuern Tang
2009-02-06 15:53 ` Carsten Dominik [this message]
2009-02-06 18:37   ` Hsiu-Khuern Tang

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=A56818D9-C773-406B-8CA7-0DE9863B4DDE@uva.nl \
    --to=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=hsiu-khuern.tang@hp.com \
    --subject='Re: Sorting a column of inactive dates' \
    /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).