From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] org-capture: Adapt user-error for aborting by user Date: Tue, 03 May 2016 19:20:41 +0200 Message-ID: <87eg9jkqhi.fsf@saiph.selenimh> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44170) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axe0U-0002F7-Ox for emacs-orgmode@gnu.org; Tue, 03 May 2016 13:21:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1axe0J-0008JY-4h for emacs-orgmode@gnu.org; Tue, 03 May 2016 13:21:05 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:41298) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axe0I-00089m-Qv for emacs-orgmode@gnu.org; Tue, 03 May 2016 13:20:59 -0400 In-Reply-To: (Chunyang Xu's message of "Sun, 01 May 2016 14:11:43 +0800") 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.org@gnu.org Sender: "Emacs-orgmode" To: Chunyang Xu Cc: emacs-orgmode@gnu.org Hello, Chunyang Xu writes: > Sometimes I turn on lisp debugger with M-x toggle-debug-on-error for > some reason, then aborting org-capture with 'q' or 'C-g' enters the > debugger, which is annoying. I think `user-error' is better than `error' > in this case. > > From 9d950e96c48b8e1a0dad779cdf34a4f8a76621db Mon Sep 17 00:00:00 2001 > From: Chunyang Xu > Date: Sun, 1 May 2016 12:47:14 +0800 > Subject: [PATCH] org-capture: Adapt user-error for aborting by user > > When `org-capture` is aborted by user with 'q' or 'C-g', `user-error' is > better than `error' to use to exit. Applied. Thank you. I added TINYCHANGE at the end of the commit message. Regards, -- Nicolas Goaziou