From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: "Pablo S. Casas" <pabloscasas@gmail.com>
Cc: AW <alexander.willand@t-online.de>, emacs-orgmode@gnu.org
Subject: Re: orgmode & pdf-tools
Date: Mon, 25 Jul 2016 13:47:25 +0200 [thread overview]
Message-ID: <87a8h6vt0y.fsf@saiph.selenimh> (raw)
In-Reply-To: <20160724.200304.2127422935039262718.pabloscasas@gmail.com> (Pablo S. Casas's message of "Sun, 24 Jul 2016 20:03:04 +0200 (CEST)")
Hello,
Pablo S. Casas <pabloscasas@gmail.com> writes:
> After edebugging org-open-file I found a possible solution. The
> documentation string for org-file-apps should be modified for the sexp
> case to use the link variable instead of file.
>
> #+BEGIN_SRC elisp
> (add-to-list 'org-file-apps '("\\.pdf\\'" . (org-pdfview-open link)))
> (add-to-list 'org-file-apps '("\\.pdf::\\(\\d+\\)\\'" . (org-pdfview-open link)))
> #+END_SRC
I'm not sure about what the initial problem is, but there is no more
"sexp" case in `org-file-apps' in development version. You can use
a function instead.
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2016-07-25 11:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-03 10:19 orgmode & pdf-tools AW
2016-04-19 19:53 ` AW
2016-07-24 18:03 ` Pablo S. Casas
2016-07-25 11:47 ` Nicolas Goaziou [this message]
2016-08-16 11:19 ` AW
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a8h6vt0y.fsf@saiph.selenimh \
--to=mail@nicolasgoaziou.fr \
--cc=alexander.willand@t-online.de \
--cc=emacs-orgmode@gnu.org \
--cc=pabloscasas@gmail.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.