all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Juri Linkov <juri@linkov.net>
Cc: 23439@debbugs.gnu.org,
	Juliusz Chroboczek <jch@pps.univ-paris-diderot.fr>
Subject: bug#23439: 25.0.93; Please integrate eww into dired
Date: Tue, 24 Jan 2017 22:49:36 +0100	[thread overview]
Message-ID: <87lgu0ku1b.fsf@gnus.org> (raw)
In-Reply-To: <87wpn86ywc.fsf@mail.linkov.net> (Juri Linkov's message of "Thu,  05 May 2016 23:19:31 +0300")

Juri Linkov <juri@linkov.net> 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	other threads:[~2017-01-24 21:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-03 23:37 bug#23439: 25.0.93; Please integrate eww into dired Juliusz Chroboczek
2016-05-04  8:16 ` Stephen Berman
2016-05-05 20:19 ` Juri Linkov
2017-01-24 21:49   ` Lars Ingebrigtsen [this message]
2017-01-25 13:20     ` Juliusz Chroboczek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lgu0ku1b.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=23439@debbugs.gnu.org \
    --cc=jch@pps.univ-paris-diderot.fr \
    --cc=juri@linkov.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.