From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#63311: 30.0.50; [PATCH] smtpmail-send-it split Date: Tue, 07 Nov 2023 14:12:11 +0200 Message-ID: <834jhx3gpw.fsf@gnu.org> References: <87jzxmsyyr.fsf@ledu-giraud.fr> <87r0l9ejmm.fsf@ledu-giraud.fr> <834ji5aatw.fsf@gnu.org> <87bkcde4bz.fsf@ledu-giraud.fr> <83r0l98e6w.fsf@gnu.org> <87lebhckp2.fsf@ledu-giraud.fr> <83msvw904n.fsf@gnu.org> <87wmv0zb6v.fsf@ledu-giraud.fr> <8334xo8khh.fsf@gnu.org> <87ttq0nuq5.fsf@ledu-giraud.fr> <835y2g42zj.fsf@gnu.org> <87msvsfacs.fsf@ledu-giraud.fr> <834ji041jj.fsf@gnu.org> <87zfzrfaho.fsf@ledu-giraud.fr> <83msvr2gy3.fsf@gnu.org> <87jzqux4cu.fsf@ledu-giraud.fr> <83fs1i3kxy.fsf@gnu.org> <87pm0mepco.fsf@ledu-giraud.fr> <838r7a3cy6.fsf@gnu.org> <87h6lyeh4a.fsf@ledu-giraud.fr> <837cmu2qhu.fsf@gnu.org> <878r7adj9p.fsf@ledu-giraud.fr> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38019"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63311@debbugs.gnu.org To: Manuel Giraud Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 07 13:13:41 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1r0Kxg-0009gp-0X for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 07 Nov 2023 13:13:40 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r0KxT-000751-TB; Tue, 07 Nov 2023 07:13:27 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r0KxR-0006yV-6t for bug-gnu-emacs@gnu.org; Tue, 07 Nov 2023 07:13:25 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r0KxQ-0002Mx-Js for bug-gnu-emacs@gnu.org; Tue, 07 Nov 2023 07:13:24 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r0Ky2-00084n-27 for bug-gnu-emacs@gnu.org; Tue, 07 Nov 2023 07:14:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Nov 2023 12:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63311 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 63311-submit@debbugs.gnu.org id=B63311.169935919030967 (code B ref 63311); Tue, 07 Nov 2023 12:14:02 +0000 Original-Received: (at 63311) by debbugs.gnu.org; 7 Nov 2023 12:13:10 +0000 Original-Received: from localhost ([127.0.0.1]:41394 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r0KxB-00083P-MD for submit@debbugs.gnu.org; Tue, 07 Nov 2023 07:13:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r0Kx9-000834-7Q for 63311@debbugs.gnu.org; Tue, 07 Nov 2023 07:13:08 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r0KwR-0002FP-6W; Tue, 07 Nov 2023 07:12:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=IXWEgLq8XJeYF1Fz9DUOJ0AYVH8qe7ZU+k0IeTla/mM=; b=otOgXrpA8Vrm kIV4rNhSUZ3Q5r81BDguCenKw+JW8BvKBRgaTdfrFdTf4Kmj8OhHSzrpMjhwDBJvbHYaUqqg1jAjj 3Wsoq8VfsslAilhaepPXJN5SPUNBqB8jUylAMnjFvOiP1gYl0TWDIK1sxqxDZ+rUyq44BClAd/JWf j56soWjiONO0Hjy0DLVfeAYhVonL8UVv7OPT+0H9vBwuKuis/WttCqYVsasvgufND6BN52mIPuBZ8 tXcHE1d2RFobbG1EVIHHx3aXr0LhZyeDnnUKFAqvowGAoOqvRM+XhQihkHoTaSR2NUiN4GvTZdDwP gyUwgivI7NR67rIbknmlyg==; In-Reply-To: <878r7adj9p.fsf@ledu-giraud.fr> (message from Manuel Giraud on Tue, 07 Nov 2023 10:06:58 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:273924 Archived-At: > From: Manuel Giraud > Cc: 63311@debbugs.gnu.org > Date: Tue, 07 Nov 2023 10:06:58 +0100 > > Eli Zaretskii writes: > > >> I mean, the last error message could come from another thread not > >> related in anyway to mail sending. No? > > > > It could, but why would there be other threads in this case? > > It seems that threads aren't used much in Emacs but isn't it dangerous > to consider we're the only one using them? I don't if it would be easy > but I think that it would be good to have a function like this: > > (thread-error thread) > > that would return the error message of the given thread like the global > 'thread-last-error' does. Maybe. But we decided not to add this until there's a real need for it. Also, threads don't really have a unique ID, at least not easily, so there's more here than meets the eye...