From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: Re: Re: Item ranking system? Date: Fri, 3 Jul 2009 14:57:11 -0700 Message-ID: <20524da70907031457q58448b71v372f9caa745e0e82@mail.gmail.com> References: <87my7lod79.fsf@rosslaird.info> <4A4E4AEA.70702@manor-farm.org> <8763e9ipg6.fsf@fastmail.fm> <87iqi9o82n.fsf@rosslaird.info> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MMqlG-0005DX-MK for emacs-orgmode@gnu.org; Fri, 03 Jul 2009 17:57:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MMqlB-0005Aa-D1 for emacs-orgmode@gnu.org; Fri, 03 Jul 2009 17:57:37 -0400 Received: from [199.232.76.173] (port=40409 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MMqlB-0005AX-6Z for emacs-orgmode@gnu.org; Fri, 03 Jul 2009 17:57:33 -0400 Received: from mail-pz0-f197.google.com ([209.85.222.197]:50988) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MMqlA-00069M-Lp for emacs-orgmode@gnu.org; Fri, 03 Jul 2009 17:57:32 -0400 Received: by pzk35 with SMTP id 35so1112622pzk.14 for ; Fri, 03 Jul 2009 14:57:31 -0700 (PDT) In-Reply-To: <87iqi9o82n.fsf@rosslaird.info> 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: "Ross A. Laird" Cc: emacs-orgmode@gnu.org One thing to think about is global vs. local. Global priorities (or properties -- I am not talking about implementation here) are sorted in the agenda. Thus an A in an unimportant part of the hierarchy is the same as an A in an important part. Local priorites are just for siblings. They are for sorting in the outline. You don't want to confuse that with global priorities. It is very useful. Inheritance is different and IMO a can of worms. For me, it's not worth the complexity so far. It would be a feature of global priorities if it were implemented. It makes no sense for local priorities unless you decide on exheritance. (Min, mean, max, median, sum, and other schemes are possible, but probably not worth the complexity.) But I wanted to point out that sorting siblings requires a different priority space than sorting in the agenda. IMO it would be great as something like - #[A] for global A (this is the current syntax) - #[,A] for local A (ignored by the agenda) - #[A,A] for both global A and local A so that you can directly see the local priority on the headlines just as you do now with global priorities, but to implement local priorities without changing org, you can use properties or tags. Just stuff to think about or ignore. On Fri, Jul 3, 2009 at 12:55, Ross A. Laird wrote: > 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 ranke= d >>>> 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 cell= s. >>> >>> 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 >> =A0 :PROPERTIES: >> =A0 :RANKING: =A03 >> =A0 :END: >> * Another item >> =A0 :PROPERTIES: >> =A0 :RANKING: =A01 >> =A0 :END: >> * Yet another item >> =A0 :PROPERTIES: >> =A0 :RANKING: =A05 >> =A0 :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 > > > > _______________________________________________ > 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 > --=20 Myalgic encephalomyelitis is causing death and severe suffering. Conflicts of interest are destroying research. You can get the disease at any time and die from it. Do science and justice matter to you? http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS= .htm