From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tomas Hlavaty Newsgroups: gmane.emacs.help Subject: Re: Non file buffers and default-directory Date: Thu, 27 Apr 2023 20:52:59 +0200 Message-ID: <87sfcli2d0.fsf@logand.com> 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> <87cz3r28ye.fsf@ledu-giraud.fr> <83ildjvply.fsf@gnu.org> <87bkj9ioc8.fsf@ledu-giraud.fr> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6816"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Manuel Giraud Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 27 20:53:41 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 1ps6kP-0001bO-89 for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 27 Apr 2023 20:53:41 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ps6k0-0006qP-6M; Thu, 27 Apr 2023 14:53:16 -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 1ps6jy-0006qC-Rh for help-gnu-emacs@gnu.org; Thu, 27 Apr 2023 14:53:14 -0400 Original-Received: from logand.com ([37.48.87.44]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ps6jx-0001y1-Bw for help-gnu-emacs@gnu.org; Thu, 27 Apr 2023 14:53:14 -0400 Original-Received: by logand.com (Postfix, from userid 1001) id B767C19E6B4; Thu, 27 Apr 2023 20:53:02 +0200 (CEST) X-Mailer: emacs 28.2 (via feedmail 11-beta-1 I) In-Reply-To: <87bkj9ioc8.fsf@ledu-giraud.fr> Received-SPF: pass client-ip=37.48.87.44; envelope-from=tom@logand.com; helo=logand.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:143427 Archived-At: On Thu 27 Apr 2023 at 12:58, Manuel Giraud via Users list for the GNU Emacs text editor wrote: > Thanks for your support. I'm reading some code now and I start to > realize that *just* having an async SMTP sender in Emacs won't be that > easy. > > An example: I'm using Gnus (and message.el) to send mail. If you look > at 'message-send' (lisp/gnus/message.el#4396), that I guess is calling > 'smtpmail-send-it' down the line, you'll see that it is "waiting" for a > synchronous 'success' to decide what to do next (for example, renaming > the buffer from *unsent...* to *sent...*). This won't work as is with > an async SMTP sender. I imagine that there are other places with code > like that and that it could break many workflow. You might be after feedmail with feedmail-enable-queue. Then you can feedmail-run-the-queue, either started manually/synchronously in separate emacs instance or use async-emacs function I sent recently: id:875yad240l.fsf@logand.com Subject: Re: continuation passing in Emacs vs. JUST-THIS-ONE Date: Mon, 03 Apr 2023 02:39:06 +0200