From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.bugs Subject: bug#52205: Allow configuring multiple mail accounts for smtpmail.el Date: Sat, 04 Dec 2021 09:12:44 +0000 Message-ID: <87sfv8u41f.fsf@posteo.net> References: <87fsrdmnqx.fsf@posteo.net> <87lf15arwk.fsf@gnus.org> <87bl20bswc.fsf@posteo.net> <87k0gogmgn.fsf@gnus.org> <87pmqg13qp.fsf@posteo.net> <87bl20f4zn.fsf@gnus.org> <87fsratxmq.fsf@posteo.net> <87wnklwtlw.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28055"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 52205@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 04 10:13:15 2021 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 1mtR6Z-00074A-3F for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 Dec 2021 10:13:15 +0100 Original-Received: from localhost ([::1]:33524 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mtR6X-0000gv-7v for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 Dec 2021 04:13:13 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38604) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtR6M-0000gk-2R for bug-gnu-emacs@gnu.org; Sat, 04 Dec 2021 04:13:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41362) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mtR6L-0003CK-Re for bug-gnu-emacs@gnu.org; Sat, 04 Dec 2021 04:13:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mtR6L-0005hy-Id for bug-gnu-emacs@gnu.org; Sat, 04 Dec 2021 04:13:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Philip Kaludercic Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Dec 2021 09:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52205 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 52205-submit@debbugs.gnu.org id=B52205.163860917421929 (code B ref 52205); Sat, 04 Dec 2021 09:13:01 +0000 Original-Received: (at 52205) by debbugs.gnu.org; 4 Dec 2021 09:12:54 +0000 Original-Received: from localhost ([127.0.0.1]:52908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtR6D-0005hd-MY for submit@debbugs.gnu.org; Sat, 04 Dec 2021 04:12:53 -0500 Original-Received: from mout01.posteo.de ([185.67.36.65]:55797) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtR6C-0005hP-8f for 52205@debbugs.gnu.org; Sat, 04 Dec 2021 04:12:53 -0500 Original-Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 1BB94240027 for <52205@debbugs.gnu.org>; Sat, 4 Dec 2021 10:12:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1638609166; bh=v4Q6ZHIMyoaTp+JlsVkkKZ4HfnxlFvzP83QqmOLjeS4=; h=From:To:Cc:Subject:Date:From; b=j3tJ316PEiSP8/24x0PG2nZ8THAU7bwPIELiPPgdR5quqtTJIDhb2tf+tERa9L0HE 0Msj/Av90+Mx6RLeFzx1jRkblZvKIte+/zgj7aEjiueNx43ohTSEoy5IEz90m58DVq gK8mPn2Yw+m9P+IgnVayxVaLH4w5MJnlgATSLfkkfIsUr2YgyCCgpMOly+E2f73ibk 237eAxsjH8tZsUV46M6EBNvV36h3KtBs3s4kyiLCq0Po5IDl3iBhEUP8KBTL+n7vA5 g3fuRFcN60Luy0iBka6pHbodliwAfmtdc/TOOjJoWOXESL2FKL0+xdYwCtPPw9+OdS Irg0I21L8w81A== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4J5kVj2KNWz9rxQ; Sat, 4 Dec 2021 10:12:45 +0100 (CET) In-Reply-To: <87wnklwtlw.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 03 Dec 2021 17:17:31 +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" Xref: news.gmane.io gmane.emacs.bugs:221449 Archived-At: Lars Ingebrigtsen writes: > Philip Kaludercic writes: > >> Excuse me for asking, but confusing to whom? It would seem consistent >> if an order of priority like >> >> 1. Header >> 2. server-alist/function >> 3. default server >> >> would be guaranteed. > > The confusing bit comes when the user has configured several of these, > and expects one of them to have a priority that it doesn't have. By > making this go through one single check point the priority becomes a > non-issue. I understand your point, but for this to work correctly I fear the alternative could be more confusing. Let's say I open a mail buffer with C-x m. My default address is inserted into the "From:" header. If I were to write my message, and then decide to use my secondary address, I would either have to modify the X-Message-SMTP-Method manually, or have it updated just before the message is sent out. The former is no improvement over the current situation, and the second has the same potential for confusion, because the user doesn't notice that the header is generated or updated. -- Philip Kaludercic