From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
Received: from mp2 ([2001:41d0:2:4a6f::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms11 with LMTPS
	id CIDNIoNZ1l+mQAAA0tVLHw
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sun, 13 Dec 2020 18:12:19 +0000
Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp2 with LMTPS
	id mMdtHoNZ1l8sWgAAB5/wlQ
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sun, 13 Dec 2020 18:12:19 +0000
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 D08E094014B
	for <larch@yhetil.org>; Sun, 13 Dec 2020 18:12:18 +0000 (UTC)
Received: from localhost ([::1]:53816 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	id 1koVqz-0003lv-PI
	for larch@yhetil.org; Sun, 13 Dec 2020 13:12:17 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:34588)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <daniela-spit@gmx.it>)
 id 1koVqO-0003lh-FZ; Sun, 13 Dec 2020 13:11:40 -0500
Received: from mout.gmx.net ([212.227.17.21]:41001)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <daniela-spit@gmx.it>)
 id 1koVqM-0007Ta-Lt; Sun, 13 Dec 2020 13:11:40 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1607883095;
 bh=6oSyHDdftUXAUISo9bWIuj0z2n4JXnpFnBEAzo6Wi+w=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References;
 b=DLPwVWPW+fVX/3NHVmym4QuOCOwwe+DTXDRrMCC0BAxofOxUD8mwFztrQKdPWBZ7Z
 XfzBUfW8MaL3Dxz5UdM/G0nZBEv8xPemKQBGSJj+XWkbFWIbQAbmk1xsP7202YaJ8A
 U1DvBKTHRBJQJiIpBukcYKTMFhnOBN6i+Pn22mRE=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net
 (3c-app-mailcom-bs09.server.lan [172.19.170.177]) (via HTTP); Sun, 13 Dec
 2020 19:11:35 +0100
MIME-Version: 1.0
Message-ID: <trinity-556ef0cf-3d09-4d6e-8b12-5243ed47a744-1607883095307@3c-app-mailcom-bs09>
From: daniela-spit@gmx.it
To: Diego Zamboni <diego@zzamboni.org>
Subject: Re: org-capture user-error: Abort
Content-Type: text/html; charset=UTF-8
Date: Sun, 13 Dec 2020 19:11:35 +0100
Importance: normal
Sensitivity: Normal
In-Reply-To: <CAGY83EeBBb78OhLpdZv3zfDhCwFKA_fbpdYZaQkOLaYDUj3ZAA@mail.gmail.com>
References: <trinity-4e4d320f-8853-40d7-a65a-47645e323f67-1607804156468@3c-app-mailcom-bs06>
 <87sg8a5x98.fsf@localhost>
 <CAGY83EeBBb78OhLpdZv3zfDhCwFKA_fbpdYZaQkOLaYDUj3ZAA@mail.gmail.com>
X-UI-Message-Type: mail
X-Priority: 3
X-Provags-ID: V03:K1:IT+9FwqFXG/a21qHn2+Ljw71aD9VyE8flI1aZvijOW1rpEk02qQUNBpwDuwTg95da21bR
 XwJ4JJv+xCLfDGlNaoguK0iNGKiZ5UI5tHs6qx55XaJicLuFaukDoK7m54b8Du9L5jJ2Bcqss9e+
 gjaAQkCXbCuElKtVZ4AGpNt1CRcp5SqmJ8VrE6pN6E5HSDrtYd18Ui1Fo71Fc7mXjiUamvrF3sOD
 DsrSDTtGnFMyZOg9jzHK9lab8LBxAKMsMO3Y0AWO+rtBAjfLnPYAMqTHxAUbT5mTyeveUOc9t9A9
 gE=
X-UI-Out-Filterresults: notjunk:1;V03:K0:iLd7aUAA2wk=:rAsPjjAfX778kJDmakh50x
 752UiU5efHveNSwpeVaP/FOykRQT8PwIBdd62KcptMxemIWLhnBxRnusIFtuusnORofPuaNU5
 D/4Ta8712ozjsyUCTc+1m/KefIYhoyM5jqLN9h5seNjUn8IJTz+qFZWUUxkYjVqaba0mcjsmf
 2td+lKUbPV5O54GCh3A7HsJt9xmAucQZc/elWRP4ncZ0XAaMkVrJcuQndFPsUh0nq0x4znxIi
 3aCMF21QfrsYtDtyFmoYyoIMzT2vca+OHGl39j/BpOP9WXVfaCp4YckIVmRDovncLNqeaJGy8
 nyU+YekBp5RWfWE7o2WIyK36x/vwOBwIlWTgxLBSSIE1wy+RQcc3LMXOFYpkLW2IOwiLaAWl1
 pjGPXrBYjUZ3l3m1SuyT11KA5Yq2dcGOvI69QOcW29hwT9uLsgj5d/kjBMvCosAv7AYznmsQi
 sdGq8xSy/InERT05czCIhOdo85YykXM7DMicZjcgLxDkIbFkDcnWpyLNeXQzfQ/2h3pYg8pn3
 c8G4cPKPclhfsUu1zCsCXHnvA1avELsn6Nb7qtFtxckbZTmBZUAkv95V+JBs3H/vlAHBY5qK8
 Amp6N2tnbjsRM=
Received-SPF: pass client-ip=212.227.17.21; envelope-from=daniela-spit@gmx.it;
 helo=mout.gmx.net
X-Spam_score_int: -24
X-Spam_score: -2.5
X-Spam_bar: --
X-Spam_report: (-2.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, MIME_HTML_ONLY=0.1,
 RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: emacs-orgmode@gnu.org
X-Mailman-Version: 2.1.23
Precedence: list
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=subscribe>
Cc: bug-gnu-emacs@gnu.org, Org-Mode mailing list <emacs-orgmode@gnu.org>,
 Ihor Radchenko <yantar92@gmail.com>
Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org
Sender: "Emacs-orgmode" <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
X-Migadu-Flow: FLOW_IN
X-Migadu-Spam-Score: -0.50
Authentication-Results: aspmx1.migadu.com;
	dkim=fail (headers rsa verify failed) header.d=gmx.net header.s=badeba3b8450 header.b=DLPwVWPW;
	dmarc=none;
	spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org
X-Migadu-Queue-Id: D08E094014B
X-Spam-Score: -0.50
X-Migadu-Scanner: scn1.migadu.com
X-TUID: nGYhqj54ccY/

<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>&nbsp;</div>

<div>&nbsp;
<div>&nbsp;
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Sent:</b>&nbsp;Sunday, December 13, 2020 at 7:07 PM<br/>
<b>From:</b>&nbsp;&quot;Diego Zamboni&quot; &lt;diego@zzamboni.org&gt;<br/>
<b>To:</b>&nbsp;&quot;Ihor Radchenko&quot; &lt;yantar92@gmail.com&gt;<br/>
<b>Cc:</b>&nbsp;daniela-spit@gmx.it, bug-gnu-emacs@gnu.org, &quot;Org-Mode mailing list&quot; &lt;emacs-orgmode@gnu.org&gt;<br/>
<b>Subject:</b>&nbsp;Re: org-capture user-error: Abort</div>

<div name="quoted-content">
<div>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin: 0.0px 0.0px 0.0px 0.8ex;border-left: 1.0px solid rgb(204,204,204);padding-left: 1.0ex;"><br/>
&gt; Emacs fires &quot;user-error: Abort&quot; after pressing &quot;q&quot; to abort org-capture.<br/>
<br/>
This is intended. Normally, it just shows up as a message in the<br/>
minibuffer. Or do you have debug-on-error enabled?</blockquote>

<div>&nbsp;</div>

<div>Same as Ihor, when I press &#96;q&#96; in the org-capture screen I only see &quot;Abort&quot; in the minibuffer. Where do you see the &#96;user-error&#96;?&nbsp; As long as the effect is what you need (getting out of the capture screen), what is the problem with the code using the &#96;user-error&#96; function to achieve this effect?</div>

<div>&nbsp;</div>

<div>I use it to build my templates (incl. switching between templates) and could get many errors.</div>

<div>To test functionality, I custamarily abort the capture.</div>

<div>&nbsp;</div>

<div>&nbsp;</div>
</div>
</div>
</div>
</div>
</div>
</div></div></body></html>