This is a read-only archive of lispforum.com. The forum was locked to new users and posts and is preserved here as static HTML from a database snapshot taken on 2019-09-07.

exercise database

1 post · 2814 views

I am toying around creating a simple exercise database using emacs forms mode. My control file looks something like this:
(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