From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 sP7SD5NY1l8aMgAA0tVLHw (envelope-from ) for ; Sun, 13 Dec 2020 18:08: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 MLetC5NY1l+fWwAAB5/wlQ (envelope-from ) for ; Sun, 13 Dec 2020 18:08: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 DECC394014B for ; Sun, 13 Dec 2020 18:08:18 +0000 (UTC) Received: from localhost ([::1]:48890 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koVn7-0001Sn-RY for larch@yhetil.org; Sun, 13 Dec 2020 13:08:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33930) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koVmk-0001SX-F1 for emacs-orgmode@gnu.org; Sun, 13 Dec 2020 13:07:54 -0500 Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]:45784) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1koVmi-00072u-Mi for emacs-orgmode@gnu.org; Sun, 13 Dec 2020 13:07:54 -0500 Received: by mail-ej1-x62c.google.com with SMTP id qw4so19391927ejb.12 for ; Sun, 13 Dec 2020 10:07:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zzamboni-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bPVzGX0ByC/QcvADV0/DTxKOTOofTCWS4wGy6zgBLIg=; b=lfSq/3ueGhf2F9lR36Dz0STtg3mNBilRRQLKlN4MK72uTFw2Q8G/IrsySQg2q85i0S 0d18EXI3bBNPzp6vkTeBLR2ZNi8z1A3YnAk69888SGJrytPwiFbEGkz/dELHMrA/O7cn uNA/Wo+lGvJShzaZX2XWXC9tv86N6Khk/vGPUp1HqDIvRaFdNMJVd0t7h2lY56w+HHdy 0SDRzQkw0g/f688GXwckYqRiSUvmjtWP0oihWsW00iJolVJrlRIXSPsNM2SjvHiguo5C ZKWfUHdxfI8AkS79MB3ViddjztqO1Ino/bzX+dDnQoqewKgbJnYuBVH8D4VSpW1arq1W z+xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=bPVzGX0ByC/QcvADV0/DTxKOTOofTCWS4wGy6zgBLIg=; b=Z8BS13Jvsm1HPQdxL4IiHJDRZhDtdeY+DGv7XaSAPSy5/inC2RnaxJ6y81Mr0zBP5h pGROu74hOF4Up0SSrR9nH5HQt2y3evEvK574oUAaZcmD+oN3zYUl7+sTYZ8qiGmpW2Ob QC9yI2dpQezqorklt/5eTXeDIfu62Z1Ax4cQXxKcx3htR307bAOKBCQad4YFLIrVTzv2 k2sSr1sJpfTjJje5nbpWYyD6Sg6WVblZ0lh141JvlLlSrV4LrfLi+TH+8tCD/D9KoVCv HIQ4IieQvpQ4b/iEUxeKe7lrENCVxEfmjvwR63T9vSW49kYLLB92t7LRq9qYRbvYBDyy ZHjg== X-Gm-Message-State: AOAM530erHoOujd2BpviowG8orykocluw7+AzMBQd0MThmfmvSRNO312 rtBbyxgsb7MLrCLO1esDPbUC8noDBA4BUxf3uKf19w== X-Google-Smtp-Source: ABdhPJzLT6cG6fHtF6zwGnebSAWbPZvFk5+Rt+BTl7jhfsKdJ20YDmtskTabJzgyTlDuS8AQMkBPmfoMwuVYgasKTLA= X-Received: by 2002:a17:907:373:: with SMTP id rs19mr18635627ejb.298.1607882870688; Sun, 13 Dec 2020 10:07:50 -0800 (PST) MIME-Version: 1.0 References: <87sg8a5x98.fsf@localhost> In-Reply-To: <87sg8a5x98.fsf@localhost> From: Diego Zamboni Date: Sun, 13 Dec 2020 19:07:40 +0100 Message-ID: Subject: Re: org-capture user-error: Abort To: Ihor Radchenko Content-Type: multipart/alternative; boundary="000000000000592e1a05b65c67b6" Received-SPF: none client-ip=2a00:1450:4864:20::62c; envelope-from=diego@zzamboni.org; helo=mail-ej1-x62c.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=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." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: daniela-spit@gmx.it, bug-gnu-emacs@gnu.org, Org-Mode mailing list Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.30 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=zzamboni-org.20150623.gappssmtp.com header.s=20150623 header.b=lfSq/3ue; 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: DECC394014B X-Spam-Score: -1.30 X-Migadu-Scanner: scn1.migadu.com X-TUID: Qtqf2H3eKomJ --000000000000592e1a05b65c67b6 Content-Type: text/plain; charset="UTF-8" > > > > Emacs fires "user-error: Abort" after pressing "q" to abort org-capture. > > This is intended. Normally, it just shows up as a message in the > minibuffer. Or do you have debug-on-error enabled? > Same as Ihor, when I press `q` in the org-capture screen I only see "Abort" in the minibuffer. Where do you see the `user-error`? As long as the effect is what you need (getting out of the capture screen), what is the problem with the code using the `user-error` function to achieve this effect? --000000000000592e1a05b65c67b6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

> Emacs fires "user-error: Abort" after pressing "q"= to abort org-capture.

This is intended. Normally, it just shows up as a message in the
minibuffer. Or do you have debug-on-error enabled?
Same as Ihor, when I press `q` in the org-capture screen I only see = "Abort" in the minibuffer. Where do you see the `user-error`?=C2= =A0 As long as the effect is what you need (getting out of the capture scre= en), what is the problem with the code using the `user-error` function to a= chieve this effect?

--000000000000592e1a05b65c67b6--