emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Manish <mailtomanish.sharma@gmail.com>
To: Nicolas Girard <nicolas.girard@nerim.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: Link to a local html file
Date: Mon, 29 Jun 2009 19:50:29 +0530	[thread overview]
Message-ID: <e7cdbe30906290720t3ef49d63l41b458b85921003@mail.gmail.com> (raw)
In-Reply-To: <51b0095d0906290643p79145abalff08f38218ac9aca@mail.gmail.com>

  On Mon, Jun 29, 2009 at 7:13 PM, Nicolas
Girard<nicolas.girard@nerim.net> wrote:
  > Hi,
  >
  > how to create a link to a local html file, say, /path/to/file.html, so
  > that clicking on it opens the page in a browser ?

One way to define a link to a file.

--8<---------------cut here---------------start------------->8---
[[~/agenda.html][Agenda]]
--8<---------------cut here---------------end--------------->8---

Following settings from .emacs open the link in a new Firefox tab.

--8<---------------cut here---------------start------------->8---
 '(browse-url-browser-function (quote browse-url-firefox))
 '(browse-url-firefox-new-window-is-tab t)
--8<---------------cut here---------------end--------------->8---

C-c C-o opens the link.

HTH
-- 
Manish

  parent reply	other threads:[~2009-06-29 14:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-29 13:43 Nicolas Girard
2009-06-29 14:18 ` Sebastian Rose
2009-06-29 14:20 ` Manish [this message]
2009-06-29 14:20 ` Bastien
2009-06-29 15:26   ` 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=e7cdbe30906290720t3ef49d63l41b458b85921003@mail.gmail.com \
    --to=mailtomanish.sharma@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=nicolas.girard@nerim.net \
    --subject='Re: Link to a local html file' \
    /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

Code repositories for project(s) associated with this 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).