From: Sebastian Rose <sebastian_rose@gmx.de>
To: dmg@uvic.ca
Cc: emacs-orgmode@gnu.org
Subject: Re: protocol for PDFs?
Date: Mon, 04 Jan 2010 17:09:17 +0100 [thread overview]
Message-ID: <87aawtam36.fsf@gmx.de> (raw)
In-Reply-To: <86bphbhbmh.fsf@mn.cs.uvic.ca> (D. M. German's message of "Sat, 02 Jan 2010 23:48:54 -0800")
D M German <dmg@uvic.ca> writes:
> Jan> It allows you to link to any document format which doc-view-mode
> Jan> supports, which includes PDF files. The syntax is:
>
> Jan> docview:<file name>::<page number>
>
> Jan> Example:
>
> Jan> [[docview:/home/jan/some-file.pdf::7][Page 7]]
>
> I have started modifying evince. I got to the point in evince that I can
> now call emacs-client. The problem is, what do I pass to it?
>
> Will the call to emacsclient be:
>
> emascclient ort-protocol://remember://docview:/home/jan/some-file.pdf::7/TitleOfPDF/Selection
Hi Daniel,
you will have to call
emascclient ort-protocol://docview:/home/jan/some-file.pdf::7/TitleOfPDF/Selection
and define a custom handler to make this work. As docview is in the
core, you could add that handler directly in lisp/org-protocol.el if
everyone is OK with that.
I'm not online very often at the moment. I probably won't read your
answers before I tried that myself (just updated Org-mode here). I'll be
back on thursday :-/
See:
http://www.youtube.com/profile?user=Nie0815#p/u/1/h7Z2PiAcgh8
and
http://orgmode.org/worg/org-tutorials/org-protocol-custom-handler.php
for more on custom handlers.
Best wishes
Sebastian
next prev parent reply other threads:[~2010-01-04 16:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-02 8:28 protocol for PDFs? D M German
2010-01-02 15:16 ` Jan Böcker
2010-01-02 20:07 ` D M German
2010-01-02 21:17 ` D M German
[not found] ` <86bphbhbmh.fsf@mn.cs.uvic.ca>
2010-01-04 16:09 ` Sebastian Rose [this message]
2010-01-02 15:20 ` Darlan Cavalcante Moreira
2010-01-02 19:23 ` Jan Böcker
2010-01-02 20:17 ` D M German
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=87aawtam36.fsf@gmx.de \
--to=sebastian_rose@gmx.de \
--cc=dmg@uvic.ca \
--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 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.