abo-abo / pamparam

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

S-TAB doesn't reveal the answer #21

Closed daphniz closed 4 years ago

daphniz commented 4 years ago

Sorry if this is just caused by something else in my init, but S-TAB doesn't work for me, it just doesn't reveal the answer, or anything else. I have no issues with S-TAB in other org files.

abo-abo commented 4 years ago

What does <f1> k S-TAB show?

daphniz commented 4 years ago
<backtab> (translated from <S-iso-lefttab>) runs the command
org-shifttab (found in org-mode-map), which is an interactive
compiled Lisp function ...

For now I'm using

(define-key pamparam-card-mode-map (kbd "<backtab>") #'org-show-all)
daphniz commented 4 years ago

The problem seems to be that org-shifttab in this situation, where the line is ^* and the cursor is not at column 0, does not cycle but demotes (but there is nothing left to demote, so it does nothing).

abo-abo commented 4 years ago

Thanks, please test.