You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to annotate a pdf-file using pdf-tools. One way to do that is to mark something in the file and call pdf-annot-add-markup-annotation Then completing read in the minibuffer is activated and one can choose between ‘squiggly’, ‘underline’, ‘strike-out’ or ‘highlight’.
When ivy-mode is disabled it does work as described above. With ivy-mode on there are no matches. In the minibuffer it says (1/0) Markup type (default highlight):
The same happens when I use hydra-pdftools. I don't know on which side (pdf-tools or ivy) the relevant things changed, but I'm pretty sure that it used to work.
The text was updated successfully, but these errors were encountered:
It appears that pdf-annot-add-markup-annotation does not conform to the API standard in its use of compelting-read:
COLLECTION can be a list of strings, an alist, an obarray or a hash table.
COLLECTION can also be a function to do the completion itself.
Here's the offending call:
(completing-read"Markup type (default highlight): "
'(squiggly highlightunderline strike-out)
nilt)
Note that a list of symbols does not fall into any category mentioned in the documentation. Somehow, completing-read-default supports a list of symbols even though it's not documented.
I can add a work-around in ivy, but I also suggest a fix in pdf-tools.
I want to annotate a pdf-file using pdf-tools. One way to do that is to mark something in the file and call
pdf-annot-add-markup-annotation
Then completing read in the minibuffer is activated and one can choose between ‘squiggly’, ‘underline’, ‘strike-out’ or ‘highlight’.When ivy-mode is disabled it does work as described above. With ivy-mode on there are no matches. In the minibuffer it says
(1/0) Markup type (default highlight):
The same happens when I use hydra-pdftools. I don't know on which side (pdf-tools or ivy) the relevant things changed, but I'm pretty sure that it used to work.
The text was updated successfully, but these errors were encountered: