Sorry for being a pest. I notice that org-zotxt-insert-reference-links-to-items explicitly adds a newline, and then moves point another line forwards.
This is a bit awkward, as I'm using org-zotxt to insert a citation within a line of text. In this case, I'd like to have the link inserted, and point left immediately after the link. As written, if there's any text following the line where I insert the link, a newline is inserted and point ends up in the at the beginning of a line two lines away from where I started. This is jarring enough that I suspect I'm misusing this function.
It would be easy to fix this by removing the insert and forward-line calls from the function, but I thought I should check to see if I've misunderstood something before proceeding.
I am also working exploring deferred so that I will be better able to make changes myself before I drive you crazy!
Hi again,
Sorry for being a pest. I notice that
org-zotxt-insert-reference-links-to-items
explicitly adds a newline, and then moves point another line forwards.This is a bit awkward, as I'm using
org-zotxt
to insert a citation within a line of text. In this case, I'd like to have the link inserted, and point left immediately after the link. As written, if there's any text following the line where I insert the link, a newline is inserted and point ends up in the at the beginning of a line two lines away from where I started. This is jarring enough that I suspect I'm misusing this function.It would be easy to fix this by removing the
insert
andforward-line
calls from the function, but I thought I should check to see if I've misunderstood something before proceeding.I am also working exploring deferred so that I will be better able to make changes myself before I drive you crazy!
Best,
Tyler