Subject: Re: bug#45212: org-capture user-error: Abort

From: [email-masked]
Date: Sun, 13 Dec 2020 04:01:48 +0100

> Sent: Sunday, December 13, 2020 at 3:51 AM
> From: "Ihor Radchenko" <[email-masked]>
> To: [email-masked], [email-masked]
> Cc: [email-masked]
> Subject: bug#45212: org-capture user-error: Abort
>
> [email-masked] 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.

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
>
>
>
>
>
>