unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Crni Gorac <cgorac@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: browse-url and URL type dependent actions
Date: Fri, 27 Mar 2009 15:49:28 -0700 (PDT)	[thread overview]
Message-ID: <134d7799-b430-4c8c-9857-16a30841db5b@42g2000yqk.googlegroups.com> (raw)

Am trying to change my ~/.emacs so that browse-url will start mutt on
"mailto:" links, and Firefox on other types of links.  There is an
example in browse-url source code:
 (setq browse-url-browser-function '(("^mailto:" . browse-url-mail)
                                          ("." . browse-url-firefox)))
However, instead of "browse-url-mail", I think I'd need to put "browse-
url-generic" in, and then also somehow to direct this function that
mutt should be launched (probably trough somehow setting "browse-url-
generic-program" and "browse-url-generic-args", preferably in some
kind of localized manner).  Any suggestion on how to accomplish this
properly?

Thanks.


             reply	other threads:[~2009-03-27 22:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-27 22:49 Crni Gorac [this message]
2009-03-29 12:55 ` browse-url and URL type dependent actions Crni Gorac
2009-03-30 20:01   ` Nikolaj Schumacher
     [not found]   ` <mailman.4266.1238443274.31690.help-gnu-emacs@gnu.org>
2009-03-31  5:54     ` Crni Gorac

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=134d7799-b430-4c8c-9857-16a30841db5b@42g2000yqk.googlegroups.com \
    --to=cgorac@gmail.com \
    --cc=help-gnu-emacs@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.
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).