abo-abo / pamparam

Simple and fast flashcards for Emacs
229 stars 16 forks source link

repo issues #8

Closed yitang closed 6 years ago

yitang commented 6 years ago

thanks for writing this package. I have been looking for something like this for since two years ago.

I followed your youtube video and tried myself, I noticed the repo issues:

I only have one Master file and it only works if I set the following:

(setq pam-alist
      '(("~/git/memory/english.org"
     . "~/git/memory/pam/english.pam")))
(setq pamparam-path "~/git/memory/pam/english.pam")

otherwise, the repo will be created in where pamparam installed. In my case, it was a git repo, and when I try to pam-commit, it git-commit the whole git repo, not just the cards repo. luckily there's nothing harmful.

because of this setting, I think there will be probelms for people having multiple master files.

abo-abo commented 6 years ago

Thanks, I updated the defaults to make more sense.

Keeping multiple master files around is indeed tricky. The idea is that if you're in the correct directory, things should work with the corresponding repository.

If you notice that's not the case, issue reports and PRs are welcome.