all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 32169@debbugs.gnu.org
Subject: bug#32169: 27.0.50; Wishlist: cleanup of thread-last-error
Date: Mon, 16 Jul 2018 17:34:17 +0300	[thread overview]
Message-ID: <83wotv8d1y.fsf@gnu.org> (raw)
In-Reply-To: <87pnzn1wdj.fsf@gmx.de> (message from Michael Albinus on Mon, 16 Jul 2018 09:18:48 +0200)

> From: Michael Albinus <michael.albinus@gmx.de>
> Date: Mon, 16 Jul 2018 09:18:48 +0200
> 
> 
> When a thread has died, `thread-last-error' reports the reason. But
> there is no possibility to cleanup this last error, which makes it
> inconvenient to check for errors in further threads. A function
> `cleanup-thread-last-error' or alike would be helpful.

How about having thread-last-error clear the error as a side effect,
perhaps when called with an optional argument?

(Btw, I'd rather we made error reporting in non-main threads much more
solid than what we have now.)





  reply	other threads:[~2018-07-16 14:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-16  7:18 bug#32169: 27.0.50; Wishlist: cleanup of thread-last-error Michael Albinus
2018-07-16 14:34 ` Eli Zaretskii [this message]
2018-07-16 14:49   ` Michael Albinus
2018-07-16 15:28     ` Eli Zaretskii
2018-07-16 15:55       ` Michael Albinus
2018-07-16 18:03         ` Eli Zaretskii
2018-07-16 18:20           ` Michael Albinus
2018-07-17 10:05           ` Michael Albinus
2018-07-17 15:46             ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83wotv8d1y.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=32169@debbugs.gnu.org \
    --cc=michael.albinus@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.