On 29/10/2022 09:59, Ihor Radchenko wrote:
Max Nikulin writes:

%(org-get-x-clipboard 'PRIMARY)
"
          :immediate-finish t)

However to be at the safe side I would check if (org-get-x-clipboard
'PRIMARY) value is not nil at first.

My approach to this is simply showing a popup with captured heading
after capture. If anything is wrong, I can quickly notice.

Not sure if it is suitable for Samuel though.

I started with a small wrapper that checks if Emacs server is running and creates a new frame if it does not exist yet. So I avoided a pitfall with empty string instead of selection. I intentionally do not use :immediate-finish to inspect capture and to add some comment.

Samuel wish to have minimal distraction: no sound, no popup window, Emacs window is not raised in front of current application, visual notification should disappear after some pause.

That is why I believe that additional checks are required in such silent workflow to avoid missed data in notes.



Reply via email to