emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Joe Riel <joer@san.rr.com>
Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: Specify page number in hyperlink [to pdf]
Date: Fri, 30 Apr 2010 12:03:14 -0400	[thread overview]
Message-ID: <15830.1272643394@gamaville.dokosmarshall.org> (raw)
In-Reply-To: Message from Joe Riel <joer@san.rr.com> of "Fri, 30 Apr 2010 07:28:52 PDT." <4BDAE924.3020005@san.rr.com>

Joe Riel <joer@san.rr.com> wrote:

> That is fine, though I'll apply the patch.  There does appear to
> be another bug, or my misunderstanding.  That is, even
> without the link,
> 
>  [[file:/home/joe/sample.pdf]]
> 
> does not work properly.  That is, clicking on it (mouse 1)
> opens the pdf inside emacs rather than in a standalone pdf reader.
> Previously
> that wasn't the case (if memory serves).  Using
> 
>  [[file:/home/joe/sample.pdf::1]]
> 
> for the link opens it in a standalone reader.
> 
> 

Probably because you have an explicit setting for the latter in
org-file-apps (as Jan suggested) but not for the former. There are many
twisty passages here, but I think that in the end emacs looks at your
mailcap: if it finds no match there then it opens it itself.

I have 

application/pdf; xpdf -q %s

in my ~/.mailcap and indeed the link opens in xpdf.

HTH,
Nick

  reply	other threads:[~2010-04-30 16:03 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-28 18:30 Specify page number in hyperlink [to pdf] Joe Riel
2010-04-29 19:22 ` Jan Böcker
2010-04-30  4:27   ` Joe Riel
2010-04-30  4:43   ` Joe Riel
2010-04-30  8:10     ` Nick Dokos
2010-04-30 13:05       ` Jan Böcker
2010-04-30 15:24         ` Nick Dokos
2010-04-30 15:28           ` Carsten Dominik
2010-04-30 14:28       ` Joe Riel
2010-04-30 16:03         ` Nick Dokos [this message]
2010-04-30 17:23           ` Joe Riel

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=15830.1272643394@gamaville.dokosmarshall.org \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=joer@san.rr.com \
    /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).