Wilfred / suggest.el

discover elisp functions that do what you want
367 stars 14 forks source link

tries to fetch url with tramp(?) #32

Closed unhammer closed 7 years ago

unhammer commented 7 years ago

Try putting an url in the input/output (as string) and pressing C-c C-c:

suggest-url

This seems like a bug :)

;; Version: 0.4
;; Package-Version: 0.4
Wilfred commented 7 years ago

Yep, suggest.el definitely shouldn't be making network connections!

Wilfred commented 7 years ago

This was a fun one to debug. It was trying to evaluate the following:

(f-entries (expand-file-name "http://example.com" t))

This is because the path is:

ELISP> (expand-file-name "http://example.com" t)
#("/scp:http:/example.com" 1 4
  (tramp-default t))