From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Lawrence Subject: Re: Showing Property in headline; generating table from properties; exporting table to CSV Date: Thu, 06 Aug 2015 18:43:49 -0700 Message-ID: <87r3nfj2ju.fsf@berkeley.edu> References: <87k2t8k64x.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49974) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNWhh-0002Nd-M7 for emacs-orgmode@gnu.org; Thu, 06 Aug 2015 21:44:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZNWhb-00031o-OI for emacs-orgmode@gnu.org; Thu, 06 Aug 2015 21:44:13 -0400 Received: from plane.gmane.org ([80.91.229.3]:39273) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNWhb-00031c-Hc for emacs-orgmode@gnu.org; Thu, 06 Aug 2015 21:44:07 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZNWhV-0004o0-2b for emacs-orgmode@gnu.org; Fri, 07 Aug 2015 03:44:01 +0200 Received: from c-67-169-117-151.hsd1.ca.comcast.net ([67.169.117.151]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 07 Aug 2015 03:44:01 +0200 Received: from richard.lawrence by c-67-169-117-151.hsd1.ca.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 07 Aug 2015 03:44:01 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi Matt and all, Matt Price writes: > On Thu, Aug 6, 2015 at 9:13 AM, John Kitchin > wrote: > >> How do you enter your grade? I use a function, bound to a convenient key >> like s-s g, which sets the grade property. You could have that function >> change the heading TODO state to DONE so you know it is done, and maybe >> add a tag with the grade, or just append the grade on the end of the >> headline. > Adding the grade as a tag doesn't seem quite right, as I often change > grades after a rewrite. I'd need to get rid of the original tag. Here's another idea for getting the grade into the headline: set the grade as a priority, like ** [#A] John Doe Pros: it's a simple hack that doesn't require you to do any additional parsing; it's easy to change up or down either interactively or programmatically (cf. org-priority* functions); and it's easy to sort headlines by priority in a custom agenda view, to give you a quick overall picture of your grade distribution. Cons: this would only work for A/B/C/D/F grades, and even then, it doesn't represent +/- variants. So it's not very flexible or granular, but it might be enough. Best, Richard P.S. Like others, I too have written my own grading system: https://github.com/wyleyr/schoolutils It stores grades and student data in a SQLite database, and allows you to write end-of-term grade calculations in Python, instead of messing with spreadsheets. (Overkill? Maybe so... :) It currently only has a command line interface, but I have been thinking about adding an Org interface that would do basic CRUD operations on grades via Babel. If anyone is interested in such a thing, let me know...