On 15/04/2023 08:36, Samuel Wales wrote:
i am very sorry, i got myself in over my head.  i do not undestrand
what you are suggesting.  if a change on the ff side i cannot do it,
bu perhaps you are suggesting making emac pop up an x seector that
chooses the filing option.

My idea is to setup as org-protocol: URI handler a simple script (e.g. shell) that displays a GUI dialog what template should be used, modifies the received URI to set &template= parameter, and passes the URI to emacsclient. There is a number of GUI dialog utilities for using from shell scripts: zenity, kdialog, gxmessage, yad, etc. Such implementation does not require any modification of browser extension or Org code.


Reply via email to