From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: Capture failure [7.7] Date: Sun, 18 Dec 2011 20:39:11 +0100 Message-ID: <87wr9tk6u8.wl%dmaus@ictsoc.de> References: <8739cqo1s3.fsf@iro.umontreal.ca> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Sun_Dec_18_20:39:11_2011-1"; micalg=pgp-sha256; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:57945) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RcMZv-0006Qs-9H for emacs-orgmode@gnu.org; Sun, 18 Dec 2011 14:39:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RcMZu-0000KD-7d for emacs-orgmode@gnu.org; Sun, 18 Dec 2011 14:39:23 -0500 Received: from app1a.xlhost.de ([213.202.242.161]:59379) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RcMZu-0000K7-1R for emacs-orgmode@gnu.org; Sun, 18 Dec 2011 14:39:22 -0500 In-Reply-To: <8739cqo1s3.fsf@iro.umontreal.ca> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: =?UTF-8?B?RnJhbsOnb2lz?= Pinard Cc: emacs-orgmode@gnu.org --pgp-sign-Multipart_Sun_Dec_18_20:39:11_2011-1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable At Sun, 11 Dec 2011 23:24:28 -0500, Fran=C3=A7ois Pinard wrote: >=20 > Hi, Org mode people. >=20 > I had some misery trying to debug a special personal machinery to > capture URLs from Chrome into Org. Not worth detailing here. And > moreover, as it works now, I'm happy with this. >=20 > However, I had to make the following modification to get it going. I'm > not sure what are the meaning of "beg" and "end" in this function, so > someone knowledgeable should check if (point) is appropriate as a value. >=20 > One sure thing is that "beg" and "end" should be initialized, as they > get later consulted in the function, and whenever :exact-position got a > value, that initialization does not occur. As far as I can see :exact-position is set when the target is `file+regexp', `file+function', or `function' and the error would be triggered if you combine one of these targets with the :prepend option. What capture template target are you using? Best, -- David --=20 OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... dmaus@ictsoc.de --pgp-sign-Multipart_Sun_Dec_18_20:39:11_2011-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EABEIAAYFAk7uQV8ACgkQma24O1pEeOYfgQD9Hv9/MvQXKyiMCc80OhU5ir2L dldL609jHym6zsyIyPAA/3wzQsi30XBd+Y4b+XbA+utv3fpSQ9fsbsmupsUfwddu =inNT -----END PGP SIGNATURE----- --pgp-sign-Multipart_Sun_Dec_18_20:39:11_2011-1--