Disable Warning: FAIL: (file-error "Cannot open load file" "w3m-util")
I manage to open link in external browser and fix navigation command so pretty ok with HTML parts.
--- a/.emacs-my Thu Dec 10 21:39:41 2015 +0200
+++ b/.emacs-my Thu Dec 10 21:58:03 2015 +0200
@@ -1835,14 +1835,16 @@
;; all messages with duplicate message IDs.
(setq nnmail-treat-duplicates 'delete)
-;; Do not use the html part of a message, use the text part if possible!
-(setq mm-discouraged-alternatives '("text/html" "text/richtext"))
+;; To disable html part of a message:
+;; (setq mm-discouraged-alternatives '("text/html" "text/richtext"))
+;; I manage to open link in external browser and fix navigation command so pretty ok with HTML parts.
+(setq mm-discouraged-alternatives '("text/richtext"))
(setq mm-text-html-renderer 'w3m)
(eval-when-compile
- (condition-case err
- (require 'w3m-util)
- (error (byte-compile-warn "FAIL: %S" err))))
+ (ignore-errors
+ ;; w3m-anchor is macros in newer Emacs, need definition during byte-compilation.
+ (require 'w3m-util)))
(defun my-w3m-view-url ()
(interactive)