unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#23439: 25.0.93; Please integrate eww into dired
@ 2016-05-03 23:37 Juliusz Chroboczek
  2016-05-04  8:16 ` Stephen Berman
  2016-05-05 20:19 ` Juri Linkov
  0 siblings, 2 replies; 5+ messages in thread
From: Juliusz Chroboczek @ 2016-05-03 23:37 UTC (permalink / raw)
  To: 23439

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.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#23439: 25.0.93; Please integrate eww into dired
  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
  1 sibling, 0 replies; 5+ messages in thread
From: Stephen Berman @ 2016-05-04  8:16 UTC (permalink / raw)
  To: Juliusz Chroboczek; +Cc: 23439

On Wed, 04 May 2016 01:37:57 +0200 Juliusz Chroboczek <jch@pps.univ-paris-diderot.fr> wrote:

> 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.

In my setup I use "E" to invoke eww on an HTML file from dired.

Steve Berman





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#23439: 25.0.93; Please integrate eww into dired
  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
  1 sibling, 1 reply; 5+ messages in thread
From: Juri Linkov @ 2016-05-05 20:19 UTC (permalink / raw)
  To: Juliusz Chroboczek; +Cc: 23439

> 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.)





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#23439: 25.0.93; Please integrate eww into dired
  2016-05-05 20:19 ` Juri Linkov
@ 2017-01-24 21:49   ` Lars Ingebrigtsen
  2017-01-25 13:20     ` Juliusz Chroboczek
  0 siblings, 1 reply; 5+ messages in thread
From: Lars Ingebrigtsen @ 2017-01-24 21:49 UTC (permalink / raw)
  To: Juri Linkov; +Cc: 23439, Juliusz Chroboczek

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





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#23439: 25.0.93; Please integrate eww into dired
  2017-01-24 21:49   ` Lars Ingebrigtsen
@ 2017-01-25 13:20     ` Juliusz Chroboczek
  0 siblings, 0 replies; 5+ messages in thread
From: Juliusz Chroboczek @ 2017-01-25 13:20 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 23439, Juri Linkov

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

Thanks Lars.  Yes, that works for me.





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-01-25 13:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2017-01-25 13:20     ` Juliusz Chroboczek

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).