From: raman <raman@google.com>
To: emacs-devel@gnu.org
Subject: Re: EWW/SHR Feature Request
Date: Wed, 13 Jul 2016 19:44:29 -0700 [thread overview]
Message-ID: <p917fcpndki.fsf@google.com> (raw)
In-Reply-To: <21292.24135.442736.223060@lapdog.roam.corp.google.com> (T. V. Raman's message of "Fri, 21 Mar 2014 08:44:07 -0700")
Following up to myself:
For now I solved my use-case by advising
eww-browse-with-external-browser -- that function is presently called by
EWW for content-types matching
eww-use-external-browser-for-content-type
the default value of that var is
"\\`\\(video/\\|audio/\\|application/ogg\\)"
i.e. video/audio types, and those were the types I wanted to handle
within Emacs.
Longer term, there are two ways we could go:
1. EWW already has functions for handling PDF, img types etc. -- we
could set EWW up to handle audio/video via a user configurable
function, with the default handing off to a full-blown browser as now.
2. The other alternative would be to process the user's mailcap file,
but that might not be ideal because in general most users will want the
.mailcap file to govern their primary browser's behavior.
--
prev parent reply other threads:[~2016-07-14 2:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-21 15:44 EWW/SHR Feature Request T. V. Raman
2014-03-21 16:48 ` Nicolas Richard
2014-03-21 18:04 ` Vibhav Pant
2014-03-21 18:36 ` T.V Raman
2014-03-21 21:03 ` Lars Magne Ingebrigtsen
2014-03-22 10:22 ` Willem Rein Oudshoorn
2016-07-14 2:44 ` raman [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=p917fcpndki.fsf@google.com \
--to=raman@google.com \
--cc=emacs-devel@gnu.org \
/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 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).