~artsi0m

Minsk, Belarus

My name is Artsiom Karakin. I am BSUIR student


#43 org-fc/awk/utils.awk not working on windows 3 months ago

Comment by ~artsi0m on ~l3kn/org-fc

Is org-fc-awk--find among them?

Yes. It is. It's defined in org-fc-awk.el

#43 org-fc/awk/utils.awk not working on windows 3 months ago

Comment by ~artsi0m on ~l3kn/org-fc

I'm not sure if howm is the issue then. C-h f should show some functions starting with org-fc-awk-...,

Yes, it is showing up.

#43 org-fc/awk/utils.awk not working on windows 3 months ago

Comment by ~artsi0m on ~l3kn/org-fc

Yes it gives an error message:

*** Eval error *** Symbol’s function definition is void: org-fc-awk--find

Should I create a new issue because it is being tested on GNU/Linux now, but I use howm emacs package to store files with flashcards ?

#43 org-fc/awk/utils.awk not working on windows 3 months ago

Comment by ~artsi0m on ~l3kn/org-fc

"~l3kn" outgoing@sr.ht writes:

Are you seeing any error messages or did it just stop working?

Sorry, for the late response and incorrect report in the first place.

Yes, I saw error messages. org-fc-dashboards is working although it shows zero cards and when I tried to execute org-fc-review-all it returns "No cards due to riview".

#43 org-fc/awk/utils.awk not working on windows 3 months ago

Comment by ~artsi0m on ~l3kn/org-fc

It is not working even on GNU/Linux. Should I submit new issue about interconnecting howm and org-fc ?

#43 org-fc/awk/utils.awk not working on windows 5 months ago

Comment by ~artsi0m on ~l3kn/org-fc

Suddenly it's all stopped working again. Either No cards due to review or *.tsv file not found

#43 org-fc/awk/utils.awk not working on windows 7 months ago

Comment by ~artsi0m on ~l3kn/org-fc

I am sorry. I subscribed to org mode mailing list and have been told there that by removing escaping I can get vulnerability. Also problems with shell-quote-argument highly likely have been caused by myself setting shell-file-name to pwsh.exe I will remove this setting from my config and go back to having shell-quote-argument in org-fc functions.

#43 org-fc/awk/utils.awk not working on windows 8 months ago

Comment by ~artsi0m on ~l3kn/org-fc

I now have access to a windows computer and once I have set up Emacs, I can try to reproduce these bugs.

The most easier way to setup emacs on windows is typing winget install GNU.EMacs

But there is also emacs in scoop (scoop.sh), which i used for installing busybox and other commandline apps, that can be called from terminal. It solves wingets problem with finding program in PATH.

Regarding the error message you're seeing, something similar seems to happen in the org-fc-cache-hashes function when it's used with directories that contain no flashcards. In your case, there are probably some of these in your org-fc-directories list.

Probably, there are some. But I can review cards without this error, when executing org-fc-review in *Messages* buffer instead of opened org buffer with flashcards.

#43 org-fc/awk/utils.awk not working on windows 8 months ago

Comment by ~artsi0m on ~l3kn/org-fc

The error that I get in Messages sometimes:

(:path "-" :cards (
  )  :title nil)

#43 org-fc/awk/utils.awk not working on windows 8 months ago

Comment by ~artsi0m on ~l3kn/org-fc

I think I made it work. Now I can run org-fc-dashboard and it seems to me that org-fc finally can find my cards. I also reviewed all my cards two times on windows.

Here is parts my config where I changed org-fc functions: https://github.com/artsi0m/emacs-organizer/tree/da2ce20a146738aec75592e17148f695e017b7bb?tab=readme-ov-file#try-to-use-busybox-from-scoop

Sometimes error with find and short sexpr would appear in Messages, but I cannot reproduce it now and everything seems to be working.