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: Non file buffers and default-directory Date: Sun, 23 Apr 2023 15:57:41 +0300 Message-ID: <83h6t6zrga.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> <87y1mi96zr.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39755"; 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 14:57:31 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 1pqZHW-000A8m-M7 for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 23 Apr 2023 14:57:30 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pqZHQ-00025g-33; Sun, 23 Apr 2023 08:57:24 -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 1pqZHO-00025T-4n for help-gnu-emacs@gnu.org; Sun, 23 Apr 2023 08:57:22 -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 1pqZHN-0002Ed-TB for help-gnu-emacs@gnu.org; Sun, 23 Apr 2023 08:57:21 -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=fAsqMG+tmNKbF00epm2ImQPgC/E0WOJ2i+SbWf3Cu88=; b=WnZSAtR2U9k9 INoqS/vanIgb7HZmQNelL8sopkqlvMOCZhjNouEx9EIEJZbJDFEhuuhNGBg9mCUH6UJg/+tC2yAgS oKv6fretB8oBrp0kTHGzR+s3KK7sh6+UcbuHlZ2J0mBr+7PjPtpJBLVZ6k9/IV2NcY/qhLNYO8VR5 UmLt49kVKMSHJH/4A6jVWHSBwHwty/kX3LCY0uydnDpWdc5HaZdsG3Embh7JN1RAm1QPLrupO8IQj Ck1mN0ecwEBfWDhj0037N7pU4/zvha2SuKH1eMMJFmDle1eTBIr+unS9NynMjtTBLBJQ2wro4O5+X zP4ChaN63rgJWTccG7nhig==; 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 1pqZHL-0004xS-Pg for help-gnu-emacs@gnu.org; Sun, 23 Apr 2023 08:57:21 -0400 In-Reply-To: <87y1mi96zr.fsf@gnu.org> (message from Manuel Giraud on Sun, 23 Apr 2023 13:24:08 +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:143345 Archived-At: > From: Manuel Giraud > Cc: help-gnu-emacs@gnu.org > Date: Sun, 23 Apr 2023 13:24:08 +0200 > > Eli Zaretskii writes: > > > Btw, if someone is looking for a worthy development task which could > > be handled by threads, I have one: make smtpmail-send-it run from a > > thread, thus avoiding to lock up Emacs until the email message is sent > > (or fails to be sent). This is especially important when the link is > > flaky, in which case sending an email message could lock up Emacs for > > many seconds. > > Do you mean smtpmail-send-it itself or a caller of smtpmail-send-it? And > if so which one? I mean smtpmail-send-it. Specifically, its subroutine smtpmail-via-smtp, which is what actually sends the email.