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.help Subject: Re: Thread for smtpmail-send-it (was: Non file buffers and default-directory) Date: Sun, 23 Apr 2023 18:56:38 +0300 Message-ID: <835y9mzj61.fsf@gnu.org> References: <87edohf3ip.fsf@ledu-giraud.fr> <87zg745p85.fsf@gmx.de> <87y1moe1aa.fsf@ledu-giraud.fr> <87v8hr6gvl.fsf@gmx.de> <874jpa611r.fsf@ledu-giraud.fr> <87v8hprb5w.fsf@mbork.pl> <87zg714qb8.fsf@gmx.de> <87pm7xplz3.fsf@ledu-giraud.fr> <87r0sc4cmv.fsf@gmx.de> <87ttx810mz.fsf@ledu-giraud.fr> <831qkb27st.fsf@gnu.org> <87pm7v256a.fsf@univ-nantes.fr> <87cz3vukop.fsf@gmx.de> <83leijyrb2.fsf@gnu.org> <87pm7u95yf.fsf@gnu.org> <83fs8qzrab.fsf@gnu.org> <87h6t68xja.fsf_-_@ledu-giraud.fr> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11004"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 23 17:56:49 2023 Return-path: Envelope-to: geh-help-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 1pqc52-0002gF-RN for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 23 Apr 2023 17:56:48 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pqc4Z-0003HL-3S; Sun, 23 Apr 2023 11:56:19 -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 1pqc4X-0003FD-TX for help-gnu-emacs@gnu.org; Sun, 23 Apr 2023 11:56:17 -0400 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 1pqc4X-0001AZ-87 for help-gnu-emacs@gnu.org; Sun, 23 Apr 2023 11:56:17 -0400 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=YO5KVBJ6IgTkfflI/ZgtmZ1OE8kC35LJ4XpzIUAEfso=; b=lbSi3N/Hc00w 7vmU6c9GtlZR6IKKlxrO1rFLxfuO3eaOl9/VcussJ/IRSGZj0Ncd2DiOnsH0kCquTpmues70sIW8G A8lOA8vW4jYIvwMhLGrcSwVsQi9zDkx+E6ec2mJAwrp2G5ltq7UalgIAWpS9L3WO6dd2miwqkqjj8 5IfU2mS+81JJwmOpSV54jUBX+DwLOfsjhOHlwdFQSV0UOWnOawmjMk3br93WQeQ4htKH+fmEgMeq9 5Y5KD7pABgeGuUXvBiWuWbEkOL44K3/zqLeXtUYQfMLGC21mmBQtiDVLiAAAzLd+8m0lQNj6y0FOH 5GOjH/Voko7BkqjFnx3Lzw==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pqc4W-00021p-9H for help-gnu-emacs@gnu.org; Sun, 23 Apr 2023 11:56:16 -0400 In-Reply-To: <87h6t68xja.fsf_-_@ledu-giraud.fr> (message from Manuel Giraud on Sun, 23 Apr 2023 16:48:25 +0200) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:143349 Archived-At: > From: Manuel Giraud > Cc: help-gnu-emacs@gnu.org > Date: Sun, 23 Apr 2023 16:48:25 +0200 > > >> This seems to work but I guess that you were thinking of something else. > > > > "Work" in what sense? Were you able to do something in Emacs while > > the mail was being sent? What happens if the send fails for some > > reason? And how fast is it sent in your case, so that the "work" part > > could be evaluated in real-life conditions, when sending takes some > > time? For example, what happens if you try to send a message with a > > very large attachment? > > "Work" in the sense that the mail arrived in my mailbox. But this goes > too fast to evaluate anything else. Maybe I could try with a fake and > slow SMTP server. Yes, when the email is sent fast, there's no need for a separate thread. I suggest to try sending a large attachment, and while the email is being sent, try editing something and see if Emacs is responsive.