From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: hyperlink type for Claws-mail
Date: Thu, 27 Apr 2017 14:43:28 -0400 [thread overview]
Message-ID: <87fugtsncf.fsf@alphaville.usersys.redhat.com> (raw)
In-Reply-To: 87y3un2drj.fsf@atmarama.com
Saša Janiška <gour@atmarama.com> writes:
> Hello,
>
> I do wonder if there is some way to add hyperlink type for Claws-mail?
>
org-link-set-parameters.
There are examples of its use for gnus, rmail, mhe, eww, w3m, irc and a few
others in the source. AFAICT, almost all of them define two functions, one
to follow the link and the other to store the link. E.g. org-gnus does this:
(org-link-set-parameters "gnus" :follow #'org-gnus-open :store #'org-gnus-store-link)
> Today, asked the same question in #claws and I was told that something
> like this could work:
>
> claws-mail --select [#mh/mailbox/]folder[/msg|/msgid]`
>
> and tried with the following:
>
> claws-mail --select '#imap/gour/INBOX/10254'
>
> and I can confirm that it works.
>
> The 'msgid' from above is visible within Claws when one enables 'Number'
> column in Summary view…
>
> Now I wonder what would be correct way to create such link(s) within
> org-mode by invoking some function by feeding it the ’msgid’ or possibly
> some more data ( mailbox, folder etc.) so that when I later click on
> such created hyperlink the following:
>
> claws-mail --select ...
>
> is going to be invoked?
>
> Any hint?
>
>
> Sincerely,
> Gour
--
Nick
prev parent reply other threads:[~2017-04-27 18:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-26 19:02 hyperlink type for Claws-mail Saša Janiška
2017-04-27 18:43 ` Nick Dokos [this message]
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=87fugtsncf.fsf@alphaville.usersys.redhat.com \
--to=ndokos@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).