From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: failure mode of capture file+headline Date: Sat, 03 Jan 2015 11:49:42 +0100 Message-ID: <87a92087g9.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55422) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7MGC-0002gq-Vg for emacs-orgmode@gnu.org; Sat, 03 Jan 2015 05:48:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y7MG9-0004uV-Lq for emacs-orgmode@gnu.org; Sat, 03 Jan 2015 05:48:44 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:51624) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7MG9-0004tb-FS for emacs-orgmode@gnu.org; Sat, 03 Jan 2015 05:48:41 -0500 In-Reply-To: (Samuel Wales's message of "Fri, 2 Jan 2015 18:47:56 -0700") 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: Samuel Wales Cc: emacs-orgmode@gnu.org Hello, Samuel Wales writes: > file+headline falls back to creating a new task at the end of the > buffer if the target does not exist. is there an option to make it > error? i know i can use id instead. I don't think so. But you can use file+function instead (and throw an error when necessary) Regards, -- Nicolas Goaziou