From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 12 15:16:13 2020 Received: (at submit) by debbugs.gnu.org; 12 Dec 2020 20:16:13 +0000 Received: from localhost ([127.0.0.1]:46759 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koBJM-0001Jm-Si for submit@debbugs.gnu.org; Sat, 12 Dec 2020 15:16:13 -0500 Received: from lists.gnu.org ([209.51.188.17]:43424) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koBJK-0001Jf-RR for submit@debbugs.gnu.org; Sat, 12 Dec 2020 15:16:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47138) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koBJJ-0002YR-4v; Sat, 12 Dec 2020 15:16:09 -0500 Received: from mout.gmx.net ([212.227.15.15]:58599) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koBJB-0002b9-9k; Sat, 12 Dec 2020 15:16:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1607804156; bh=lzPfByuxpiy8x2/AFhujEV/IA8fKndIdI9mnjVXSaZs=; h=X-UI-Sender-Class:From:To:Subject:Date; b=VPGxztmPuoAgN2j9AsLCMYESbmyhSNXvJpBJ7E5qeXNbPoU6KHtiiyr2QqqDHZmWW 9r7aGM04/6HRJbBlDuAtuWOCAwaUs08DL2glUrLA0lYn5oje+g+UXRELjvACBcJGgq eKcfoe1If1p2vbf2UtnMUUvUMmYuFGcK6IqkkX4s= 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-bs06.server.lan [172.19.170.174]) (via HTTP); Sat, 12 Dec 2020 21:15:56 +0100 MIME-Version: 1.0 Message-ID: From: daniela-spit@gmx.it To: Org-Mode mailing list , bug-gnu-emacs@gnu.org Subject: org-capture user-error: Abort Content-Type: text/plain; charset=UTF-8 Date: Sat, 12 Dec 2020 21:15:56 +0100 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:4xWoM97jPRQr6lpOUvFZzbfFnHyhe+rN7ai453+QDKJvY96DWXlxt9PzjRXFLba4Ikp8Y esKo9KDjPqOg9SQ+aYDkbUEALIahuFJZvMtICDdgSAhgdXADgoDVSc1TQAGG7JbjavOK+ClZUKvl 2rJ/uL90jATyukrotmhjyC/GrQgnMeeT0x3L0yu+mNdFfEk49MMPokSOlzKntgHoh1AMCaxMi14i b6LzLrLdI+fAfztzu4Yl7L0IX7/n2wGPqokydUr1RvMc7QQkcyV2w///H007QtxlNjqJIQriTptD dk= X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:mdu5QXgHEaQ=:fBSSYK8O7vX2+DUfz4GY8S CMA7lxGU1nDOQahhfwdSw/D5L+sGUv1iXVwIdre33iRX6PJ2sMHoYhdvneOV+xB+wQbEpaatW BoLxN7ELNFt7ReWWOcQoQ2lF/OZxHxtGuE3xS6fu9kedcFW22eZycKo5FdcAQ/PbuwSDdQTkr KWTDwk6Q9tYYL9xEGB3a4viQJMpLHynCqD29UcQjyQv+YGp1GVai5k2/VtmImXZIxzXefPAda KeSCtz19wY1rIhc2W9sad9V30piGjzeclKFsRc0OwQwp/uT+gb6c3XyPKpp/2ZQL/O1H1AXVr pK/PFrgNf/vlYzg2JNdwbevPScu9tpgQzuVVuyhRWW01zh+3qfbBhUuIirepFLIoQyqrZjmct hRvUU68nBVzCeoD8i4WMoY0sDg+bAaecD0U/kiz7lnTVOSS/6wAY/eJG5PCziveCU675yu/mj M9t0KltlvqBG5iR4vKNm8M0p3J1IGZCc7FE4vwST9KvRL7TzN/rErYiHeVeJjT8MnlPkXcWCo iHcyyJ0E+Ke1TkQwzTlwXEu5Yxk1CzYzseVcWo1NMWtNxcxtPcqnkGMOAv/yS/I9DQLnaZsIr GMFPEHvwLghPk= Received-SPF: pass client-ip=212.227.15.15; envelope-from=daniela-spit@gmx.it; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, 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-Spam-Score: 0.6 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Emacs fires "user-error: Abort" after pressing "q" to abort org-capture. From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 12 20:04:07 2020 Received: (at submit) by debbugs.gnu.org; 13 Dec 2020 01:04:07 +0000 Received: from localhost ([127.0.0.1]:47153 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koFnz-0004s9-Jq for submit@debbugs.gnu.org; Sat, 12 Dec 2020 20:04:07 -0500 Received: from lists.gnu.org ([209.51.188.17]:48364) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koFnx-0004s0-Hi for submit@debbugs.gnu.org; Sat, 12 Dec 2020 20:04:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42218) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koFnx-0003ys-2W; Sat, 12 Dec 2020 20:04:05 -0500 Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]:40526) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1koFnv-0003Hf-GL; Sat, 12 Dec 2020 20:04:04 -0500 Received: by mail-pl1-x635.google.com with SMTP id q4so994760plr.7; Sat, 12 Dec 2020 17:04:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version; bh=6IiZedngS5+1WHiYUPu6kXo3OyaXl8NH6gqoEIb9STo=; b=bi60z/7ZncekNOEN3Dkl7vuMSnrObFFy5vDaIdRrs599h4yrXyOcpWTrYURMoEoz+n z+hYmGYV+YRvB8Dl33GaxlMmS0kLFxBmsEHxgDOacr1BsAN/Ug5p4ZCC/fzqhL0LOO3/ rY8cCzB1xSVqNBjXYchH18atzT3R/YQgFoq16aButUZtril4v7xeJ1PJC6U7xryMT4My hCDcaYWDs16beW27c8CPg1JixB6BH3bixQVDnNlYLdRNUqZZD9PjiW+0g2BWwPWEAfA5 AGsnQuivhLPePrxCc0Nhr9wlnVxHK8g+E9abFll0MX660XDqo7Y4mA+9ZNruxSrDViPu iSng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version; bh=6IiZedngS5+1WHiYUPu6kXo3OyaXl8NH6gqoEIb9STo=; b=ZIT7IUJ5BvM+M4NPRm63abWQNPxe8H4T5ATRPiTbifhexTOT2rujtKc3wiPuLoKwOA +m30nFVLmMIvJvFOtG8cdVxn7FzKnn4Yt3i7inQTjZ9PZRo4PBcY+zyDYr/bmoSkeiwe kUncJeDOndVBREF6aTciRYwtd5FeDucWmDio7/XxXEksTS0cultiJvB19igzGiTNq50E mJqC9L92wItqoM7MvfGmUh8huRGosTGekuwG4LMiBzQV4LWXXbnzGtZMQslIh0DzdndH PCfQqvLJYeroAlNmLuFiRQjF6BNF6UnJZVHhsE+/yGSuYcC7zjoGdmh1uhSaCxj6q8H4 oE7Q== X-Gm-Message-State: AOAM532kh2gCi6YWryGtwH2Ps0+Q/S6IWl4wEUe2NdMlcdTsE1S1dln+ 0SdlTCnMwJ7Ya/U1Sik8P3k= X-Google-Smtp-Source: ABdhPJztck9oOLjRmvacGtqn/1goAfrvEds3o9YRpj4vQjDz6nzZ7EK/QxINdKuI7bPc/dce0CLI4g== X-Received: by 2002:a17:902:e9d2:b029:db:d4f6:b581 with SMTP id 18-20020a170902e9d2b02900dbd4f6b581mr15441377plk.34.1607821441723; Sat, 12 Dec 2020 17:04:01 -0800 (PST) Received: from localhost ([50.7.251.66]) by smtp.gmail.com with ESMTPSA id d5sm3800955pju.56.2020.12.12.17.04.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Dec 2020 17:04:00 -0800 (PST) From: Ihor Radchenko To: daniela-spit@gmx.it, Org-Mode mailing list , bug-gnu-emacs@gnu.org Subject: Re: org-capture user-error: Abort In-Reply-To: References: Date: Sun, 13 Dec 2020 09:07:47 +0800 Message-ID: <87sg8a5x98.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::635; envelope-from=yantar92@gmail.com; helo=mail-pl1-x635.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) daniela-spit@gmx.it writes: > 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? Best, Ihor From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 12 20:34:41 2020 Received: (at 45212) by debbugs.gnu.org; 13 Dec 2020 01:34:41 +0000 Received: from localhost ([127.0.0.1]:47184 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koGHZ-0005iT-7Z for submit@debbugs.gnu.org; Sat, 12 Dec 2020 20:34:41 -0500 Received: from mout.gmx.net ([212.227.15.15]:60121) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koGHX-0005iE-BO for 45212@debbugs.gnu.org; Sat, 12 Dec 2020 20:34:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1607823273; bh=KYOEyciIHWgjYGoufRME1WSDr6oeos0/gtxe0zItrjs=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=arvgxf6QfWH2xT+7B679aa6HkoB0AgzTH9Ijel1M8pnSKYzErvf2WGzlqFeofoVmh p80iX/hRs6L9AAo49T0IIMiaWBhaAHGYUpT02qrXhpQxpPZW8rM5JqU2rm28PM9T5I PErFcKbcB++KTk4UmjvBFV8+zY2AqdzkJ4XcMgxE= 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-bs06.server.lan [172.19.170.174]) (via HTTP); Sun, 13 Dec 2020 02:34:33 +0100 MIME-Version: 1.0 Message-ID: From: daniela-spit@gmx.it To: Ihor Radchenko Subject: Re: bug#45212: org-capture user-error: Abort Content-Type: text/plain; charset=UTF-8 Date: Sun, 13 Dec 2020 02:34:33 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <87sg8a5x98.fsf@localhost> References: <87sg8a5x98.fsf@localhost> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:ZiA7PGNFtlXzqkR+968DiK1JSRj6nw9LG8D75wN/IsOZoJaAmF+oFgwCioaLHOPWzQ37o PZab7SYuPAhSCR+bqqJ0+0MwwbDNmPtHiPqOQU3OYmqMabySTP9KnwOdzmX7xhIFmdzrrr2NqD32 IK3XwToRcVDYYwZ1R42/Qql8YvMxK5FKZXz8jHcf507XmtVzSfYrqAoIe+zG66TW/7YGK8+l1gzm 3IVvidbaqTgvgppyYqV/uSZBRpVdaOVWDC300GuvJkkKti39vlto+kodNVIvLFwpkYEuagR+PT2Z C4= X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:M7JOynOugqk=:LJkSoG7+Bez0JYWgrAQqKj HEeW0ddhpj/m4/UhZKRR2PS2IH8nUD42+TXrh/6E3XxDIwM//VvcT/N1+WE5HwrWEaVPH66z1 eOlQGr23aP1zGZBzKaBKwI11bwvGO/XcvH7rEZ4233K1fq+jZSMblVAGQPRRw2M9smcEWXAGh kLdiJF+2O3LI/3OvXLxl0zQoJUKv+n6d/MVki1x1C3d4WckEv3EH4iWA77umBbPe1sJt84EPN rEcJKD2NgzA8zJB6rUiMMBdi4FP9knfI8BTpXSF19oUKv8O5/M2L+8lL7UGaioTFECOYBYznB TMNaOQm5ehHtatbvI0o8ICqKHoPwOUPUBabFypgCoKeVY4b+BsOAeB2G4fjBwKL/WOsm3nGkw AUG4XmrqfCDekkpOkzoGEN2xdcYUqemAz2z+dUxrZ3obyZsT9BU5T3n5Tt/1++wughTiism+v FfPul0DUk/HFLJCt6igRZhl78fV4QihY74v2wISpb7Q65VtWlS+VYD+wysoOCv/NkjgOnFWIH g8iG8IXKRoiBv3OagG25u2v8xQ+0TuuIFOYqdyRIbmdyUlc2j5OiQk8N2K1300IgWbXaNTWR2 +vdmgF1u7bqp0= Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 45212 Cc: 45212@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > Sent: Sunday, December 13, 2020 at 2:07 AM > From: "Ihor Radchenko" > To: daniela-spit@gmx.it, 45212@debbugs.gnu.org > Subject: bug#45212: org-capture user-error: Abort > > daniela-spit@gmx.it writes: > > > Emacs fires "user-error: Abort" after pressing "q" to abort org-captur= e. > > This is intended. Normally, it just shows up as a message in the > minibuffer. Or do you have debug-on-error enabled? I have debug-on-error enabled > Best, > Ihor > > > > > From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 12 20:40:03 2020 Received: (at 45212) by debbugs.gnu.org; 13 Dec 2020 01:40:03 +0000 Received: from localhost ([127.0.0.1]:47188 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koGMk-0005rE-Q8 for submit@debbugs.gnu.org; Sat, 12 Dec 2020 20:40:03 -0500 Received: from mout.gmx.net ([212.227.17.20]:60325) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koGMi-0005qf-R3 for 45212@debbugs.gnu.org; Sat, 12 Dec 2020 20:40:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1607823594; bh=oyF+QgzZVTdiDkMNz5jJ84iAcKAI63fClkMNZ4mghiM=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=NX4f2V/5hdeLlqdHfLasRG9kTVYtvfq0AGzxSUApqTLOQvCj3fWxwsXum1GSlh7eO DxUSCHvnYmUDcCtV5fFVEuXcZFhwNixZK6lzNNMPdSDSuYDUHip43Mq6nkzk6jzsXq rxqxyPh3PbiOfhV0IgLIHZ5En/wFrXK+iyiFK7nc= 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-bs06.server.lan [172.19.170.174]) (via HTTP); Sun, 13 Dec 2020 02:39:54 +0100 MIME-Version: 1.0 Message-ID: From: daniela-spit@gmx.it To: daniela-spit@gmx.it Subject: Re: bug#45212: org-capture user-error: Abort Content-Type: text/plain; charset=UTF-8 Date: Sun, 13 Dec 2020 02:39:54 +0100 Importance: normal Sensitivity: Normal In-Reply-To: References: <87sg8a5x98.fsf@localhost> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:om3Kpgj+EZuv68wujjt/vbd3KnTKyVYyOyVEG/TEQz8ktr7RWaRQ1Eg6kYyPZps3ZQMaC nrw2M/ATdClCqneX+YVD9nVBp6VuYcRZ1oG7kp/pIIoIYljznF4usyT+3BHMu4DrK1Zj3ifU6ECO XcHdYPF1u2YhGc8bmq/lBBq6T0vKUGExvG4wLrvL5fh0+bGjgcmvVzc+cB+Adt5wiTQPXuadhsWz VC5Ya5aRVdBlwi5+XgjloMLHMD7W0yyuXUenpCz7uLowO+R2ezYmESXy0FAk6KchA9ogH4ux2yt2 X0= X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Rzr9L60/MYo=:av9DcH/NdrTxQJnQ6TQiT+ GKHgN7WcF2bY0OT/7qqxszM6dkCA+5o3lzKz7b7X9Cf1qP07tAbI1N2J2UPDNKkpGZki+FR55 uqf2jx1tfsZe65aAcPAm3H/dZzjUT6NDVxSAxVZ9vGsS5pJgiVd6Wl5AUjckMv1OiT9wkRXen YCz+EB7fBuxLX+JQcsX0xAuKFWtVTMkVXLycRA24FWlih/k0mQButA62wKFyKRqnCC5PFadWA TfJ8IXjZC+EzsTYGylGmTOmn6/MfDtcGMtRmWTHCsTf8yQXsIdE2TzjYNFIYuxWWaK1rwvJ0l odSHluoyqba+bSb8fGgLp009jZZZZ4uwsZuAPI6n/+jIbFirtA8EeEz7OC+xTjykBtXwEwqPZ DyQhAPPWQr8BewpwskBghPy1mBarAbZtlSxHSM2ASD4NojJnzoBKX4vWf2ysDxH2HhWJMUd5s 8PueESFMNVCsfnp/AoXQtjftvo64aOiP9i2GpIOw+VUqGUo+s4gjBw8bxrAogejcv3/n7zaW1 aHyI1bTXyfEikLew3uVDvIa4HnkEgU+1M9xHuRgjHwj3dLonvg5FI5LRa5Oo32IxsqELmKdjM s5rw9ckPDk+bE= Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 45212 Cc: 45212@debbugs.gnu.org, Ihor Radchenko X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > Sent: Sunday, December 13, 2020 at 2:34 AM > From: daniela-spit@gmx.it > To: "Ihor Radchenko" > Cc: 45212@debbugs.gnu.org > Subject: bug#45212: org-capture user-error: Abort > > > > > Sent: Sunday, December 13, 2020 at 2:07 AM > > From: "Ihor Radchenko" > > To: daniela-spit@gmx.it, 45212@debbugs.gnu.org > > Subject: bug#45212: org-capture user-error: Abort > > > > daniela-spit@gmx.it writes: > > > > > Emacs fires "user-error: Abort" after pressing "q" to abort org-capt= ure. > > > > This is intended. Normally, it just shows up as a message in the > > minibuffer. Or do you have debug-on-error enabled? > > I have debug-on-error enabled 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. > > Best, > > Ihor > > > > > > > > > > > > > > From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 12 21:48:16 2020 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 To: daniela-spit@gmx.it, daniela-spit@gmx.it Subject: Re: bug#45212: org-capture user-error: Abort 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-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 45212 Cc: 45212@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) 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 From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 12 22:01:57 2020 Received: (at 45212) by debbugs.gnu.org; 13 Dec 2020 03:01:57 +0000 Received: from localhost ([127.0.0.1]:47222 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koHe0-0007zT-Rz for submit@debbugs.gnu.org; Sat, 12 Dec 2020 22:01:57 -0500 Received: from mout.gmx.net ([212.227.17.21]:45697) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koHdz-0007zC-1x for 45212@debbugs.gnu.org; Sat, 12 Dec 2020 22:01:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1607828508; bh=T86kMqi5YGpIE8p3oXWn9yqQ8/1txx5KcxmrI/CFk3E=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=A1m852xKWCU+jiSrVmKF1JhhDfwWxnKv0rA+KHNR76PoaSPLhtzsPSlujYbvg3vBK 7PSRbsJUCdHBel1FOIPIARbDSvf29G+Sh5cpwSR8EF2M0YytS2KJiT4O5LCjyLwqBc 1I3DY+4LrZexA+ekwyGG70jo4wR7TOqUHUxVJRsk= 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-bs06.server.lan [172.19.170.174]) (via HTTP); Sun, 13 Dec 2020 04:01:48 +0100 MIME-Version: 1.0 Message-ID: From: daniela-spit@gmx.it To: Ihor Radchenko Subject: Re: bug#45212: org-capture user-error: Abort Content-Type: text/plain; charset=UTF-8 Date: Sun, 13 Dec 2020 04:01:48 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <87bley5sfo.fsf@localhost> References: <87sg8a5x98.fsf@localhost> <87bley5sfo.fsf@localhost> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:2OaSz5rPJGz2W0rlIlnJb2aOdmQCQBbzFAGinBewt5727j0j654EklVtoZyMPktLJaUCW xZzhrMsdzGhnjWcW7c+ubCVrYyJOYUlYlTi/D7RDwUa3Hiy5L7J1Wzfy1XoQ76ISmPkn3AfWMFss 9/FWhiXwhPZfOcx8DLYTcaNjRECg7NdAt7DOWRTKyGBAEcFl9DF0hlS0FIcsWuh0Z36ddaxWvFOo 5HpNo3esTSP2/ff+d/kBUGrOhydEv7BEcutotBcTMpIzRoq1ehFeTkl7p3fit/lSX9YkCEb0kDMU fQ= X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:3l3jGUY2SuM=:ikmeqtrs3+RnPNyoWKSXb2 udrCMwej70kk2Fj7QwUHvnUzggUqSV6C2sxmlMmIu2jefww+d7L9CdyAjitr3ui0Ux74XMhXd 0BtSqVO2u/6SU8NIziAQgah5BAouy8UYnQPLhburV32LJ+i2K1IjMEcfhOHA5f9nnWTdt6NbA vqSkMgJKMVouqIXn+ZEifYpntZspXg4X8vVtY/3ix0/Qtox1x4o+qSSsO9Z6bYC9OtRKXEJi5 V+dJrmNo5im9cBzzziYZxypPAMStLA1GsEeAECr7g5Lo57oApLU81f1KYIjw2eKw55dlbpKbx JFVsLTfsAY1K8iMFCqQrtmzXl2xjuFOUIIodwuD48QeBuMbw9qv0LIxHMf0kAOH0y33g0Kau3 BkcoH8Ec3tVMSlXI+Ph+DZP6wVikmlP6qsQz7y/mcStNsW/pDcNdQc6Vyup2JQ8MLGKA4t6B0 lzXg8lb3qO66SeLYP9xoIWXlHOuFQiSwFGVhWanR7tScrEjK+8ST8veUSOWQn63vTtpzs2831 gJkMObfNVx1O8Yq/x3C4YlbjkSLEZG6Ma2OBZXnVotYjZBw768mw3uKIpmuxJCfPUJZHIE5L4 vdIx/r9bJJ8F0= Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 45212 Cc: 45212@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > Sent: Sunday, December 13, 2020 at 3:51 AM > From: "Ihor Radchenko" > To: daniela-spit@gmx.it, daniela-spit@gmx.it > Cc: 45212@debbugs.gnu.org > Subject: bug#45212: org-capture user-error: Abort > > daniela-spit@gmx.it writes: > > > Why it is intended? The user wanted to abort and Emacs obeyed. (q) i= s 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. Can't one throw a capture abort signal instead? What case scenarios would= rely on user quitting capture rather than going ahead with an entry? > Also, you can add this error to debug-ignored-errors to avoid annoyance > when debug-on-error is active. > > Best, > Ihor > > > > > > From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 12 23:34:04 2020 Received: (at 45212) by debbugs.gnu.org; 13 Dec 2020 04:34:04 +0000 Received: from localhost ([127.0.0.1]:47260 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koJ5A-0001za-Aq for submit@debbugs.gnu.org; Sat, 12 Dec 2020 23:34:04 -0500 Received: from mail-pj1-f47.google.com ([209.85.216.47]:50872) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koJ58-0001z3-N9 for 45212@debbugs.gnu.org; Sat, 12 Dec 2020 23:34:03 -0500 Received: by mail-pj1-f47.google.com with SMTP id lj6so3013710pjb.0 for <45212@debbugs.gnu.org>; Sat, 12 Dec 2020 20:34:02 -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=QL0zd6+2DuFluv706HuHAS2xDlL4Rbh3xQCceOHrX+c=; b=c6BRzY7UNVq/1qs+wimJGgs5KFQgpl5bSG6AlQO1ccjY96ACKK/1sjzvPYBdxg4SOY N5XXVAK3RPM5G2rLP/1zV3KAMLzqvfkmQV28RVXOvKtCrsVkD3LnFw5CA4Ml9koKOg/u zHO7Z7diCat+6yX3hrRqU2EPZWUdMKA9sXdRqQ9w7KxKb7C5BU0Zx6C3/Im1d6hJ/so/ IFXEIqgGKOKGiUvebwfqXt3XxYauIC46bRmAdP6PzqTlNvb3NHpDL8zUKDeM/QaXNkk/ 5v4kwReFO+oTPRh4d1AB4q19d5xyFjsrdg7FW/xIgBGAy5JdXxtfEAXnGv4YrkoYBBkZ /NCQ== 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=QL0zd6+2DuFluv706HuHAS2xDlL4Rbh3xQCceOHrX+c=; b=OTD3McFoYFoh+uF/I50ZNWkZvT7ZVslvk5K2mYlO3Qw8RtyGVt7XuBoSo0g6lG4iRb GeYyluYYnq4q24+H7/TBNHlal8rUf18pUY///JR3RUYFf+dFiokwdisORjkwRoxiGY83 smntoXXm8QqpGAVNUUcuG34sSoH3/zTRVm/Y7Pg5aH/0PdXnqjrttVo4nIUXWfHx6RHI hLXegKkW8RK82rt7aH2N3LQWrB3hYrYwluSvuAYvtMpovQ9KcDW9lf9RwAKRojLuUquY NInA/qMMSno7nmhFNFHhSO1kfwp2vHrEOrCeRV5qYSW3F0LYAQslksqewSzQul8LaruV NeNg== X-Gm-Message-State: AOAM53315fU3JHQlRCrsKEQ7vghVxZcaTNR4XzJeUKHhDADa+fNEvsAj mlmoX9cTJnx1swUbIFriL00= X-Google-Smtp-Source: ABdhPJw0oQNwP7GAH6n3P8Mxt4iKl+taKRGyJG/I4yGv0hhhs60l72iepTFnMJu/hdjkHl4gYQ1mCw== X-Received: by 2002:a17:902:bf44:b029:da:d0ee:cef with SMTP id u4-20020a170902bf44b02900dad0ee0cefmr14110662pls.12.1607834036095; Sat, 12 Dec 2020 20:33:56 -0800 (PST) Received: from localhost ([50.7.251.66]) by smtp.gmail.com with ESMTPSA id y5sm16525587pfp.45.2020.12.12.20.33.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Dec 2020 20:33:55 -0800 (PST) From: Ihor Radchenko To: daniela-spit@gmx.it Subject: Re: bug#45212: org-capture user-error: Abort In-Reply-To: References: <87sg8a5x98.fsf@localhost> <87bley5sfo.fsf@localhost> Date: Sun, 13 Dec 2020 12:37:45 +0800 Message-ID: <878sa25nja.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 45212 Cc: 45212@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) daniela-spit@gmx.it writes: > Can't one throw a capture abort signal instead? Sure, that is possible. However, consider a possibility that some external package wants to detect when capture is aborted. If I was writing such package, I would need to do something like (condition-case err (t )) If org-capture is rewritten using catch-throw, the above code would be broken. Also, there will be no easy way for a user to know if the capture was completed successfully or if it was aborted. Note that I do not oppose this change too firmly. I agree that throw (or even just normal exit) would be cleaner. However, changing user-error to throw may break external packages and should be considered carefully. On the other hand, user-error is internal detail of the implementation. So, changing it should not be a big deal. As a precaution, it can be announced and implemented as a part of major release. If you want this change to happen, I suggest to provide the patch. This will encourage the maintainers to provide feedback. > What case scenarios would rely > on user quitting capture rather than going ahead with an entry? For example, I have a custom capture function from email. The email is removed from inbox upon capture. However, I would not want to proceed with removal if capture is aborted for whatever reason. Best, Ihor From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 13 00:16:24 2020 Received: (at 45212) by debbugs.gnu.org; 13 Dec 2020 05:16:24 +0000 Received: from localhost ([127.0.0.1]:47268 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koJk7-0003AR-Ms for submit@debbugs.gnu.org; Sun, 13 Dec 2020 00:16:23 -0500 Received: from mout.gmx.net ([212.227.17.20]:34121) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koJk5-0003A9-Mb for 45212@debbugs.gnu.org; Sun, 13 Dec 2020 00:16:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1607836575; bh=Gps0wm0NJtAO3mYBqofbJOciss5c1E99h0aHXNtbylI=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=Wcid4EK+tpJCwCzZqLPcSWojstaGjFg2g5cDylAzyA/NiYbJ8kRAvidi0namsxUnS nrWyCCdNWgJ5PkDvMqGzLvaJWj8zZ1TgA8DZunWyhyIBV2aWWqRsxvkHLiLlpebBQb PQx2yMahlzRQXPmTUQDCN1Ksa1LhkgN65U92Yq9M= 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-bs11.server.lan [172.19.170.179]) (via HTTP); Sun, 13 Dec 2020 06:16:15 +0100 MIME-Version: 1.0 Message-ID: From: daniela-spit@gmx.it To: Ihor Radchenko Subject: Re: bug#45212: org-capture user-error: Abort Content-Type: text/plain; charset=UTF-8 Date: Sun, 13 Dec 2020 06:16:15 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <878sa25nja.fsf@localhost> References: <87sg8a5x98.fsf@localhost> <87bley5sfo.fsf@localhost> <878sa25nja.fsf@localhost> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:SKxuGANd39OZjEvcG1EUwh7zqy6OAdPsuinWsR3Dm55h3ekktDVhNMsUhKNHfywC0uWjt 8KYpT7bRknf0ew+nuIWUZpYeL2e2D40Rx3nzPGuxnyqyK+YHyZScbXYI+gLQI0BPUVJKni3q80e8 qW0rZxSGXZg8knWKahJoxBfWz0aDyUcEln4Wjqz98JG+q+gthuPzoOuF/tUV19c5AYFVDUxY4a/1 w/ij4vEV0uEVVk/ki3Y902zeylq3h9hQ3RvqskUrLoJ0VoAtFCAAVqVF3s5/Uig9FzW4KlYSoXIK 1Q= X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:APeKz+tnKXY=:EHvhnBakLFjXegMcZ9Iiuh 0H6haU3KTfI/+Bm/o79YP1mZYwm8tL5KrSqL3fAAUhacBTj6Y/AyfhWEc8nz+W4YBk6hOnCfZ W16/lJIgHJMJRyn7JR/HivcMrjiQ6KuxfM7qXfd3ZMFLC+IejiPR+Hr1ZXtOp1pF04qZOnM5l LVtAxzI8rs8+58wgj2g2st2ZzgSnQWYB1dckOWMbvdNA9G5AoUmykf3QU5FD2NTFUFucuK6Rd cmJvCa/PtJMHf/W7xu2WqSz8FqhgAAqpw4h6BEbl315+2mL7oMONt1xTfGVj9BXxGm23jY9H0 H1PkaXtd2j+Mvey3sx2DaDb1Bk6tisB0+D0i2PashL0NCZSImiGxevILWhyMzk7OAA1uhdifQ agztrnAYBmryPS5yIv+9uk38hwAV5d/M9vchHRBb90A68XBdAXhPT0Ek+b9nh81pLl/kfXFAv XNUJfIf1kfS3l2G/LCA4A/8YMInkt5lyNAB7N1yLinTUu6hgOQhZCPb1egwo/5uya72bhsNsm LJ/Fv2Y/9ilhxsZ9CuIlW3h0MdAeh4yYGFHRsiEs8saIHKJ4PRZHd9FCwTGFpR8tteCTuC1tu 8ZE1A1glUGckY= Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 45212 Cc: 45212@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > Sent: Sunday, December 13, 2020 at 5:37 AM > From: "Ihor Radchenko" > To: daniela-spit@gmx.it > Cc: 45212@debbugs.gnu.org > Subject: bug#45212: org-capture user-error: Abort > > daniela-spit@gmx.it writes: > > > Can't one throw a capture abort signal instead? > > Sure, that is possible. However, consider a possibility that some > external package wants to detect when capture is aborted. If I was > writing such package, I would need to do something like > > (condition-case err > > (t )) > > If org-capture is rewritten using catch-throw, the above code would be > broken. Also, there will be no easy way for a user to know if the > capture was completed successfully or if it was aborted. The problem is not the "Abort" itself, but more precisely "user-error", rather than Abort. I suppose that depends on how many packages on ELPA ch= eck on "capture user-error". > Note that I do not oppose this change too firmly. I agree that throw (or > even just normal exit) would be cleaner. However, changing user-error to > throw may break external packages and should be considered carefully. On > the other hand, user-error is internal detail of the implementation. So, > changing it should not be a big deal. As a precaution, it can be > announced and implemented as a part of major release. > > If you want this change to happen, I suggest to provide the patch. This > will encourage the maintainers to provide feedback. It is not so much about imposing it, but it would make the whole thing cle= aner as you described. > > What case scenarios would rely > > on user quitting capture rather than going ahead with an entry? > > For example, I have a custom capture function from email. The email is > removed from inbox upon capture. However, I would not want to proceed > with removal if capture is aborted for whatever reason. I see. Still, I am not against signaling an abort. > Best, > Ihor > > > > > From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 13 00:25:00 2020 Received: (at submit) by debbugs.gnu.org; 13 Dec 2020 05:25:00 +0000 Received: from localhost ([127.0.0.1]:47277 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koJsR-0003Rx-TM for submit@debbugs.gnu.org; Sun, 13 Dec 2020 00:25:00 -0500 Received: from lists.gnu.org ([209.51.188.17]:43662) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koJsP-0003Ro-Re for submit@debbugs.gnu.org; Sun, 13 Dec 2020 00:24:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45794) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koJsP-0001tC-Hh; Sun, 13 Dec 2020 00:24:57 -0500 Received: from stw1.rcdrun.com ([217.170.207.13]:47357) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koJsO-000557-3c; Sun, 13 Dec 2020 00:24:57 -0500 Received: from localhost ([::ffff:41.202.241.30]) (AUTH: PLAIN securesender, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 00000000000442C8.000000005FD5A5A5.00001266; Sat, 12 Dec 2020 22:24:52 -0700 Date: Sun, 13 Dec 2020 08:22:59 +0300 From: Jean Louis To: daniela-spit@gmx.it Subject: Re: org-capture user-error: Abort Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: User-Agent: Mutt/2.0 (3d08634) (2020-11-07) Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: bug-gnu-emacs@gnu.org, Org-Mode mailing list X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) * daniela-spit@gmx.it [2020-12-12 23:19]: > Emacs fires "user-error: Abort" after pressing "q" to abort org-capture. Those are error messages invented by programmers who never had any project supervisor who thinks of users. If user wish to abort it is not an error. Even if it is error, why it should be written with the dash as "user-error"?! If message is at all necessary then computer should say "Action aborted" or similar. From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 13 00:50:04 2020 Received: (at 45212) by debbugs.gnu.org; 13 Dec 2020 05:50:04 +0000 Received: from localhost ([127.0.0.1]:47295 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koKGh-0004HK-Fl for submit@debbugs.gnu.org; Sun, 13 Dec 2020 00:50:04 -0500 Received: from stw1.rcdrun.com ([217.170.207.13]:57463) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koKGf-0004Gh-9p for 45212@debbugs.gnu.org; Sun, 13 Dec 2020 00:50:02 -0500 Received: from localhost ([::ffff:41.202.241.30]) (AUTH: PLAIN securesender, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 00000000000442C8.000000005FD5AB81.0000149B; Sat, 12 Dec 2020 22:49:53 -0700 Date: Sun, 13 Dec 2020 08:46:29 +0300 From: Jean Louis To: Ihor Radchenko Subject: Re: bug#45212: org-capture user-error: Abort Message-ID: References: <87sg8a5x98.fsf@localhost> <87bley5sfo.fsf@localhost> <878sa25nja.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: <878sa25nja.fsf@localhost> User-Agent: Mutt/2.0 (3d08634) (2020-11-07) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 45212 Cc: daniela-spit@gmx.it, 45212@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * Ihor Radchenko [2020-12-13 07:35]: > > What case scenarios would rely > > on user quitting capture rather than going ahead with an entry? > > For example, I have a custom capture function from email. The email is > removed from inbox upon capture. However, I would not want to proceed > with removal if capture is aborted for whatever reason. If user wish to capture maybe it should be done more atomic and safely for some types of capturing email message ID, or emails, or capturing URLs, basically that data which already exists and which user need not create oneself. It excludes notes for example or anything related to real time annotations: - item that user wants to be captured should be captured in separate storage which I will mark here as (S) at the moment that users desired to do so. Nothing else should prevent that capture. Implementation of the storage is not important. Maybe it could be one file among many in a directory, maybe it could be in one big file, it does not matter. - in the next step would come the formatting of the storage. This can be aborted as people do various things. Maybe they wish to put some date, or this or that. When user signals that capture editing is finished at that moment only would the item from the storage (S) be removed. Examples of such workflow: - URL that only need to be captured without much annotations, click button. Finished. When time comes sort one by one into various categories. Not in real time. In real time user is browsing Internet and may like rather to continue reading the WWW instead of annotating the URLs or sorting into some categories. Click once, and Emacs WILL NOT open. It captured the URL. Why it should open? Annotate it or categorize it later when you annotate many items at once. - Messages like you said, one click. Finished. If necessary categorize later several messages at once. As a side note messages are always related to people or groups of people such as Org users. I am always extracting the email address and relating message to people automatically. - Pictures, videos, files quickly captured when browsing or searching for files. - Tasks related to message by related people I was always capturing with one single F10 or F11 in mutt. No thinking more than this. The subject and person would get captured. Later I have the list of the simple TODOs, how I called it and how I will soon re-implement it. Such tasks are more a reference to my thought. My thought is not written anywhere and for onlooker it would be not conclusive why I have captured that as an action. It is just a reference: person's name, subject, maybe email body, all that is reference as it associates me to the thought of some action I have to do related to that. But I need not write that action anywhere. That way a series of actions and series of thoughts do not get interrupted by Emacs capture window opening and requesting user to write something. Instead the item is capture by one key and user continues with the original uninterrputed serious of actions and thoughts. Focus remains on one action getting done, while some actions are postponed for later review. Later review is again done in a series of actions and thoughts not interrupted by something else. For collaboration this will not work. In that case one has to annotate things as the captured item does not serve well as association to the thought. The thought has to be written for collaboration unless group has well aligned thoughts to understand the meaning from the reference provided. Jean From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 13 00:55:14 2020 Received: (at 45212) by debbugs.gnu.org; 13 Dec 2020 05:55:14 +0000 Received: from localhost ([127.0.0.1]:47303 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koKLh-0004Rz-Ni for submit@debbugs.gnu.org; Sun, 13 Dec 2020 00:55:13 -0500 Received: from mout.gmx.net ([212.227.17.20]:55829) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koKLf-0004Rc-NJ for 45212@debbugs.gnu.org; Sun, 13 Dec 2020 00:55:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1607838875; bh=dkPtdB2CF44ZJ7qbgCZ7eMYZ+vlPchZHuFsYNpCyF80=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=S2oPMCVjsNrkgiMEHfR2t/aq4D18+Q28CwQE/7o7FR0ODDVmUVnJfb7oXsomHhnQ/ uVDndqo+R+2rSTva/mcULANIIv11fybTUvQzYF+jV0Kc9WQgUZ7QyBU1BVQ6OeN3xC q6aaGjhHLYZHoNgdgiuHtwJWlZw9zDBuHkNshYAI= 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-bs11.server.lan [172.19.170.179]) (via HTTP); Sun, 13 Dec 2020 06:54:34 +0100 MIME-Version: 1.0 Message-ID: From: daniela-spit@gmx.it To: Jean Louis Subject: Re: bug#45212: org-capture user-error: Abort Content-Type: text/plain; charset=UTF-8 Date: Sun, 13 Dec 2020 06:54:34 +0100 Importance: normal Sensitivity: Normal In-Reply-To: References: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:FZbhzdjQp4zCvyJed8AGqDSfj+23UIPSFkaS00nWPv7udzqpZ26A7HnhxvonvcrXXScxE cyi5y6tMovhrxoUTRdSanRloM50UEuWhKKNBPGgWvt+RnIWE4UV4HPlAON1LOCa1WuXmm9c9mKEY vHBTyfRk4BF0toKtyDTWxfuMgLb75zYzFCFD1+kCu4glFKMLvwJgfKIvRt1JK/gCqRScljr8knh4 tWdzN3DimnCqa6tWaBSl3hyweUhKO7yzBcfx+08/FsNuYLaSbrwiqejnjPyq33ehKGHtaBBYPbQN wo= X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:bUCfTJz5//s=:940hxj9Bdy+FSjotguijmw lt3w3A8olzS05tXxmopRjwjoCydASF/AQFgUqeOyF8a8IjvjNUQ5zAu7uAuyAe2UZuaGYNEw9 CWeScsqDBRzqESox/SOLRQZcRBQtwQUW4Rc+D479XKEkI4CFUcm4oSq5nH5IZiYREK6G5/UpJ IaD7OvTzMdzdUibcOZfOMOEDTGtHJvLSX4ikuVsPUrIPJCUQp80F91JfkOFLvGR8U/ket1rhS wLH7bgYFb4lN3O2taR0ATNMJuj6ShXqw5rAlRtkSGH72y2cEJn3EvKR51WMHiOLt6Uv/5naV0 L1QYeQfi3qL76pOHPVpLTASOc28w9w51YNkVSCTMjEKpStDfOEYtGRnoAlvPyuDBCepDfWdmR 9bT3Nw15b6YK3mu8K8l3vtCRzD4d0OHXX3VPdwi1PuJrmm0aZ7I/iRKQkVUx2dAMiR/MLIdMo xohgR2KOq306aQF00yakahsrSu1V593DeLePek7pImNiLuDF8UWVnBMQTAxQAzU7Mej9H9a/5 GMGlV7lIiMH5KwrbqXOChjcycIttAGTeXA1qw6z/znRDqwYUOFiikT4jt3RodJ6g6QRwRVaAu Fh2hJrOoKCWLQ= Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 45212 Cc: 45212@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > Sent: Sunday, December 13, 2020 at 6:22 AM > From: "Jean Louis" > To: daniela-spit@gmx.it > Cc: 45212@debbugs.gnu.org > Subject: bug#45212: org-capture user-error: Abort > > * daniela-spit@gmx.it [2020-12-12 23:19]: > > Emacs fires "user-error: Abort" after pressing "q" to abort org-captur= e. > > Those are error messages invented by programmers who never had any > project supervisor who thinks of users. > > If user wish to abort it is not an error. Even if it is error, why it > should be written with the dash as "user-error"?! > > If message is at all necessary then computer should say "Action > aborted" or similar. Agreed > > From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 13 03:21:14 2020 Received: (at submit) by debbugs.gnu.org; 13 Dec 2020 08:21:14 +0000 Received: from localhost ([127.0.0.1]:47368 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koMd0-0001VU-HH for submit@debbugs.gnu.org; Sun, 13 Dec 2020 03:21:14 -0500 Received: from lists.gnu.org ([209.51.188.17]:52146) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koMcy-0001VM-Dy for submit@debbugs.gnu.org; Sun, 13 Dec 2020 03:21:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36192) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koMcy-0006jL-4F; Sun, 13 Dec 2020 03:21:12 -0500 Received: from mail-pg1-x534.google.com ([2607:f8b0:4864:20::534]:35586) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1koMcw-0008Ex-Ij; Sun, 13 Dec 2020 03:21:11 -0500 Received: by mail-pg1-x534.google.com with SMTP id n7so10375867pgg.2; Sun, 13 Dec 2020 00:21:09 -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=+3OLNF3TvnXSpTnJqrl8wf40Cb3rz/JSoX19qSWIVzk=; b=n9uSYM0iWQ5S9MTmcZUq9vkBfmMAbWTzzQmtl3V2mDxyG2H8vLuZt+qWQ41uh3JvUa f9zr8htwSViE0EZQfoepp574PP0vwUcWNGxRruPNkxjTGqjoYKlf5bh0YhOtwNaAEcD/ VucIHwPVql+bjZDovZxUF6VAiCvhreTuhgSJMkORA8NLANxMEjb9Ld9Jr7v8pmXaRVJt TYjDxM1bIXyYQjk7Z6K4Lfau7Ta3jFK9dybL6X57U3p2M+7G5ucOOO9koFzMqA2mcPI8 kKJkis7K7jcmsiTv7WEzPE6dyWjVx7OGjmZz4d8Aqml4qyj0rhCs8W5Cxl7c7UeXHKvu ngfw== 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=+3OLNF3TvnXSpTnJqrl8wf40Cb3rz/JSoX19qSWIVzk=; b=C+k0RPO9xI+L3eD2BjpQOCNrryQFTARmZrG1J38nbFJ1FT26C+PtkyslPwjMcdE1/O PviDyT4iMnrspEN7n3DGe+rXKwBbd1YHTmvbSrrGEW5B95zPyGd3Do4ZevcHp9l6Fhgv ZL9JIsQ4iEt+U4fwOT4snY6kW573qn6BdbvgFnsb4Vsf23l5xil36Qm9PBFcLnLwIKYs 0x3dW5LnHTY/hgyvSFV3uGxnVMtqd3e22EnAgaC8B4ywcKrVeLnjaLhHKW1R+5910nKn nmagRUEvTO3hLbM0MkblgmnRDCdjAh8AB1YmiGmBwPjAklxGoH10a/lmTL/ExzHvWG19 TE5A== X-Gm-Message-State: AOAM532Y4MbqAM54Na3OAjp7J1uWdUpCeHAQiPFUXt+9goeUz+UV8/Wp tJ8KvWfFydIwRM4jK6T27I0= X-Google-Smtp-Source: ABdhPJxTuq5f3rrpDoY23YBMulFuCS8uNxgFNEvej0VbKtCwsYkZxJ/G/ISJjh05cPjQAEd11ypDJQ== X-Received: by 2002:a05:6a00:8d4:b029:19b:694:347c with SMTP id s20-20020a056a0008d4b029019b0694347cmr18854502pfu.54.1607847668989; Sun, 13 Dec 2020 00:21:08 -0800 (PST) Received: from localhost ([50.7.251.66]) by smtp.gmail.com with ESMTPSA id p185sm13305699pfb.165.2020.12.13.00.21.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Dec 2020 00:21:07 -0800 (PST) From: Ihor Radchenko To: Jean Louis , daniela-spit@gmx.it Subject: Re: org-capture user-error: Abort In-Reply-To: References: Date: Sun, 13 Dec 2020 16:24:56 +0800 Message-ID: <874kkq5d0n.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::534; envelope-from=yantar92@gmail.com; helo=mail-pg1-x534.google.com X-Spam_score_int: -7 X-Spam_score: -0.8 X-Spam_bar: / X-Spam_report: (-0.8 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.1 (/) X-Debbugs-Envelope-To: submit Cc: bug-gnu-emacs@gnu.org, Org-Mode mailing list X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) Jean Louis writes: > * daniela-spit@gmx.it [2020-12-12 23:19]: >> Emacs fires "user-error: Abort" after pressing "q" to abort org-capture. > > Those are error messages invented by programmers who never had any > project supervisor who thinks of users. Please be nice. > If user wish to abort it is not an error. Even if it is error, why it > should be written with the dash as "user-error"?! > > If message is at all necessary then computer should say "Action > aborted" or similar. (user-error "Action aborted") only prints "Action aborted". From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 13 03:26:02 2020 Received: (at submit) by debbugs.gnu.org; 13 Dec 2020 08:26:02 +0000 Received: from localhost ([127.0.0.1]:47372 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koMhe-0001hQ-4R for submit@debbugs.gnu.org; Sun, 13 Dec 2020 03:26:02 -0500 Received: from lists.gnu.org ([209.51.188.17]:56826) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koMhd-0001hG-4y for submit@debbugs.gnu.org; Sun, 13 Dec 2020 03:26:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36638) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koMhb-00019X-Gn; Sun, 13 Dec 2020 03:25:59 -0500 Received: from mout.gmx.net ([212.227.15.15]:36803) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koMhY-0001IO-Ur; Sun, 13 Dec 2020 03:25:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1607847923; bh=bLc8ZEcsUq7hbhxfV1wDRn0OB69ZZpLrOzp2ccPLISM=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=VDTjtM4zDbN3/UesJHdkQliVdTGIUYjPCbdTQOSohCcgpVicFbzP2B1gxMMJ893X6 vLn5LHI/dxd2r6mIpi0CWs4n42IxriJa3Vo9Q9zht2Hh30C63Bhyse+TL3KTHg3LYM 0A3rz3zouAgiiLVS5mAd7GP8AYy5ciQ88ttu8fls= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([212.86.57.38]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Mj8mV-1k9GZq0l3V-00fAgt; Sun, 13 Dec 2020 09:25:23 +0100 From: Michael Albinus To: Jean Louis Subject: Re: org-capture user-error: Abort References: Date: Sun, 13 Dec 2020 09:25:22 +0100 In-Reply-To: (Jean Louis's message of "Sun, 13 Dec 2020 08:22:59 +0300") Message-ID: <87r1nu864t.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:asZsqpJmnL/pbRIvBg1GVY2YBJDkXjPNc7KbWzuo5BGllt25BEU AtymVqlDcqSWSmwjgjzDsIwgJhkyvlkWIN0fJaOR7fC1+p7YiGWz2c6nBynaYMfPA3wg1Qf +eoC35VadhfE85pafao8OzB0ssqI07HC4UzA9FooiPAqQOQTelifcbtMaGnOp7VCwMIolqG 2Dna5cWQsNvWIZwQ2KWxg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:YtpgGFkBawM=:/LJqfBnW7U0w9/D+KlCkwa K/bwJg5n8GwPI2rJiFaJ8w05VzEZtwxNiwBXv3cncskVbCaGJ4B8Sn4YEduhDPI6hDbdgJCvd jlR7krlmul2N2PdvczBvxQkA2OdElexi+WrMl8TB8yxrdp+Yyi2r4be+ZgiRmPMuTWj1iUyhp q+hxk18UeudZxG6gjcHM92QnogsI6j+aYSeb9FwlOMMJF+MbzKBX3dSCg+9AGNz8MQR+Morlz cA5GmzQHjRuDBPwGYkE28fjcGyfwbTc0d0iVLzV4C7XAea1q+JIRZepAOOi5e/upDbTU7iACs AM2oL6JYWXFBR2TVeab2uJxZqdqXx23+/AGxNest1wvNTFoe9CL+QIIAGRoerAvrRMWDM1yBB m0jlDBwS6H9rDJop+HVzgxUQs1jn1ASnNkQrJA7jG8a1q5XJvFc+V32S/v5XqG7c0tRNHkGpv 26dEyZ8PSaw2ulI735mVDu1QqByCoXVwiX1EX2QUAtn4JWDJ5aXOVmHA6JKZGF6fSr3E6P4Qt nQoto3vsr88Ql54A5BW1xhO8m+bdIqADb6Bm7xnFoG1neDcyQ4E/ZU5pAS6MBLMJeB7pGgzny D01LflB+RxoLDn8076dLoWcCzk0TE/qHtlIuy1kYXiuLc0CIn2WD7kujYleH8qG45LGbotYEg 6Kz/4bctxCxZtnNU+tLf3+BNiMTBl6I0X0bzr7R5c84RWhJPtD2368pQjUEYay5VVOZf49Ukq YvGFjMCKJj+YOV40N5r0KHoK6qFRlp6DrBsOZghdjkcWcu7zG/O0Be4ChqFfrTsH7nCBzXjUU 1K3OzWtQm8OzDeA7AGG6loYqFHkya+ugo8M191lbHIw9xzXkpP71Hn3KSYmyDLolWdrCeI2Ox G8rpl2CIcfXVGaYK5oMg== Received-SPF: pass client-ip=212.227.15.15; envelope-from=michael.albinus@gmx.de; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, 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-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: daniela-spit@gmx.it, bug-gnu-emacs@gnu.org, Org-Mode mailing list X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Jean Louis writes: Hi Jean, > Even if it is error, why it should be written with the dash as > "user-error"?! `user-error' is a standard error symbol in Emacs, which is fired by the function `user-error'. See (info "(elisp) Signaling Errors") Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 13 03:52:14 2020 Received: (at 45212) by debbugs.gnu.org; 13 Dec 2020 08:52:14 +0000 Received: from localhost ([127.0.0.1]:47403 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koN6z-0002kn-RC for submit@debbugs.gnu.org; Sun, 13 Dec 2020 03:52:14 -0500 Received: from mail-pf1-f182.google.com ([209.85.210.182]:37474) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koN6x-0002kQ-LV for 45212@debbugs.gnu.org; Sun, 13 Dec 2020 03:52:12 -0500 Received: by mail-pf1-f182.google.com with SMTP id 11so10068135pfu.4 for <45212@debbugs.gnu.org>; Sun, 13 Dec 2020 00:52:11 -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=KGi+rnvUX1ASfOTucLkHBbCtD4bpr+qCZRIOKWEWwBI=; b=k0qAU0ZRbWgS+88EJ6h1QAtwpRWVzpiArFzqdMS73LHaVysFlqR+I6be8kyiBgboEH jg+4MrSp0zkXE7eT7QYwpwagWAZOBkE7L8IW6bGJNqvQ+OpxRL6LpxDIk9BZV692W8wg XkxOsSdhNTHQvtYj3+qBd6dy6UQ5eZe7dRE99Uccl7s2qA6xtfji9dQ/UQk0ncNB+sAc MYtXGBQ33asntFahmk+IcvMuTNfYc7mgvdpYNlaov0GT8ZQt0hK1TrXCoHiS/cyUPKif mCLQTfWi08OVbE6OWpmQzwGCaPW5hMMBPP/jWf0DjkpfVAkOAQr1GKj2xOAFlBPlJtqC 3i+g== 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=KGi+rnvUX1ASfOTucLkHBbCtD4bpr+qCZRIOKWEWwBI=; b=nw+UU5KdqFRhRak3bmjZYpvnaee9vtilGLZRnhJQy2bC3V3roVwVwJOonFDTBNAFqG zYdDtixWPqe66u3z44uEQS8eaXfo1lkjghJeUZ5mP6IkSmPbmSAKYtaflVVhfydw2O26 GhVY4hRknQIctMG/X0v4DvOwgghlXm5osIvWHAHp9P91KUDAG6+A7wEdFuwksTUdatlU oT1sWN5JqAP1SUldeSEWC7inTdSbb2GzNo44VMbkeAtmVYqjSIG6SAUkKcvdL+2R8vIF LFiyGFwdneBOVII+GpYYd2lcRBTxzJltaQS7O4iqlANE44905bRhmqYXZ8ShffU5n6tF N8eg== X-Gm-Message-State: AOAM530iWymXgE2XbRGL+reMlZ5WnIZrk2lyZqU/fZ4InhJOPYp9K649 s7Pj+cyS/AiKwc1n0cFgcgE= X-Google-Smtp-Source: ABdhPJw/fZpMQnBq5H6U4MH+I0wYpKjBRbZo+GDTKJKkr75qQ5ivacGxk62snVPOFtQPbD+AI87DLA== X-Received: by 2002:a63:1a13:: with SMTP id a19mr19111947pga.146.1607849525356; Sun, 13 Dec 2020 00:52:05 -0800 (PST) Received: from localhost ([50.7.251.66]) by smtp.gmail.com with ESMTPSA id x12sm16282623pfj.25.2020.12.13.00.52.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Dec 2020 00:52:04 -0800 (PST) From: Ihor Radchenko To: Jean Louis Subject: Re: bug#45212: org-capture user-error: Abort In-Reply-To: References: <87sg8a5x98.fsf@localhost> <87bley5sfo.fsf@localhost> <878sa25nja.fsf@localhost> Date: Sun, 13 Dec 2020 16:55:51 +0800 Message-ID: <871rfu5bl4.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 45212 Cc: daniela-spit@gmx.it, 45212@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Jean Louis writes: > * Ihor Radchenko [2020-12-13 07:35]: >> > What case scenarios would rely >> > on user quitting capture rather than going ahead with an entry? >> >> For example, I have a custom capture function from email. The email is >> removed from inbox upon capture. However, I would not want to proceed >> with removal if capture is aborted for whatever reason. > > If user wish to capture maybe it should be done more atomic and > safely for some types of capturing email message ID, or emails, or > capturing URLs, basically that data which already exists and which > user need not create oneself. It excludes notes for example or > anything related to real time annotations: It is pretty much what I do. For safety, (condition-case ...) is taking care of capturing whatever unexpected error happens. With current org-capture behaviour, condition-case also happens to cover aborting capture. Further, "removing from inbox" for my case merely means removing "inbox" tag from the email. I think I never deleted a single email from my local mailbox for the last 5 years or so. > - item that user wants to be captured should be captured in separate > storage which I will mark here as (S) at the moment that users > desired to do so. Nothing else should prevent that > capture. Implementation of the storage is not important. Maybe it > could be one file among many in a directory, maybe it could be in > one big file, it does not matter. > > - in the next step would come the formatting of the storage. This can > be aborted as people do various things. Maybe they wish to put some > date, or this or that. When user signals that capture editing is > finished at that moment only would the item from the storage (S) be > removed. It is how org-capture works internally ;) Capture is put into real org file (not a temporary file). It is only removed if used explicitly aborts the process. > Examples of such workflow: > > - URL that only need to be captured without much annotations, click > button. Finished. When time comes sort one by one into various > categories. Not in real time. In real time user is browsing Internet > and may like rather to continue reading the WWW instead of > annotating the URLs or sorting into some categories. Click once, and > Emacs WILL NOT open. It captured the URL. Why it should open? > Annotate it or categorize it later when you annotate many items at > once. That's why there is :immediate-finish option in org-capture-templates. I use it most of the time I capture web-links (see https://github.com/yantar92/org-capture-ref#capture-setup). > - Messages like you said, one click. Finished. If necessary categorize > later several messages at once. That's what I do with RSS feeds and unimportant emails. > ... As a side note messages are always > related to people or groups of people such as Org users. I am always > extracting the email address and relating message to people > automatically. It would indeed be useful. In future, I plan to implement auto-linking to my org-contacts upon capture. > - Tasks related to message by related people I was always capturing > with one single F10 or F11 in mutt. No thinking more than this. The > subject and person would get captured. Later I have the list of the > simple TODOs, how I called it and how I will soon re-implement > it. > > Such tasks are more a reference to my thought. My thought is not > written anywhere and for onlooker it would be not conclusive why I > have captured that as an action. It is just a reference: person's > name, subject, maybe email body, all that is reference as it > associates me to the thought of some action I have to do related to > that. But I need not write that action anywhere. Good if it works for you. I usually need to leave a few "breadcrumb" words during capture to remind myself what I was thinking about. I generally tend not to link my thoughts to specific dates or people. In the past, I tried approach like what you described and ended up forgetting about what I was thinking while capturing something. > That way a series of actions and series of thoughts do not get > interrupted by Emacs capture window opening and requesting user to > write something. Instead the item is capture by one key and user > continues with the original uninterrputed serious of actions and > thoughts. Focus remains on one action getting done, while some actions > are postponed for later review. Later review is again done in a series > of actions and thoughts not interrupted by something else. I am really surprised that you don't forget the ideas using this workflow. It reminds me that all people are different. Best, Ihor From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 13 12:31:59 2020 Received: (at submit) by debbugs.gnu.org; 13 Dec 2020 17:31:59 +0000 Received: from localhost ([127.0.0.1]:50028 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koVDz-0001he-Hp for submit@debbugs.gnu.org; Sun, 13 Dec 2020 12:31:59 -0500 Received: from lists.gnu.org ([209.51.188.17]:55622) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koVDx-0001hW-Gb for submit@debbugs.gnu.org; Sun, 13 Dec 2020 12:31:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55226) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koVDx-00088c-4y; Sun, 13 Dec 2020 12:31:57 -0500 Received: from stw1.rcdrun.com ([217.170.207.13]:58887) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koVDv-00028w-KR; Sun, 13 Dec 2020 12:31:56 -0500 Received: from localhost ([::ffff:197.157.34.185]) (AUTH: PLAIN securesender, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 00000000000308F4.000000005FD65009.00004CE2; Sun, 13 Dec 2020 10:31:53 -0700 Date: Sun, 13 Dec 2020 13:46:15 +0300 From: Jean Louis To: Ihor Radchenko Subject: Re: org-capture user-error: Abort Message-ID: References: <874kkq5d0n.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <874kkq5d0n.fsf@localhost> User-Agent: Mutt/2.0 (3d08634) (2020-11-07) Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_06_12=1.543, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: submit Cc: daniela-spit@gmx.it, bug-gnu-emacs@gnu.org, Org-Mode mailing list X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) * Ihor Radchenko [2020-12-13 11:21]: > Jean Louis writes: > > > * daniela-spit@gmx.it [2020-12-12 23:19]: > >> Emacs fires "user-error: Abort" after pressing "q" to abort org-capture. > > > > Those are error messages invented by programmers who never had any > > project supervisor who thinks of users. > > (user-error "Action aborted") only prints "Action aborted". Function is used wrongly. People do read source code. (user-error FORMAT &rest ARGS) Probably introduced at or before Emacs version 24. Signal a user error, making a message by passing ARGS to ‘format-message’. This is like ‘error’ except that a user error (or "pilot error") comes from an incorrect manipulation by the user, not from an actual problem. In contrast with other errors, user errors normally do not cause entry to the debugger, even when ‘debug-on-error’ is non-nil. This can be overridden by ‘debug-ignored-errors’. Did user incorrectly manipulated anything? I don't think so. There was definitely good intention to glue the things together and make things function. But it was not made from viewpoint that software will be used by people, maybe people read source code which is what we want. Under certain condition that will come up as actual error, see debug-ignored-errors. Why tell to user that it was user error when it was not? It was one of options. Focus on technicality that causes the problem which does not fit reasonably into human meanings. We like meanings, that is why we want to fit meanings where they belong. Systems are not enough meaningful. I can love my bicycle as I want, but it may not be usable by other people due to all idiosyncratic enhancements I have made to it. Jean From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 13 12:32:04 2020 Received: (at submit) by debbugs.gnu.org; 13 Dec 2020 17:32:04 +0000 Received: from localhost ([127.0.0.1]:50032 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koVE3-0001iJ-SA for submit@debbugs.gnu.org; Sun, 13 Dec 2020 12:32:04 -0500 Received: from lists.gnu.org ([209.51.188.17]:55944) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koVE2-0001i2-Ed for submit@debbugs.gnu.org; Sun, 13 Dec 2020 12:32:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55238) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koVE1-0008GK-PV; Sun, 13 Dec 2020 12:32:01 -0500 Received: from stw1.rcdrun.com ([217.170.207.13]:58887) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koVE0-00028w-70; Sun, 13 Dec 2020 12:32:01 -0500 Received: from localhost ([::ffff:197.157.34.185]) (AUTH: PLAIN securesender, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 00000000000308F4.000000005FD6500E.00004CEE; Sun, 13 Dec 2020 10:31:57 -0700 Date: Sun, 13 Dec 2020 13:48:28 +0300 From: Jean Louis To: Michael Albinus Subject: Re: org-capture user-error: Abort Message-ID: References: <87r1nu864t.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: <87r1nu864t.fsf@gmx.de> User-Agent: Mutt/2.0 (3d08634) (2020-11-07) Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_06_12=1.543, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: submit Cc: daniela-spit@gmx.it, bug-gnu-emacs@gnu.org, Org-Mode mailing list X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) * Michael Albinus [2020-12-13 11:25]: > Jean Louis writes: > > Hi Jean, > > > Even if it is error, why it should be written with the dash as > > "user-error"?! > > `user-error' is a standard error symbol in Emacs, which is fired by the > function `user-error'. See (info "(elisp) Signaling Errors") And error is by definition a wrong action attributable to bad judgment or ignorance or inattention. When user is offered choice: [q] Abort then such is not a wrong action or bad judgment or ignorance or inattention. Even the function description says it should be used in different set of circumstances. Org capture screen does not provide that circumstance that function should be used there as user's choice is not an error. Jean From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 13 12:38:31 2020 Received: (at submit) by debbugs.gnu.org; 13 Dec 2020 17:38:31 +0000 Received: from localhost ([127.0.0.1]:50044 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koVKJ-0001ry-Fk for submit@debbugs.gnu.org; Sun, 13 Dec 2020 12:38:31 -0500 Received: from lists.gnu.org ([209.51.188.17]:53770) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koVKH-0001rq-C9 for submit@debbugs.gnu.org; Sun, 13 Dec 2020 12:38:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56272) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koVKG-0002S9-A8; Sun, 13 Dec 2020 12:38:28 -0500 Received: from mout.gmx.net ([212.227.15.19]:49621) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koVKA-000314-DW; Sun, 13 Dec 2020 12:38:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1607881069; bh=/VkENpohDHIQD/A52BkmhgiUSgHDYfBQYjjOKfmWKBc=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=gxWIiz4ZHYZtZJOiyzY2gI4dqXhldu+8pE3hyFRhY4W5u1neITQXnGGUBBRpG/Z18 1avx57c9VLAfSwKcqK+E5q4s1uxgdGEWcZO7nEFZdftv9w+KDnPprOr7JfMnlw+72S SBVfKAziBY+ALomceSmH37W49DA/qXy0h2cBOCHU= 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 18:37:49 +0100 MIME-Version: 1.0 Message-ID: From: Christopher Dimech To: Jean Louis Subject: Re: org-capture user-error: Abort Content-Type: text/plain; charset=UTF-8 Date: Sun, 13 Dec 2020 18:37:49 +0100 Importance: normal Sensitivity: Normal In-Reply-To: References: <874kkq5d0n.fsf@localhost> Content-Transfer-Encoding: quoted-printable X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:1YxS7zwKcyfjwoxsJdRrZriE8kNAWZBs7vEScv1Ikp/bc8BRJb2+50v2Rbjo8ElKLaehQ vwj3hKHWtrWN3Eb7A9ZPimCFv7HHNHjHCwDgy3rP6+uVuo9UsI7UsKquIf37dqPi6wIM93d27m1p FuiPh0RAobG8TvlDqzwZgOsOHYbZNUm8HmCApnIlfqkAvEQb1adu5/T0G3y7fBCx50+SmcmF4ZB7 KaMmCATgQTBBaviy2hWJTBWio3OLYPA6e0AM3bCbFJT1UncU/VaBz/tlhdo3zjD3Qee5nr9i17V/ 1I= X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:JUOj851Yqvo=:E3vdCYK/XxTRw0b20Cj0Ns p+ujq6EWKgOK2GIpdZm0Jf3IpuoHQ0+hwoxiWQpPtIAYr/pLN67kbHutyRSZO7nNe83H/c+Wd +yH3xOB0oDsTm7Of7Qbb+coQRAtFsd44pkqxnxVuNiA6R6LEkwBQ9wZYnwdzpy8viQd2IbjmV d7agZF9jZVuxr2jyoDaWDR6t03WqQfTmPa/PCHZCpLgG9lY08CvkD6Eh3DLwr6pSVL6tXrBKa M7pC/k+CsN6mYxcxZoShZ7EkhV5IN2uiwh2cUhFyv1lCt8w++nuehCcCAJKlEtcfeBfKQ6m3V clx+ZWQ6unY1sy5P9FGi6Xr2033JVhNIx3MAdZbu6n5/lqydXmiuws2evhXt5kV8elboe32Uz VvzjdeMcy8t9zmeMYKgReDMLndEsDcdhtDNgjhpitWX7ZvrjfjvU09U7UJ7kvntHtFx+7wpp4 QZy4xguvqwtGZgWSnZ37rRMBoBaj+aCDzN48xMZefjTZcFrsnsc/aRy8EPubYWYDpWHFOm7mF LPOOzvfCxhA+gkthofEmXJNsNdlGfAvW42Cw9u2NA5zyxVM69w0FIrXq5+mNv0RSz50unsbRb Ly7QedqWtHsG4= Received-SPF: pass client-ip=212.227.15.19; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: submit Cc: bug-gnu-emacs@gnu.org, Org-Mode mailing list , Ihor Radchenko X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) > Sent: Sunday, December 13, 2020 at 11:46 AM > From: "Jean Louis" > To: "Ihor Radchenko" > Cc: daniela-spit@gmx=2Eit, bug-gnu-emacs@gnu=2Eorg, "Org-Mode mailing li= st" > Subject: Re: org-capture user-error: Abort > > * Ihor Radchenko [2020-12-13 11:21]: > > Jean Louis writes: > >=20 > > > * daniela-spit@gmx=2Eit [2020-12-12 23:19]: > > >> Emacs fires "user-error: Abort" after pressing "q" to abort org-cap= ture=2E > > > > > > Those are error messages invented by programmers who never had any > > > project supervisor who thinks of users=2E > >=20 > > (user-error "Action aborted") only prints "Action aborted"=2E >=20 > Function is used wrongly=2E People do read source code=2E >=20 > (user-error FORMAT &rest ARGS) >=20 > Probably introduced at or before Emacs version 24=2E >=20 > Signal a user error, making a message by passing ARGS to =E2=80=98format= -message=E2=80=99=2E > This is like =E2=80=98error=E2=80=99 except that a user error (or "pilot= error") comes > from an incorrect manipulation by the user, not from an actual problem= =2E > In contrast with other errors, user errors normally do not cause > entry to the debugger, even when =E2=80=98debug-on-error=E2=80=99 is non= -nil=2E > This can be overridden by =E2=80=98debug-ignored-errors=E2=80=99=2E >=20 > Did user incorrectly manipulated anything? I don't think so=2E=20 >=20 > There was definitely good intention to glue the things together and > make things function=2E But it was not made from viewpoint that software > will be used by people, maybe people read source code which is what we > want=2E Under certain condition that will come up as actual error, see > debug-ignored-errors=2E >=20 > Why tell to user that it was user error when it was not? It was one of > options=2E I agree absolutely=2E =20 > Focus on technicality that causes the problem which does not fit > reasonably into human meanings=2E We like meanings, that is why we want > to fit meanings where they belong=2E Systems are not enough meaningful= =2E >=20 > I can love my bicycle as I want, but it may not be usable by other > people due to all idiosyncratic enhancements I have made to it=2E >=20 > Jean >=20 >=20 --------------------- Christopher Dimech General Administrator - Naiad Informatics - GNU Project (Geocomputation) - Geophysical Simulation - Geological Subsurface Mapping - Disaster Preparedness and Mitigation - Natural Resource Exploration and Production - Free Software Advocacy From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 13 12:42:06 2020 Received: (at submit) by debbugs.gnu.org; 13 Dec 2020 17:42:06 +0000 Received: from localhost ([127.0.0.1]:50048 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koVNm-0001xZ-0r for submit@debbugs.gnu.org; Sun, 13 Dec 2020 12:42:06 -0500 Received: from lists.gnu.org ([209.51.188.17]:40094) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koVNk-0001xS-AN for submit@debbugs.gnu.org; Sun, 13 Dec 2020 12:42:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56828) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koVNi-0000Ah-I7; Sun, 13 Dec 2020 12:42:02 -0500 Received: from mout.gmx.net ([212.227.15.19]:45799) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koVNf-0003hR-8s; Sun, 13 Dec 2020 12:42:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1607881286; bh=fWSJQLPbNbtHWp0dQaGXAUBS4ocLcH7w/0jkELH1oak=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=iEo/chhDJRu+OPigM78j5IzTvdGM1ac08SPhcpl1EI7lGpGbNeEGjnQr6BjD0pC0w o5mtPbEElu2XTkmtwzC/MvqcPiusU/2PVbX7YepYmzkgk8OyrxJNON/Jke0xXkDKzk meIpBGbg9oebgHL034q4dT2E/yQV3Bc0eTEsHlLw= 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 18:41:26 +0100 MIME-Version: 1.0 Message-ID: From: daniela-spit@gmx.it To: Jean Louis Subject: Re: org-capture user-error: Abort Content-Type: text/plain; charset=UTF-8 Date: Sun, 13 Dec 2020 18:41:26 +0100 Importance: normal Sensitivity: Normal In-Reply-To: References: <87r1nu864t.fsf@gmx.de> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:XYBWRRsqPeOyD3JrQt6TljclFQTs7mBanikGBKjPf9e0JQrA697yhHSir/DD9GYanWDie 742FPUg2nFICTF5dYl8jG9v5x3z9R1rclNNmlhgXaNRZQiZobA8AgxRK2fggLnZzr63Y+BF0R4wO MKLEizs4tpJ5SXeqLOqLPAPVZiYqvOkTYd8hv0K/s2fpgOH4x/Ot3JfcdhJQmKkB9225S8fIszlO Q/wFZcZsTfF0pZPOe2j54TMoDnrZ3qMxGLhdbJWveh9H4SBksbcYMnaFsRnyEq1b1GqDWtpF/Ccl 0E= X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:K6rAxJTjuHo=:4ioKozwECVGNptnt1V1DN/ vZRfGnSd6NBwhaC/617x9iX8s2fszfO/nKHNmGkkkvh8SxrlCipqBivczOvqMerhUzvHibrA1 vqNlPFv+lzyMRU2kiNl2+Pe62ovjtNgQMj5s7nuq0zay3CHxdqZ6T4K0ciGLxLb7EyA1HG697 TAVMd/FBscSxs2OvcziedugkBwiy0AOHWgm8QU+yTiUl7UXNY/h75UzOVOBm9ktTMN1v/xD+i HFYLRk6Sg847mBQ0v0U7wGKZ1ETWfNsVZpr48uyYHKFvniYeB8S5mZzqYmD3XKKOpxO2zzMey A+15GsN5A0mZTxRXx7rnLtyzym79WWZCDevFsuCd0/MOux3jBelSPOqFYIK/1i/cqPBlgBdIg E2pDFoelLLxIp7cY2pAHC5IFTtwGm2xZfZh6B/eBS95Oi2MQ1ZfeP/0JmkxTXwNTiSUgJl122 Z3X6WRvTptzDe/K0iO7kHa1V0TUZ49RJWRfOiv+Lk6eL7LjDj9OYzeKkMUSXoF9WsdHsdIVaa zr3TC4im/Qwu1imLM1bKDifut+L2lNhDxuSuQ5NOsp6GNGCoEn96co2V93K/aipv01kLWnHrp 1ABOu/zkWjQ2A= Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=212.227.15.19; envelope-from=daniela-spit@gmx.it; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, 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-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: Org-Mode mailing list , bug-gnu-emacs@gnu.org, Michael Albinus X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) > Sent: Sunday, December 13, 2020 at 11:48 AM > From: "Jean Louis" > To: "Michael Albinus" > Cc: daniela-spit@gmx.it, bug-gnu-emacs@gnu.org, "Org-Mode mailing list" = > Subject: Re: org-capture user-error: Abort > > * Michael Albinus [2020-12-13 11:25]: > > Jean Louis writes: > > > > Hi Jean, > > > > > Even if it is error, why it should be written with the dash as > > > "user-error"?! > > > > `user-error' is a standard error symbol in Emacs, which is fired by th= e > > function `user-error'. See (info "(elisp) Signaling Errors") > > And error is by definition a wrong action attributable to bad judgment > or ignorance or inattention. > > When user is offered choice: > > [q] Abort > > then such is not a wrong action or bad judgment or ignorance or > inattention. Even the function description says it should be used in > different set of circumstances. > > Org capture screen does not provide that circumstance that function > should be used there as user's choice is not an error. When I abort, it is completely intentional. I use frequently for testing new org-capture templates. > Jean > > From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 13 13:11:42 2020 Received: (at submit) by debbugs.gnu.org; 13 Dec 2020 18:11:42 +0000 Received: from localhost ([127.0.0.1]:50085 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koVqQ-0002n6-By for submit@debbugs.gnu.org; Sun, 13 Dec 2020 13:11:42 -0500 Received: from lists.gnu.org ([209.51.188.17]:47966) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koVqO-0002mw-OX for submit@debbugs.gnu.org; Sun, 13 Dec 2020 13:11:41 -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 ) 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 ) 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: From: daniela-spit@gmx.it To: Diego Zamboni 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: References: <87sg8a5x98.fsf@localhost> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:IT+9FwqFXG/a21qHn2+Ljw71aD9VyE8flI1aZvijOW1rpEk02qQUNBpwDuwTg95da21bR XwJ4JJv+xCLfDGlNaoguK0iNGKiZ5UI5tHs6qx55XaJicLuFaukDoK7m54b8Du9L5jJ2Bcqss9e+ gjaAQkCXbCuElKtVZ4AGpNt1CRcp5SqmJ8VrE6pN6E5HSDrtYd18Ui1Fo71Fc7mXjiUamvrF3sOD DsrSDTtGnFMyZOg9jzHK9lab8LBxAKMsMO3Y0AWO+rtBAjfLnPYAMqTHxAUbT5mTyeveUOc9t9A9 gE= X-Spam-Flag: NO 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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: bug-gnu-emacs@gnu.org, Org-Mode mailing list , Ihor Radchenko X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--)
 
 
 
Sent: Sunday, December 13, 2020 at 7:07 PM
From: "Diego Zamboni" <diego@zzamboni.org>
To: "Ihor Radchenko" <yantar92@gmail.com>
Cc: daniela-spit@gmx.it, bug-gnu-emacs@gnu.org, "Org-Mode mailing list" <emacs-orgmode@gnu.org>
Subject: Re: org-capture user-error: Abort

> 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?
 
I use it to build my templates (incl. switching between templates) and could get many errors.
To test functionality, I custamarily abort the capture.
 
 
From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 13 13:20:38 2020 Received: (at submit) by debbugs.gnu.org; 13 Dec 2020 18:20:38 +0000 Received: from localhost ([127.0.0.1]:50170 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koVz4-00033o-EJ for submit@debbugs.gnu.org; Sun, 13 Dec 2020 13:20:38 -0500 Received: from lists.gnu.org ([209.51.188.17]:43040) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koVml-0002gj-UQ for submit@debbugs.gnu.org; Sun, 13 Dec 2020 13:07:56 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33932) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koVml-0001Si-NB for bug-gnu-emacs@gnu.org; Sun, 13 Dec 2020 13:07:55 -0500 Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]:34043) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1koVmi-00072t-RP for bug-gnu-emacs@gnu.org; Sun, 13 Dec 2020 13:07:55 -0500 Received: by mail-ej1-x62d.google.com with SMTP id g20so19483340ejb.1 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=Hs4scFPr19ey24S5rh3wtyxmgXKDObTH/C2nPSBB6yjv4ugsO2pdkwowINWXsNaRWm PR2QGQ/cOAIyp1bc9X9oSQkiy2MjIniF6DrNg3rRXEXx1JcSlf5Irn0/M0dQ2M/1B46h QCx7cHn+elCze/XVSlnzfmznxpY1A7mjkpeZlvIfj3f/tq1OQxxB1OOrVwBOaSi7nhV/ YJP7FQRl5Hpk4mDtEs8y6uhsS9hNnrfhn4U6kyCaliWn90dCynhu1+MkY5aNFHgV70cn e6UwACvkPefClbRdBg/+d0Vv1lxT/42ZCgRZiZF14UpVMb2ruhOM/G9vPAtG0n9g724j bE7w== X-Gm-Message-State: AOAM533/VnWLNUdixWEAnEhp9BWaPHn4xz7NIZ6uPBkOEjGMgX8VnEg1 tKE1h1hsZg+mYp9vxCwEBMWVqAPnvFN9D5s+pIoSdA== 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::62d; envelope-from=diego@zzamboni.org; helo=mail-ej1-x62d.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=unavailable autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 13 Dec 2020 13:20:38 -0500 Cc: daniela-spit@gmx.it, bug-gnu-emacs@gnu.org, Org-Mode mailing list X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --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--