emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "William Henney" <whenney@gmail.com>
To: Bastien <bzg@altern.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Wish list: Storing links and enabling MIME actions on files
Date: Thu, 27 Sep 2007 12:51:36 -0500	[thread overview]
Message-ID: <41c818190709271051k46b19d96x5246fc8566c87a4b@mail.gmail.com> (raw)
In-Reply-To: <87lkasxbqt.fsf@bzg.ath.cx>

On 9/27/07, Bastien <bzg@altern.org> wrote:
> Bernt Hansen <bernt@alumni.uwaterloo.ca> writes:
> > I'd like to be able to link to the file easily for my org document and
> > have it invoke the appropriate viewer as defined in my MIME setup.
>
> Org uses the local mailcap setup to decide what application to open a
> file with.  Don't you have this on your computer?
>
> ~$ man mailcap
>

This is just for linux/unix, but things work fine for me on Mac OS X
too (e.g., file:foo.pdf links open in my default PDF viewer).

This should have been set up out of the box by one of the following
variables, depending on your system

`org-file-apps-defaults-macosx'
`org-file-apps-defaults-windowsnt'
`org-file-apps-defaults-gnu'


Cheers

Will

-- 

  Dr William Henney, Centro de Radioastronomía y Astrofísica,
  Universidad Nacional Autónoma de México, Campus Morelia

  reply	other threads:[~2007-09-27 17:51 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-27 16:43 Wish list: Storing links and enabling MIME actions on files Bernt Hansen
2007-09-27 17:24 ` Bastien
2007-09-27 17:51   ` William Henney [this message]
2007-09-27 18:02     ` Bastien
2007-09-27 18:15       ` William Henney
2007-09-27 19:35         ` Bastien
2007-09-27 18:44   ` Bernt Hansen
2007-09-27 22:50     ` Bastien
2007-09-27 23:08       ` Bernt Hansen
2007-09-27 18:01 ` Carsten Dominik
2007-09-27 18:38   ` Bernt Hansen
2007-09-27 19:08     ` Bernt Hansen
2007-09-27 19:39       ` Bastien

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=41c818190709271051k46b19d96x5246fc8566c87a4b@mail.gmail.com \
    --to=whenney@gmail.com \
    --cc=bzg@altern.org \
    --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).