emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Max Nikulin <manikulin@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: capturing and filling
Date: Mon, 17 Apr 2023 14:00:44 +0700	[thread overview]
Message-ID: <u1iqqs$2gh$1@ciao.gmane.io> (raw)
In-Reply-To: <CAJcAo8syPQRmN91HyqhgoqdY_Pcmmj=raiWhHtzo17ztC4DyYg@mail.gmail.com>

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.



  parent reply	other threads:[~2023-04-17  7:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-07  3:29 capturing and filling Samuel Wales
2023-04-07  4:12 ` Max Nikulin
2023-04-07  4:40   ` Samuel Wales
2023-04-07  5:23     ` Max Nikulin
2023-04-15  1:36       ` Samuel Wales
2023-04-15  3:37         ` Max Nikulin
2023-04-17  7:00         ` Max Nikulin [this message]
2023-04-10  4:39 ` Max Nikulin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='u1iqqs$2gh$1@ciao.gmane.io' \
    --to=manikulin@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).