From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Item ranking system? Date: Fri, 03 Jul 2009 14:46:25 -0400 Message-ID: <18226.1246646785@gamaville.dokosmarshall.org> References: <87my7lod79.fsf@rosslaird.info> <17160.1246645284@gamaville.dokosmarshall.org> Reply-To: nicholas.dokos@hp.com Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MMnnk-0008Oa-Rg for emacs-orgmode@gnu.org; Fri, 03 Jul 2009 14:48:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MMnnf-0008Hl-2d for emacs-orgmode@gnu.org; Fri, 03 Jul 2009 14:47:59 -0400 Received: from [199.232.76.173] (port=37892 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MMnne-0008HT-V9 for emacs-orgmode@gnu.org; Fri, 03 Jul 2009 14:47:54 -0400 Received: from vms173001pub.verizon.net ([206.46.173.1]:11418) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MMnne-0008DS-FL for emacs-orgmode@gnu.org; Fri, 03 Jul 2009 14:47:54 -0400 Received: from gamaville.dokosmarshall.org ([98.110.172.221]) by vms173001.mailsrvcs.net (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPA id <0KM700LMCYSHOL68@vms173001.mailsrvcs.net> for emacs-orgmode@gnu.org; Fri, 03 Jul 2009 13:45:53 -0500 (CDT) In-reply-to: Message from Nick Dokos of "Fri, 03 Jul 2009 14:21:24 EDT." <17160.1246645284@gamaville.dokosmarshall.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org, "Ross A. Laird" Nick Dokos wrote: > Ross A. Laird wrote: > > > > > I'm sure there are many ways in org to accomplish my goal with this > > particular project, which is to create a ranking system for items. > > Here's the situation: I have about 200 items that I am evaluating. I > > need each item to have a title, a tag, a note, and a ranking from 0 to > > 5. Then, I need to be able to sort the items by rank, with items ranked > > 5 at the top. I know that I can do this using tables in org, but I > > prefer the flexibility of headings (some of the items might have long > > notes attached to them, or links, or whatever). Also, I don't think I > > can tag individual cells in a table, or operate on cells the way I can > > with headings in org (move, refile, show and hide, etc.). So, I'm > > looking for something that will allow me to have the best of worlds: > > flexibility as with headings, and numerical sorting as with table cells. > > > > Properties, I think: attach a "ranking" property to each item. Even if > there is no built-in to sort the items by ranking (and there might very well > be - I just don't know), it should be fairly easy to use the property > API to write a sort. > ... and, of course, there *is* a built-in: org-sort with the R option for SORTING-TYPE.