[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#23439: 25.0.93; Please integrate eww into dired

From: Lars Ingebrigtsen
Subject: bug#23439: 25.0.93; Please integrate eww into dired
Date: Tue, 24 Jan 2017 22:49:36 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Juri Linkov <address@hidden> writes:

>> There doesn't seem to be a way to invoke eww on an HTML file from dired.
>> Perhaps "v" could be overloaded to do that?  If not, then "W" seems unused.
> A recommended customization in browse-url.el
> (supposing your browser-function is eww):
> ;;    (add-hook 'dired-mode-hook
> ;;              (lambda ()
> ;;                 (local-set-key "\C-c\C-zf" 'browse-url-of-dired-file)))
> However, "v" would be shorter indeed when generalized to view files
> using mailcap to rely on their MIME types (e.g. eww for text/html, etc.)

`W' is already bound to `browse-url-of-dired-file' in dired, thereby
giving us this feature already.

(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

reply via email to

[Prev in Thread] Current Thread [Next in Thread]