From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stinky Wizzleteet Subject: particular capture method for a diet .. ? Date: Fri, 22 Apr 2011 19:00:09 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:40267) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QDJe7-0004g6-2l for emacs-orgmode@gnu.org; Fri, 22 Apr 2011 12:55:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QDJe6-0004M3-3r for emacs-orgmode@gnu.org; Fri, 22 Apr 2011 12:55:55 -0400 Received: from lo.gmane.org ([80.91.229.12]:42202) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QDJe5-0004Ly-UA for emacs-orgmode@gnu.org; Fri, 22 Apr 2011 12:55:54 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QDJe4-0006Nh-GK for emacs-orgmode@gnu.org; Fri, 22 Apr 2011 18:55:52 +0200 Received: from 195-240-16-79.ip.telfort.nl ([195.240.16.79]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 Apr 2011 18:55:52 +0200 Received: from wizzleteet by 195-240-16-79.ip.telfort.nl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 Apr 2011 18:55:52 +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 all, I am too fat. And I found in the past that the best way for me to loose weight is to log my eating habit every day and make sure that I eat between 1800 and 2200 kcal/day, no more, but also not less. I want to figure out a way how to create a custom capture template to keep track of my daily intake. The result should be a diary-style org file were every day would be filled with a table that features an updated total and an item list: TOTAL: 1965 kcal |apple | 80| |orange | 65| |energy drink | 300| ... etc (gnus: y u no tables ?) capturing would consist of two entries, item and specific caloric value, and these values would be inserted into a table that would automagically update its daily total. Every day a new table should be started. Is this possible ? And how ? Pointers, tips and snippets are greatly appreciated. Best, wzzl -- Stinky Wizzleteet thinks: Next Friday will not be your lucky day. As a matter of fact, you don't have a lucky day this year.