anki-editor
anki-editor copied to clipboard
Error on cloze deletion for multiple sequential words
If I select multiple sequential words for cloze deletion and give M-x anki-editor-cloze-region, then I get the following error.
(wrong-number-of-arguments (4 . 4) 2)
This happens when I select "computer network interface" in this tree and give the command.
* Virtual network interface
:PROPERTIES:
:ANKI_DECK: @IMPORT
:ANKI_NOTE_TYPE: Cloze
:ANKI_TAGS: Computer_networks
:END:
** Text
A [[https://en.wikipedia.org/wiki/Virtual_network_interface][virtual network interface]] ({{c1::VIF}}) is an abstract virtualized representation of a computer network interface that may or may not correspond directly to a [[https://en.wikipedia.org/wiki/Network_interface_controller][network interface controller]].
** Extra
Emacs gives the following backtrace.
Debugger entered--Lisp error: (wrong-number-of-arguments (4 . 4) 2)
anki-editor-cloze(385 393)
anki-editor-cloze-region(1 "")
funcall-interactively(anki-editor-cloze-region 1 "")
call-interactively(anki-editor-cloze-region record nil)
command-execute(anki-editor-cloze-region record)
execute-extended-command(nil "anki-editor-cloze-region" nil)
funcall-interactively(execute-extended-command nil "anki-editor-cloze-region" nil)
call-interactively(execute-extended-command nil nil)
command-execute(execute-extended-command)
I also get the same error if I select a single word.
Emacs gives the following backtrace.
Debugger entered--Lisp error: (wrong-number-of-arguments (4 . 4) 2)
anki-editor-cloze(3036 3040)
anki-editor-cloze-region(1 "")
funcall-interactively(anki-editor-cloze-region 1 "")
call-interactively(anki-editor-cloze-region record nil)
command-execute(anki-editor-cloze-region record)
execute-extended-command(nil "anki-editor-cloze-region" nil)
funcall-interactively(execute-extended-command nil "anki-editor-cloze-region" nil)
call-interactively(execute-extended-command nil nil)
command-execute(execute-extended-command)
Closed in error. Reopened.
Try with the latest build, it should work now.