From mboxrd@z Thu Jan 1 00:00:00 1970 From: ross@rosslaird.info (Ross A. Laird) Subject: Re: Item ranking system? Date: Fri, 03 Jul 2009 12:55:12 -0700 Message-ID: <87iqi9o82n.fsf@rosslaird.info> References: <87my7lod79.fsf@rosslaird.info> <4A4E4AEA.70702@manor-farm.org> <8763e9ipg6.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MMor4-0007nm-7a for emacs-orgmode@gnu.org; Fri, 03 Jul 2009 15:55:30 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MMoqz-0007n3-OY for emacs-orgmode@gnu.org; Fri, 03 Jul 2009 15:55:29 -0400 Received: from [199.232.76.173] (port=34118 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MMoqz-0007mz-GX for emacs-orgmode@gnu.org; Fri, 03 Jul 2009 15:55:25 -0400 Received: from main.gmane.org ([80.91.229.2]:45774 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MMoqy-0006Zj-Nc for emacs-orgmode@gnu.org; Fri, 03 Jul 2009 15:55:25 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MMoqx-0006bS-F6 for emacs-orgmode@gnu.org; Fri, 03 Jul 2009 19:55:23 +0000 Received: from h24-207-84-37.cst.dccnet.com ([24.207.84.37]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 03 Jul 2009 19:55:23 +0000 Received: from ross by h24-207-84-37.cst.dccnet.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 03 Jul 2009 19:55:23 +0000 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: emacs-orgmode@gnu.org Matthew Lundin writes: > Ian Barton writes: > >> 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. >> >> What about making them all TODO items and using the priority filed for >> sorting. I don't use priorities myself, so I am not sure if you can >> change A, B, C, etc to 1, 2, 3. > > The easiest way to set custom priorities is to do so in the buffer. You > could simply add the following line to the top of the relevant file: > > #+PRIORITIES: 1 5 3 > > This line sets 1 as the highest priority, 5 as the lowest priority, and > 3 as the default priority. > > Then, once you have added priorities such as the following... > > * A list > ** [#5] Some item > ** [#4] Another item > ** [#2] Yet another item > > ...you can sort them by calling org-sort (C-c ^ p) on the heading. (C-c ^ > P will sort them in reverse order.) > > The other option here would be to create a "ranking" property for each > item with predefined entry options. You would still be able to sort the > list, but you could also view it as columns and capture it in a table > using dynamic blocks. (Of course, you could also display the priorities > above in column view.) > > #+PROPERTY: RANKING_ALL 1 2 3 4 5 > #+COLUMNS: %40ITEM %10RANKING > > * Some item > :PROPERTIES: > :RANKING: 3 > :END: > * Another item > :PROPERTIES: > :RANKING: 1 > :END: > * Yet another item > :PROPERTIES: > :RANKING: 5 > :END: > > Best, > Matt > Thanks for all the helpful responses. This list is great. Cheers. Ross -- Ross A. Laird, PhD Chair, Department of Creative Writing Faculty, Interdisciplinary Expressive Arts Kwantlen Polytechnic University