From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Specify page number in hyperlink [to pdf] Date: Fri, 30 Apr 2010 12:03:14 -0400 Message-ID: <15830.1272643394@gamaville.dokosmarshall.org> References: <4BD87ED7.5030907@san.rr.com> <4BD9DC70.3090006@jboecker.de> <4BDA6005.2080708@san.rr.com> <26943.1272615034@gamaville.dokosmarshall.org> <4BDAE924.3020005@san.rr.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O7sgf-0007W5-Jt for emacs-orgmode@gnu.org; Fri, 30 Apr 2010 12:03:33 -0400 Received: from [140.186.70.92] (port=56629 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O7sgd-0007V5-KM for emacs-orgmode@gnu.org; Fri, 30 Apr 2010 12:03:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O7sgZ-0002OD-SA for emacs-orgmode@gnu.org; Fri, 30 Apr 2010 12:03:29 -0400 Received: from vms173015pub.verizon.net ([206.46.173.15]:64094) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O7sgZ-0002O2-O7 for emacs-orgmode@gnu.org; Fri, 30 Apr 2010 12:03:27 -0400 Received: from gamaville.dokosmarshall.org ([unknown] [173.76.32.106]) by vms173015.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0L1P00E5P5XEKT43@vms173015.mailsrvcs.net> for emacs-orgmode@gnu.org; Fri, 30 Apr 2010 11:03:15 -0500 (CDT) In-reply-to: Message from Joe Riel of "Fri, 30 Apr 2010 07:28:52 PDT." <4BDAE924.3020005@san.rr.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Joe Riel Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org Joe Riel 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