[neomutt-users] multiline url links in emails

Kenneth Flak kennethflak at protonmail.com
Wed Jan 15 13:52:18 CET 2020


Using extract_url.pl | urlview, like so:

macro index,pager \cb "<enter-command> unset pipe_decode<enter><pipe-message>extract_url.pl | urlview<enter>" "get URLs"

I get the full url displayed...

-- 
Roosna & Flak - Contemporary Dance & Music
Web: roosnaflak.com
Voice: +372 5565 1666
Code: {github,gitlab}.com/kflak
Mastodon: @kf at vis.social
On 15 Jan 2020  13:35, Ismael Bouya wrote:
>(Wed, Jan 15, 2020 at 11:25:06AM +0100) ralphe :
>> On 15/01   10:11, Ismael Bouya wrote:
>> > (Sun, Jan 12, 2020 at 02:12:18PM +0100) ralphe :
>> > > Had the same issue can try:
>> > >
>> > > macro index,pager \Cu "<enter-command>set pipe_decode = yes<enter><pipe-message>urlview<enter><enter-command>set pipe_decode = no<enter>"
>> > >
>> > > did the trick for me
>> >
>> > I never thought about this solution, which works great, thanks. However,
>> > I’m lost when the e-mail has many links (it happens quite often with
>> > "business" e-mails), I don’t remember which one I wanted to clic. The
>> > only thing that is actually problematic with the pager is the fact that
>> > there is a "+" at the beginning of the lines, which I need to
>> > remove to make the link valid. Without that "+", hiding temporarily the
>> > sidebar and copying the whole link by hand would be perfectly usable...
>> > --
>> > Ismael
>>
>> I,
>> what happens when you press "v" (to view attachments) ?
>
>It’s the same, I have the "+" at the beginning of the wrapped line which
>prevents me from simply copying the multi-line url (also for html e-mail
>the view in "attachments" hides the urls which doesn’t help, but I guess
>it’s only a configuration issue there)
>-- 
>Ismael




More information about the neomutt-users mailing list