abo-abo / pamparam

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

Is it possilbe to use this package without validation and do a self valdation #17

Closed Anton-Latukha closed 5 years ago

Anton-Latukha commented 5 years ago

I would like to use this package for dictionaries, notes on topics.

But the requirement to enter answer perfectly does not fit for those cases.

If I pop in front of my eyes a heading of an article from a dictionary that has loose translations from one language to the other due to words not being directly translatable. Or headings regarding articles on technical topics - it is not possible to write bit-perfect answers to that.

I would be happy to see the topic, even the body of it, to not look but to restate that from memory and then check with the body text, and give myself a grade.

Is that is an easy thing to tweak & does it relate to:

(defun pamparam-sm2 (card-stats q) ())
(defun pamparam-card-validate-maybe (&optional arg) ())
(defun pamparam-card-answer () ())

AKA just to skip the parts:

And allow a human to see the body and assess the grade himself.

abo-abo commented 5 years ago

You can use this code in your config:

(define-key pamparam-card-mode-map
    (kbd "C-c 5")
  (lambda ()
    (interactive)
    (revert-buffer nil t)
    (pamparam-card-score 5)))