From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: Org-mode Habit with Varying Description Date: Tue, 21 Oct 2014 08:34:09 +0800 Message-ID: <87zjcqz2f2.fsf@ericabrahamsen.net> References: <87ppdmfxre.fsf@enterprise.sectorq.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60328) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgNKb-0000Xb-46 for emacs-orgmode@gnu.org; Mon, 20 Oct 2014 20:29:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XgNKT-0002kR-Jz for emacs-orgmode@gnu.org; Mon, 20 Oct 2014 20:29:45 -0400 Received: from plane.gmane.org ([80.91.229.3]:46574) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgNKT-0002kN-Ds for emacs-orgmode@gnu.org; Mon, 20 Oct 2014 20:29:37 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XgNKR-0008Lw-IS for emacs-orgmode@gnu.org; Tue, 21 Oct 2014 02:29:35 +0200 Received: from 123.122.32.77 ([123.122.32.77]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 21 Oct 2014 02:29:35 +0200 Received: from eric by 123.122.32.77 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 21 Oct 2014 02:29:35 +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 Pete Ley writes: > As Bastien said, this doesn't really fit the idea of a habit, but I > think there is a reasonable non-elisp way of tweaking it to fit. Maybe > it would help. > > What if you had something like this: > > * Read > :LOGBOOK: > - Note taken on [2014-10-20 Mon 10:33] \\ > 151-300 > - Note taken on [2014-10-20 Mon 10:32] \\ > 1-150 > :END: > :PROPERTIES: > :STYLE: habit > :END: I've been (very gradually) working on something I'm calling org-log, for just this sort of situation -- a library that would possibly go underneath org-habit and maybe even org-clock. It would look like: * Read :LOGBOOK: - Note taken on [2014-10-20 Mon 10:33] \\ PAGES: 49 - Note taken on [2014-10-20 Mon 10:32] \\ PAGES: 150 :END: When adding notes (or state-change log notes) the user would be prompted to record values for the key(s) already existing in the logbook (in this case, PAGES). Multiple key-value pairs would be possible. Generic tables could be created for a heading, with more specialized tables with user-defined column formulas and all that. Add unit manipulation/calculation from the calc-units package, and I think this could be a nice extension to Org. I originally started thinking of this while translating a novel. I had a certain number of characters to translate, and a certain deadline. What I wanted was a single heading where I logged my progress, and a reporting facility that said "given today's date and how many characters you've already done, you'll need to average XXX characters per day to hit the deadline." I envisioned a gnuplot table that showed actual-characters-per-day against the shifting average-characters-per-day. I didn't make my deadline. I don't blame Org for that, but I think I would have stood a better chance if org-log existed. :) Eric > I do this sometimes for things like this. The heading doesn't need to > change as it can just be a reminder to read and you can keep > track of what you've read in the notes with C-c C-z. > > Optionally, if you have multiple books and you're reading different > amounts of each one each day, you can just write how much you plan to > read under the heading for each one, e.g. > > * Read > 100 pages each day > * Read > 50 pages each day