From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id gLiACkyB1V9RRAAA0tVLHw (envelope-from ) for ; Sun, 13 Dec 2020 02:49:48 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id iFA6BkyB1V+2QgAA1q6Kng (envelope-from ) for ; Sun, 13 Dec 2020 02:49:48 +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 7B2C89404E1 for ; Sun, 13 Dec 2020 02:49:47 +0000 (UTC) Received: from localhost ([::1]:57410 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koHSD-00012P-FA for larch@yhetil.org; Sat, 12 Dec 2020 21:49:45 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58080) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koHRV-00012G-W6 for emacs-orgmode@gnu.org; Sat, 12 Dec 2020 21:49:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35672) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1koHRV-0005IM-Or for emacs-orgmode@gnu.org; Sat, 12 Dec 2020 21:49:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1koHRV-0007eB-Ml for emacs-orgmode@gnu.org; Sat, 12 Dec 2020 21:49:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#45212: org-capture user-error: Abort Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: emacs-orgmode@gnu.org Resent-Date: Sun, 13 Dec 2020 02:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45212 X-GNU-PR-Package: org-mode X-GNU-PR-Keywords: To: daniela-spit@gmx.it, daniela-spit@gmx.it Received: via spool by 45212-submit@debbugs.gnu.org id=B45212.160782769629333 (code B ref 45212); Sun, 13 Dec 2020 02:49:01 +0000 Received: (at 45212) by debbugs.gnu.org; 13 Dec 2020 02:48:16 +0000 Received: from localhost ([127.0.0.1]:47218 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koHQm-0007d3-JI for submit@debbugs.gnu.org; Sat, 12 Dec 2020 21:48:16 -0500 Received: from mail-pj1-f50.google.com ([209.85.216.50]:53980) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koHQl-0007cp-8L for 45212@debbugs.gnu.org; Sat, 12 Dec 2020 21:48:15 -0500 Received: by mail-pj1-f50.google.com with SMTP id iq13so4344798pjb.3 for <45212@debbugs.gnu.org>; Sat, 12 Dec 2020 18:48:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=inGtaSFhkooww9Wv6gEztJJWysCT1t7EH2tIxM71/gY=; b=hsPa7BrlHkfaoofam7ZFy7+49Rl1+Go841INX1A2ns9hmjP85/t2LZ/ZalaIoD9UQv BPhkoPaj1ZCAVjmLrLrijJjwTcHYsgxXQmotJVh7ATThjTQ6WUSeRVxQjwT8PevRgNpc Vj0fAj/Z3w1cBzk2qvJiaIn82/bPEENDb8y2jZd9YYhCjrAFz71NDvNXQJ0TOCVX0k3u WBhzSrOObBSJXedEU7M0tJfBYkt2t4JPnpwJiKUpAw/8XUR9eZh+Y82Iw7TDaxWHxmTs 1GK2zaWWnAzzO4ysPADg5szKHlKAdAjNmoHEFjsXI7EEclxBGb1RtuZ6FAz0sDbzCAT6 Z8Bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=inGtaSFhkooww9Wv6gEztJJWysCT1t7EH2tIxM71/gY=; b=orvY9UEg3oXu0KBQj6PvN6eWXuthN+w+lNaWGe3FpCNNCCAyBNKjnu8Lr9frW7iW/J 08b4957Wi5eXRQeZKJhebAIKvY3+HAfm/gOZ/p7wcQ5oeOFDzO3731jXBgQSkauiH3OH VVrq81NqjrZireitMn1YQaOIh6BIwM5bx7l9TYAyWamcGbGUJ/7QotGY02C7oZr0jSHM jG6riTSU6/ZsDxPZbPbKFOrGnJg5YmKdvQOKiNTSTbKJucbxuWof1Ufbw0dpRaIWDGXQ aalY9o8EmjUyj9aRt+cOUdfrBsb0WJwJ8SSB0xhW7ewlrRkfN2JjNlQ8FJIg3EPGlaUL 9qhA== X-Gm-Message-State: AOAM530E3ARNS52o1V0HZECY7q9g4/DnK95iMyjlA+k/qX+C6cL8zNg1 5GQJaqWwhqXvuV3CYGC5m10= X-Google-Smtp-Source: ABdhPJwuIMb6RwRIAEHxnzG06hTu3OXRVTidcTGx7Iyq+VT/s0j8h6Q2/Mj+xkws9gpZc/GMqPGVDg== X-Received: by 2002:a17:90a:ec10:: with SMTP id l16mr20089157pjy.127.1607827689142; Sat, 12 Dec 2020 18:48:09 -0800 (PST) Received: from localhost ([50.7.251.66]) by smtp.gmail.com with ESMTPSA id g9sm15712844pgk.73.2020.12.12.18.48.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Dec 2020 18:48:08 -0800 (PST) From: Ihor Radchenko In-Reply-To: References: <87sg8a5x98.fsf@localhost> Date: Sun, 13 Dec 2020 10:51:55 +0800 Message-ID: <87bley5sfo.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: emacs-orgmode@gnu.org List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 45212@debbugs.gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.70 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=hsPa7Brl; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: 7B2C89404E1 X-Spam-Score: -0.70 X-Migadu-Scanner: scn1.migadu.com X-TUID: Sgr68wBcXMqY daniela-spit@gmx.it writes: > Why it is intended? The user wanted to abort and Emacs obeyed. (q) is an option, the user used it, > and Emacs should not throw an error at the user. I guess the intention was throwing signal + showing message to user. The same could certainly be implemented without user-error. However, some packages might be relying on the present behaviour and changing it could break user's workflows. If you have any ideas how to implement quitting from org-capture without using user-error *and supporting backward compatibility*, patches are welcome. Also, you can add this error to debug-ignored-errors to avoid annoyance when debug-on-error is active. Best, Ihor