emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ross Glover <ross@ross.mayfirst.org>
To: Rainer M Krug <r.m.krug@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Okular Metadata to Org
Date: Mon, 22 Nov 2010 07:53:46 -0500	[thread overview]
Message-ID: <874ob9zfhh.fsf@irigaray.ross.mayfirst.org> (raw)
In-Reply-To: <4CEA3435.9080600@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 2835 bytes --]


On Mon, 22 Nov 2010 10:13:25 +0100, Rainer M Krug <r.m.krug@gmail.com> wrote:

Hi Rainer,

Thanks for your feedback.  Your thoughts are quite helpful and give me
some ideas and motivation.

> 
> 1) Are you planning to also include the edits (new text, ...) into the
> org file, as it would be useful to have all those in it.

Yes, I've been working on this.  The difficulty I currently face is
getting the correct regex.  Because all of the data below the header is
a single string, my approach is to pull the string after the file
heading and then compare the okular string with the org-mode string.
Unfortunately, I've not yet figured out the correct regular expression.

> 
> 2) Would it be possible to re-use an existing okular instance? it is a
> little bit annoying to have several instances open, when browsing
> through notes.

This is an interesting question.  At the moment, I'm not sure that this
is possible.  Since okular doesn't run as a daemon, there's no way (that
I know of) to communicate with a given instance, but I agree it would be
nice.  I'll look into how okular manages opening files within an
instance and see if I can figure out a way.  

> 
> As I said, I like the script, and I am thinking about running this as a
> batch job each time I start emacs.

Sweet!  I'm glad you find it useful.
> 
> Now we just need the opposite: click in a pdf at a certain location and
> org opens with the link to there to add the note - am I dreaming here?
> 

Now that's bold.  I've been looking at this
http://orgmode.org/worg/org-contrib/org-protocol.php wondering if
there's a way to get more interaction.  By looking at, I mean I just
noticed it last week, I don't know how possible it is, but you're right,
such a thing would be a great interface.  Rule nothing out!

> Cheers,
> 
> Rainer
> 
> > 
> > Hopefully someone else will find this useful,
> > 
> > Ross
> > 
> 
> 
> - -- 
> Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
> Biology, UCT), Dipl. Phys. (Germany)
> 
> Centre of Excellence for Invasion Biology
> Natural Sciences Building
> Office Suite 2039
> Stellenbosch University
> Main Campus, Merriman Avenue
> Stellenbosch
> South Africa
> 
> Tel:        +33 - (0)9 53 10 27 44
> Cell:       +27 - (0)8 39 47 90 42
> Fax (SA):   +27 - (0)8 65 16 27 82
> Fax (D) :   +49 - (0)3 21 21 25 22 44
> Fax (FR):   +33 - (0)9 58 10 27 44
> email:      Rainer@krugs.de
> 
> Skype:      RMkrug
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iEYEARECAAYFAkzqNDUACgkQoYgNqgF2egp9MwCfYracbYeqLz75q20SzrPY3MOv
> wEQAn3Z5GIpyVhOBbAQz8ISJI4E4udGW
> =/1s/
> -----END PGP SIGNATURE-----

-- 


Sent from an Emacs buffer.

[-- Attachment #1.2: Type: application/pgp-signature, Size: 489 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

      reply	other threads:[~2010-11-22 12:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-20  0:51 Ross Glover
2010-11-22  9:13 ` Rainer M Krug
2010-11-22 12:53   ` Ross Glover [this message]

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=874ob9zfhh.fsf@irigaray.ross.mayfirst.org \
    --to=ross@ross.mayfirst.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=r.m.krug@gmail.com \
    --subject='Re: Okular Metadata to 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

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).