Discussions of development and use of the Sup email client
 help / color / mirror / Atom feed
From: Gaute Hope <eg@gaute.vetsj.com>
To: supmua@googlegroups.com, Tero Tilus <tero@tilus.net>
Subject: Re: [sup] clicking links
Date: Wed, 17 Sep 2014 07:26:41 +0000	[thread overview]
Message-ID: <1410937953-astroid-3-2jatheufdu-11770@strange> (raw)
In-Reply-To: <1410901742-sup-6697@tilus.net>

Excerpts from Tero Tilus's message of September 16, 2014 23:17:
> scott, 2014-09-15 20:52:
>> Is there a recommended way to click on links within an email in Sup,
>> and have them launch in the default browser, e.g. Firefox?
>
> I go around this by using publish hook to save the contents of html
> attachment/part to public url, show the url in sup as message and then
> ctrl-click that url to open the html message.
>
> Hook looks like this
> https://gist.github.com/terotil/b4688f7529df21ac82e1
>

Hi Tero,

I belive this works for 'viewing / reading html parts', how do you use
your terminal to detect and open the link?

I've put your solution (with a link to this thread) for viewing
attachments in the wiki [0], I think the old discussion can be found
here [1]. My quick insertion of links in the wiki could probably benefit
from being separated out in a separate sub-section.

Note that if you are using Sup on your local machine and you don't have
a decoding hook, you should be able to press Enter on the HTML
attachment and have it open in the default application for you desktop.

There used to be an empty 'Webbrowser integration' wiki-page, but I
think we got it covered now with 'Clicking links' [2] and 'Reading html
mails' [0] using your solution.

Cheers, Gaute

[0] https://github.com/sup-heliotrope/sup/wiki/Viewing-Attachments#viewing-attachments
[1] http://supmua.org/community/sup-devel/msg00530.html
[2] https://github.com/sup-heliotrope/sup/wiki/Clicking-On-Links



  reply	other threads:[~2014-09-17  7:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-15 17:52 scott
2014-09-15 17:56 ` [sup] " C. R. Oldham
2014-09-15 18:45   ` Gaute Hope
2014-09-15 19:10 ` Ruthard Baudach
2014-09-15 19:34   ` Scott Bonds
2014-09-15 21:38     ` Gaute Hope
2014-09-15 21:41   ` Per Andersson
2014-09-16 21:17 ` Tero Tilus
2014-09-17  7:26   ` Gaute Hope [this message]
2014-09-17 11:04     ` Tero Tilus

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

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

  git send-email \
    --in-reply-to=1410937953-astroid-3-2jatheufdu-11770@strange \
    --to=eg@gaute.vetsj.com \
    --cc=supmua@googlegroups.com \
    --cc=tero@tilus.net \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox