Fails to fetch a certain url
Closed this issue · 6 comments
rgrinberg commented
Here's the stack trace:
Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
replace-regexp-in-string(")*$" "" nil)
link-hint--process-url(nil :describe)
link-hint--apply(identity nil link-hint--process-url :describe)
link-hint--action(:open (:pos 2697 :win #<window 3680 on *We haven't seen you on Vaad...*> :args nil :type link-hint-text-url))
link-hint--one(:open)
link-hint-open-link()
funcall-interactively(link-hint-open-link)
call-interactively(link-hint-open-link nil nil)
command-execute(link-hint-open-link)
noctuid commented
Could you provide steps for replication?
rgrinberg commented
I would though I'm not quite sure how. It's a particular email that I'm
opening in notmuch. I suppose I could forward it to you if you're using
notmuch?
…On Sat, May 12, 2018, 12:04 PM Fox Kiester ***@***.***> wrote:
Could you provide steps for replication?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAIe-5rSBwajUCZ9iqFQag2DhiTzcjXwks5txm11gaJpZM4T8Opj>
.
noctuid commented
Given the backtrace, it looks like you're trying to open a text url. Could you post the url? If it's not a basic text url (e.g. its some notmuch specific link type), link-hint didn't detect it correctly, and I can look into notmuch.
rgrinberg commented
Here's the URL (and a little bit of surrounding context):
If you don't want to receive future emails from Vaadin, click here
(https://analytics.vaadin.com/hs/manage-preferences/unsubscribe-all?d=eyJlYSI6InJ1ZGkuZ3JpbmJlcmdAZ21haWwuY29tIiwiZWMiOjI3NTQ3NjIwLCJzdWJzY3JpcHRpb25JZCI6MTAwMzgwNSwiZXQiOjE1MjYwNTkxMDIzMTYsImV1IjoiOWQ2NjFiODEtYTliYy00MTRmLWEyYzMtNTkwOGNjMGY5NDBhIn0%3D&v=1&_hsenc=p2ANqtz-_-tlMLimRVdwj3l668dcQhnQBhai-5S6HfJAGg27AAH156_uK9GUGfqmWJy8I0d0EXXCF7C9pznDqADYU_SIu5Zh12Lw&_hsmi=27547620
) to opt-out completely
noctuid commented
So url-util
can't detect urls that have an open paren before them (also see #15). thingatpt
correctly handles this case, so I've added it as a another url detection method. Your example should work now.
rgrinberg commented
Thank you!
…On Sun, May 13, 2018, 9:28 AM Fox Kiester ***@***.***> wrote:
Closed #23 <#23>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#23 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAIe-72RnXqsvVdLBhCJExxt5NKpfJZHks5tx5pqgaJpZM4T8Opj>
.