From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id ePZDJTZ/cWbqrwAAqHPOHw:P1 (envelope-from ) for ; Tue, 18 Jun 2024 12:36:06 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id ePZDJTZ/cWbqrwAAqHPOHw (envelope-from ) for ; Tue, 18 Jun 2024 14:36:06 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=inIdSPSc; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1718714166; a=rsa-sha256; cv=none; b=Dfv/t1KIrMHq/V56Z/GdkQ01PcR22mUhSbUecWYgrPARSBN9dn3RrV7GGuKtFbO/AxCOJD wl0HPN+l0cFqfJo+AnsADfTtokYOP7IpEYlXm7rz+PvtX7dy4BNvAQRMIGTtfn3l29yM0T 45AYBma4ixmUKNpgFIwg9P5kCwQEp5z5hRqapxxhcHH+L6Bx85kOkFR1BINj60FxgHomHF 8rsEqhob5G2w+4+7rmAjFfoGn6lz/sunv4vgDrM9gzCD6U8My6U5Q6ouB0hOXV6JG7Vx8s D2XME9JU9vvc8ZJ9p8oH42rRcfYnLSwMeEAtOiHiHvFrWdF2fISGL2jI6pMumQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=inIdSPSc; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1718714166; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=N/6mJO547iCRci+Y5oXQGCFhX+z+KA3Zcgq+DQt3JWs=; b=U+NW47qvvCx9W54oDBRd/ABC4PMl29I1KSkMVwbaCVVmbR4JGQEXbxxCUOuHVMt97X0fFA eOJI+mncXw1cPqeOaW7PmGPr8vc3BKWu2dZp9SFN0KHeM3R7kD2WLQFLB9JjDEWS2mm87S 5Q9a3cUQVm1wTz/40E39B4/OjN5HfcnqmE1QQrCtw4UshcwrcAlxwooL0ea1UOaHRC5lOy z4v/c0IDm7FXqO1bO9TgWTF7XlPp/tiS+afXw84c58SvqyAdoSNikWdUyIcg5P4uiKpEiW lEdFJ5WCSkbXZx1/CgHX7ZaIgGuPBh4GRroLQF0c+Txv3i7iqPz5giZ9YFG+Ow== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1C2C31AEDA for ; Tue, 18 Jun 2024 14:36:06 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sJY3I-0004o1-9q; Tue, 18 Jun 2024 08:35:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sJY3H-0004ne-2x for emacs-orgmode@gnu.org; Tue, 18 Jun 2024 08:35:07 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sJY3E-0003N4-CG for emacs-orgmode@gnu.org; Tue, 18 Jun 2024 08:35:06 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id CBC4B240101 for ; Tue, 18 Jun 2024 14:35:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1718714101; bh=pIK8LwSpYpKcplDxP5ODJ9BEPDFadkaVzaS9fb+gRbE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=inIdSPSc0mge45MO54UaJTKIVKyG+7PrnKMX8P2+jpVp+K8DWop+RCynzV01GEc1/ Z0Ikb480GGgu5Sh9VVaAF3AXjvjZhrzr8wfDnVa9WnotwxfWozStYnK4u0RMxlu2cP ua7Melpy9tK8WcdcicJ+ExDNYXfweF1bJiOvHQqoNEOF/ORE1yZUBYEloZ6WYjsD8Q ZUNnlpre5s7B/F2htW7wERC+1VVWl2n1AeqnAfjmSC2aUPXaf5PKcu9C79NDcP2W4p Eb5QkAGcuIBifOuEKRU8gZhD49OkzPmMxou7BNWnaVUy0Ebf6Oeg+fUiTR6zpwLiuR sG9urUEIgDB1A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4W3R6F1FHcz6tyg; Tue, 18 Jun 2024 14:35:01 +0200 (CEST) From: Ihor Radchenko To: Nafiz Islam Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH] function and symbol for headline and olp for org-capture-templates In-Reply-To: <87afeb0a-f015-4097-99df-16d836fdbe3d@gmail.com> References: <42f22002-b17b-40ab-a8de-3a0df5091be9@gmail.com> <87plsvpxh5.fsf@localhost> <3508dbb0-a8ee-4217-af21-a9fc3ac46eb9@gmail.com> <874ja4ak0q.fsf@localhost> <87sexdt6yf.fsf@localhost> <87plsfa2nt.fsf@localhost> <87afeb0a-f015-4097-99df-16d836fdbe3d@gmail.com> Date: Tue, 18 Jun 2024 12:36:45 +0000 Message-ID: <87wmmmsa02.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -9.57 X-Migadu-Scanner: mx12.migadu.com X-Spam-Score: -9.57 X-Migadu-Queue-Id: 1C2C31AEDA X-TUID: Sm+ihvytegbk Nafiz Islam writes: > >Why (t nil)? It would be more sensible to throw an error. > > I believe that was already addressed. > + (or final-headline + (error "Invalid headline: %S" headline)))) Right, I was only looking at pcase, which did not appear to be changed. Applied, onto main, after some minor copyedits. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=5265153fc Thanks for your contribution! You are now added to Org contributor list: https://git.sr.ht/~bzg/worg/commit/a46b598e -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at