Page 1 of 1

exercise database

Posted: Thu Dec 17, 2009 8:46 am
by rubing
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