From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Holst Subject: capture - function-finding-location in TARGET: return value? Date: Thu, 8 Mar 2012 15:47:03 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:52081) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5ecl-0003YE-KT for emacs-orgmode@gnu.org; Thu, 08 Mar 2012 09:47:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S5ecj-0007Xr-TN for emacs-orgmode@gnu.org; Thu, 08 Mar 2012 09:47:23 -0500 Received: from smtp2-v.fe.bosch.de ([139.15.237.6]:34386) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5ecj-0007Xl-Mq for emacs-orgmode@gnu.org; Thu, 08 Mar 2012 09:47:21 -0500 Received: from vsmta13.fe.internet.bosch.com (unknown [10.4.98.30]) by imta24.fe.bosch.de (Postfix) with ESMTP id AB7F0B3B8679 for ; Thu, 8 Mar 2012 15:46:48 +0100 (CET) Received: from localhost (vsgw2.fe.internet.bosch.com [10.4.98.13]) by vsmta13.fe.internet.bosch.com (Postfix) with SMTP id F22A2384023D for ; Thu, 8 Mar 2012 15:47:18 +0100 (CET) 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: "emacs-orgmode@gnu.org" Hello, I am trying to write a function to find the location where capture will put the captured item. The manual states, that a target configuration like : (file+function "path/to/file" function-finding-location) is possible. My question is, what is the function supposed to reurn? - a string with the headline - a location in the buffer - ... I searched the manual but did not find an answer. Thanks. --=20 Mit freundlichen Gr=FC=DFen / Best regards=20 Thomas Holst=20 DGS-EC/ESE4 Tel. +49 (711) 811-40681 PC-Fax +49 (711) 811-5182208