Re: [Orgmode] Sorting a column of inactive dates

2009-02-06 Thread Carsten Dominik


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



___
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


Re: [Orgmode] Sorting a column of inactive dates

2009-02-06 Thread Hsiu-Khuern Tang
* On Fri 03:53PM +, 06 Feb 2009, Carsten Dominik (domi...@science.uva.nl) 
wrote:
 
 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.

Thank you for this change; it works great!

-- 
Best,
Hsiu-Khuern.


___
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


[Orgmode] Sorting a column of inactive dates

2009-02-02 Thread Hsiu-Khuern Tang
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?

-- 
Best,
Hsiu-Khuern.


___
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