exercise database

Discussion of Emacs Lisp

exercise database

Postby rubing » Thu Dec 17, 2009 8:46 am

I am toying around creating a simple exercise database using emacs forms mode. My control file looks something like this:

Code: Select all
(setq forms-file "datafile")
(setq forms-number-of-fields 6)
(setq forms-format-list
      (list
      "----Exercise Database----\n\n"
      "exercise : " 1
      "\n\n"
      "lbs : " 2
      "\n\n"
      "reps : " 3
      "\n\n"
      "set : " 4
      "\n\n"
      "day : " 5
      "\n\n"
      "muscle group: " 6
      "\n\"))



I often enter records serially (e.g. first set of bench press, followed by second set, followed by third, etc...). It would be convienent if I had a way of entering a new record where there was some type of field memory, so that i didn't have to keep typing the name of the exercise or incrementing the set number manually. Also if I had a way of choosing which exercise would be good as well, since I am an awful speller. thx
rubing
 
Posts: 9
Joined: Sun Nov 22, 2009 11:44 am

Return to Emacs Lisp

Who is online

Users browsing this forum: No registered users and 2 guests