Open aluex opened 4 years ago
Hm, I don't have the problem: I tried specifying a lot of tags with autocomplete, and the prompt remained. (Assuming by "prompt" you mean the "Please enter tag(s) for 'APY20' (use Tab to autocomplete):" prompt.)
But I don't get tag suggestions on my platform because pdfgrep seems to bork with my hierarchical tags.
Qs:
Hi, I've tried it.
Might this have something to do with all those "\b" characters that you pass to pdfgrep? Those are "backspace" characters so they might delete output. I'm not sure how they end up being sent to the console. Perhaps something to do with how pdfgrep is called.
Can you comment out all of the pdfgrep-related stuff and try again?
For example, comment out line 614:
matches = subprocess.check_output("pdfgrep '%s' %s" % (tag_extended_regex, ck_to_pdf(ck_bib_dir, citation_key)), shell=True).decode()
If that works, then uncomment and try removing shell=True
.
Alex, I changed how pdfgrep
is called in https://github.com/alinush/ck/commit/3dc8b7746be26ccd0d55d4ac2ac8d6446346f7c3.
Maybe this fixes your issue? Can you check?
The prompt disappear when writing tags
To Reproduce Steps to reproduce the behavior:
Expected behavior The prompt should stay.
Screenshots
Desktop (please complete the following information):