From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.orgmode,gmane.emacs.bugs Subject: Re: org-capture user-error: Abort Date: Sun, 13 Dec 2020 13:46:15 +0300 Message-ID: References: <874kkq5d0n.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30820"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.0 (3d08634) (2020-11-07) Cc: daniela-spit@gmx.it, bug-gnu-emacs@gnu.org, Org-Mode mailing list To: Ihor Radchenko Original-X-From: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane-mx.org@gnu.org Sun Dec 13 18:32:27 2020 Return-path: Envelope-to: geo-emacs-orgmode@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1koVER-0007un-Cy for geo-emacs-orgmode@m.gmane-mx.org; Sun, 13 Dec 2020 18:32:27 +0100 Original-Received: from localhost ([::1]:33330 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koVEQ-0008BA-Dk for geo-emacs-orgmode@m.gmane-mx.org; Sun, 13 Dec 2020 12:32:26 -0500 Original-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 Original-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 Original-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 Content-Disposition: inline In-Reply-To: <874kkq5d0n.fsf@localhost> 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-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-orgmode" Xref: news.gmane.io gmane.emacs.orgmode:133785 gmane.emacs.bugs:195980 Archived-At: * 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