Good day, everyone!
I have been trying to create a new custom link type with
org-link-set-parameters, which in turn calls functions for the various
"methods" (for lack of a better term), like so:
The only one I seem to be having trouble with is :complete. I can get
prompt me for completing-read, and it returns the link portion only, but
to get it to also prompt for a description? Here is my :complete
(defun my-zetteldeft-org-complete-link ()
"Link completion for Org zdlink type links"
(let* ((file (completing-read "File to link to: "
(link (zetteldeft--lift-id file)))
(unless link (user-error "No file selected"))
(concat "zdlink:" link)))
I searched the Internet, this mailing list archives, etc. high and low,
to no avail. So I decide to join the mailing list today. Probably long
overdue anyway. :)
Any tips would be greatly appreciated.