GNU bug report logs -
#63311
30.0.50; [PATCH] smtpmail-send-it split
Previous Next
Full log
View this message in rfc822 format
Eli Zaretskii <eliz <at> gnu.org> writes:
>> From: Manuel Giraud <manuel <at> ledu-giraud.fr>
>> Cc: 63311 <at> debbugs.gnu.org
>> Date: Mon, 06 Nov 2023 11:21:23 +0100
>>
>> Eli Zaretskii <eliz <at> gnu.org> writes:
>>
>> >> Ok. But there is still the case where any 'error' call from a thread
>> >> will end up in limbo, no?
>> >
>> > The caller will need to fetch it and display it.
>>
>> Yes but how would I do that. My idea was to left much code unmodified
>> (with all 'error' calls in case something goes wrong). But how the
>> 'main-thread' could fetch these errors.
>
> Using thread-last-error, or at least that's what I had in mind.
It seems that 'thread-last-error' is global for all threads of Emacs so
I don't it would work. Doesn't a thread record its error status and
message?
--
Manuel Giraud
This bug report was last modified 1 year and 221 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.