From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Manuel Giraud via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#63311: 30.0.50; [PATCH] smtpmail-send-it split Date: Thu, 02 Nov 2023 11:44:40 +0100 Message-ID: <87wmv0zb6v.fsf@ledu-giraud.fr> References: <87jzxmsyyr.fsf@ledu-giraud.fr> <83ttwqhahy.fsf@gnu.org> <874joq34bk.fsf@ledu-giraud.fr> <83o7mygevr.fsf@gnu.org> <87wn1hzv9j.fsf@ledu-giraud.fr> <871qjoe7cw.fsf@ledu-giraud.fr> <837ctf575q.fsf@gnu.org> <87ilcypot3.fsf@ledu-giraud.fr> <83pm763y3r.fsf@gnu.org> <87h6si5aor.fsf@ledu-giraud.fr> <83a5ya3u16.fsf@gnu.org> <871qjm56ej.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> Reply-To: Manuel Giraud Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38157"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 63311@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 02 11:45:43 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 1qyVCo-0009g8-OY for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Nov 2023 11:45:42 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qyVCb-00041P-Lg; Thu, 02 Nov 2023 06:45:29 -0400 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 1qyVCZ-00040c-Q1 for bug-gnu-emacs@gnu.org; Thu, 02 Nov 2023 06:45:27 -0400 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 1qyVCZ-00042n-9j for bug-gnu-emacs@gnu.org; Thu, 02 Nov 2023 06:45:27 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qyVD7-0004bN-OG for bug-gnu-emacs@gnu.org; Thu, 02 Nov 2023 06:46:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Manuel Giraud Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Nov 2023 10:46:01 +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.169892192117633 (code B ref 63311); Thu, 02 Nov 2023 10:46:01 +0000 Original-Received: (at 63311) by debbugs.gnu.org; 2 Nov 2023 10:45:21 +0000 Original-Received: from localhost ([127.0.0.1]:54001 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qyVCT-0004aL-Fk for submit@debbugs.gnu.org; Thu, 02 Nov 2023 06:45:21 -0400 Original-Received: from ledu-giraud.fr ([51.159.28.247]:46100) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qyVCQ-0004aA-LZ for 63311@debbugs.gnu.org; Thu, 02 Nov 2023 06:45:20 -0400 DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=1317ypzy Pp5fLjcyJx4Lno7QPzYCaMNKZ5twoHoXf7M=; h=date:references:in-reply-to: subject:cc:to:from; d=ledu-giraud.fr; b=ZEoOYnSkVlOHZGDAagv5JrcB/MR7Lw 62t4YUa8rYEAhKxyjEwjb1lv4db2/IJDoRH15Ps0mUVVuIpbNoxmcoBg== DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=1317ypzyPp5fLjcy Jx4Lno7QPzYCaMNKZ5twoHoXf7M=; h=date:references:in-reply-to:subject: cc:to:from; d=ledu-giraud.fr; b=FXpOOyEVYx9lYgbq6FZJZVaMKNAQLVaD1ZyPCY HBWHpAGGQcWf/NPhgKNDmCDotJiE6xF2kbNKAZ7ZXz9THmtH5LoVEgTVVc+0dWQ6XmOzVb CuEQry6km339wGh/rLV9GaNPIdtzcLDDoqhaJySNkhOAfbcrhYHq97pCd+i3TSzRiiy26q RRUkulBhQ3pSp8HK+J7hmHjZN/fv+IK4mAGwkuM5m+pcPY+k7H6ebDYhbDJswt+LqraBCy d6nPc7BrHc95TIOKnHAk/BDDwEQEpfGB7fHg6p5Iky+ffgdg215BfOwPHnLtehiEsVWx3S UQzTEU/nRXI6i4uXvzsH7hsw== Original-Received: from computer ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id c41d7d45 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 2 Nov 2023 11:44:41 +0100 (CET) In-Reply-To: <83msvw904n.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 02 Nov 2023 07:48:08 +0200") 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:273645 Archived-At: Eli Zaretskii writes: [...] > I think when messages are sent in the background, there should be a > different series of messages: one at the beginning, when the thread is > launched, and one when the thread exits. Both of these should be > output by the main thread, not the thread which sends. I think this is feasible for the message when the thread is launch but not for the final message: the main-thread would have to 'thread-join' on the sending thread and we'll lose the asynchronous behaviour, no? > The sending progress messages will not be shown, since they are mostly > useless anyway (if the user wants the sending to be in the background, > it generally means he/she doesn't care much about the progress, since > Emacs is not waiting for the sending to complete). If we need more > detailed messages in some cases, we could have a special buffer which > the user could then view if needed. Ok. [...] > Right, thanks. > > When this is available, I will probably become a heavy user of this > feature. It should probably be an opt-in feature initially, so as to > let people try it without disrupting their production workflows too > much. Yes, I think it should be opt-in. But such an option will also have ramifications in message.el, Gnus and surely more that I don't even know about. (BTW, do you have an idea for a name for such option?) -- Manuel Giraud