emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Paul Chany <csanyipal@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Open link file:///path/index.html with w3m-el
Date: Wed, 16 Jun 2010 13:28:22 +0200	[thread overview]
Message-ID: <878w6f5i95.fsf@debian-laptop.localdomain> (raw)

Hi,

I have setup custom-variable 'browse-url-browser-function' to
'w3m-browse-url' but it works only with links 'http://etc./index.html

When in an org file have a link 'file:///path/index.html' I want to open
it with w3m-browse-url too but don't know how to setup this?

I tried setup the customn-variable
'(org-file-apps (quote ((auto-mode . emacs) ("\\.x?html?\\'"
. w3m-browse-url) ("\\.pdf\\'" . default))))

but this doesn't work. I don't know how to write the Lisp form to this
to work?

How can I setup org-file-apps to open a html file with w3m-el?

Any advices will be appreciated!

-- 
Regards,
Paul Chany
You can freely correct my English.
http://csanyi-pal.info

                 reply	other threads:[~2010-06-16 11:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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.orgmode.org/

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

  git send-email \
    --in-reply-to=878w6f5i95.fsf@debian-laptop.localdomain \
    --to=csanyipal@gmail.com \
    --cc=emacs-orgmode@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/org-mode.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).