noctuid / link-hint.el

Pentadactyl-like Link Hinting in Emacs with Avy
GNU General Public License v3.0
163 stars 22 forks source link

Not work in notmuch-show #47

Closed arkhan closed 2 years ago

arkhan commented 4 years ago

Great job with this package it works great but when i use notmuch it doesn't detect the links as you can see in the attached video

https://youtu.be/lB_H-HgdtNs

this my emacs config for render html email:

(require 'mm-view)
(setq mm-text-html-renderer 'w3m)
(setcdr (assoc 'w3m mm-text-html-renderer-alist)
        '(mm-inline-render-with-stdin
          nil "w3m" "-dump" "-T" "text/html" "-cols" "72" "-o" "display_link_number=true" "-o" "display_image=true"))

(defvar mm-insert-inline-use-utf-8 nil)

(defadvice mm-insert-inline (around mm-insert-inline-utf-8)
  (let ((x (point)))
    (prog1 (progn ad-do-it)
      (when mm-insert-inline-use-utf-8
        (decode-coding-region x (point-max) 'utf-8)))))
(ad-activate 'mm-insert-inline)

(defadvice mm-inline-text-html (around mm-inline-text-html-utf-8)
  (let ((mm-insert-inline-use-utf-8 t))
    ad-do-it))
(ad-activate 'mm-inline-text-html)

Thanks

mohkale commented 3 years ago

That's stsrange, I've got notmuch installed and link-hint works fine in notmuch-show buffers.

agenbite commented 2 years ago

It works fine for me also, except for the multipart buttons, as in #205.

arkhan commented 2 years ago

Greetings, I just tried it and it works fine, thanks