* Problem with emacs goto-address-at-point in email view
@ 2016-05-17 19:07 Jonathan BISSON
2016-05-18 8:52 ` David Edmondson
0 siblings, 1 reply; 3+ messages in thread
From: Jonathan BISSON @ 2016-05-17 19:07 UTC (permalink / raw)
To: notmuch
[-- Attachment #1: Type: text/plain, Size: 218 bytes --]
Hi,
When I click on the links on this email, the first two ones work, the
third one tries to go to https.com (which is probably a NSFW website I
guess from the redirections I see, but noscript is protecting me).
J.
[-- Attachment #2: Type: message/rfc822, Size: 242 bytes --]
From: bjonnh-nm@bjonnh.net
To: bjonnh-nm@bjonnh.net
Subject: Test link
Date: Tue, 17 May 2016 13:54:13 -0500
< https://www.bjonnh.net >
https://www.bjonnh.net
Ticket <URL: https://www.bjonnh.net >
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problem with emacs goto-address-at-point in email view
2016-05-17 19:07 Problem with emacs goto-address-at-point in email view Jonathan BISSON
@ 2016-05-18 8:52 ` David Edmondson
2016-05-23 17:52 ` Jonathan BISSON
0 siblings, 1 reply; 3+ messages in thread
From: David Edmondson @ 2016-05-18 8:52 UTC (permalink / raw)
To: Jonathan BISSON, notmuch
On Tue, May 17 2016, Jonathan BISSON wrote:
> Hi,
>
> When I click on the links on this email, the first two ones work, the
> third one tries to go to https.com (which is probably a NSFW website I
> guess from the redirections I see, but noscript is protecting me).
Try setting:
(setq thing-at-point-markedup-url-regexp "<URL: *\\([^<> \n]+\\) *>")
Reading the documentation for `thing-at-point-markedup-url-regexp'
suggests that the form you have (the general form, as well as the use of
spaces around the URL itself) should be discouraged.
> J.
>
> From: bjonnh-nm@bjonnh.net
> Subject: Test link
> To: bjonnh-nm@bjonnh.net
> Date: Tue, 17 May 2016 13:54:13 -0500
>
> < https://www.bjonnh.net >
> https://www.bjonnh.net
>
> Ticket <URL: https://www.bjonnh.net >
> _______________________________________________
> notmuch mailing list
> notmuch@notmuchmail.org
> https://notmuchmail.org/mailman/listinfo/notmuch
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problem with emacs goto-address-at-point in email view
2016-05-18 8:52 ` David Edmondson
@ 2016-05-23 17:52 ` Jonathan BISSON
0 siblings, 0 replies; 3+ messages in thread
From: Jonathan BISSON @ 2016-05-23 17:52 UTC (permalink / raw)
To: David Edmondson, notmuch
David Edmondson <dme@dme.org> writes:
> On Tue, May 17 2016, Jonathan BISSON wrote:
>
>> Hi,
>>
>> When I click on the links on this email, the first two ones work, the
>> third one tries to go to https.com (which is probably a NSFW website I
>> guess from the redirections I see, but noscript is protecting me).
>
> Try setting:
>
> (setq thing-at-point-markedup-url-regexp "<URL: *\\([^<> \n]+\\) *>")
>
Hi David,
Thanks, it works perfectly with that. The problem is that I cannot control
the machine sending this email, they run an old instance of a ticketing
system…
J.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-05-23 17:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-17 19:07 Problem with emacs goto-address-at-point in email view Jonathan BISSON
2016-05-18 8:52 ` David Edmondson
2016-05-23 17:52 ` Jonathan BISSON
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.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).