From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ross Glover Subject: Re: Okular Metadata to Org Date: Mon, 22 Nov 2010 07:53:46 -0500 Message-ID: <874ob9zfhh.fsf@irigaray.ross.mayfirst.org> References: <87wro8zuk4.fsf@irigaray.ross.mayfirst.org> <4CEA3435.9080600@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1914358163==" Return-path: Received: from [140.186.70.92] (port=39094 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PKVuR-000809-EE for emacs-orgmode@gnu.org; Mon, 22 Nov 2010 07:54:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PKVuM-0003ds-EL for emacs-orgmode@gnu.org; Mon, 22 Nov 2010 07:54:15 -0500 Received: from malcolm.mayfirst.org ([209.51.163.199]:54284) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PKVuM-0003dk-C9 for emacs-orgmode@gnu.org; Mon, 22 Nov 2010 07:54:10 -0500 In-Reply-To: <4CEA3435.9080600@gmail.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: Rainer M Krug Cc: emacs-orgmode@gnu.org --===============1914358163== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Transfer-Encoding: quoted-printable On Mon, 22 Nov 2010 10:13:25 +0100, Rainer M Krug wrot= e: Hi Rainer, Thanks for your feedback. Your thoughts are quite helpful and give me some ideas and motivation. >=20 > 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. >=20 > 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.=20=20 >=20 > 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. >=20 > 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? >=20 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, >=20 > Rainer >=20 > >=20 > > Hopefully someone else will find this useful, > >=20 > > Ross > >=20 >=20 >=20 > - --=20 > Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation > Biology, UCT), Dipl. Phys. (Germany) >=20 > Centre of Excellence for Invasion Biology > Natural Sciences Building > Office Suite 2039 > Stellenbosch University > Main Campus, Merriman Avenue > Stellenbosch > South Africa >=20 > 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 >=20 > Skype: RMkrug > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ >=20 > iEYEARECAAYFAkzqNDUACgkQoYgNqgF2egp9MwCfYracbYeqLz75q20SzrPY3MOv > wEQAn3Z5GIpyVhOBbAQz8ISJI4E4udGW > =3D/1s/ > -----END PGP SIGNATURE----- =2D-=20 Sent from an Emacs buffer. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQEcBAEBAgAGBQJM6mfbAAoJEN19WIXuwWi60u0H/2N1DFwaPUJwY/qrLgRK/VF+ c5065EpEwD7NUReMKxehZiwnXQp3ZAVmoZ9PngB+6OJCqPIBh7e/4S7J2DhcOhxq Jg9YnUv3oUomF2WAb5Gj0Mhiz9RgZZ+nlJ3v0oVRE6yfbUpBOdc5GrSN/NuqUdN+ svevIOJumP7CqGFRiVY+DtPHjFWvYvYVgWYglWrq/8513/tqiH4+YgZm1NRAUPos ipzuyrRRekmxDYKwTZtliUtCqwQdsA7lGsPvZr2KEKUvRLSO76g+t6A395BWoipe 2qBTTGxVT2oPWGF/87O0tjKhbdu8N5gOYQ0vccEAiHTi5eiCsff1/qkvSY19oC4= =5S34 -----END PGP SIGNATURE----- --=-=-=-- --===============1914358163== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1914358163==--