From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Basil L. Contovounesios" Newsgroups: gmane.emacs.bugs Subject: bug#29427: Problem sending emails in message-mode after restart Date: Sat, 25 Nov 2017 17:19:57 +0000 Message-ID: <87a7zatgw2.fsf@gmail.com> References: <87lgivfyl5.fsf@soma.i-did-not-set--mail-host-address--so-tickle-me> <87tvxj5xx8.fsf@ericabrahamsen.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1511630478 10712 195.159.176.226 (25 Nov 2017 17:21:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 25 Nov 2017 17:21:18 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 29427@debbugs.gnu.org To: Emmanuel Boudreault , Eric Abrahamsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 25 18:21:11 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIe8X-0001uS-UA for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Nov 2017 18:21:06 +0100 Original-Received: from localhost ([::1]:53864 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eIe8f-0004be-3b for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Nov 2017 12:21:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40514) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eIe8Y-0004bX-NS for bug-gnu-emacs@gnu.org; Sat, 25 Nov 2017 12:21:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eIe8T-0006Vg-Vc for bug-gnu-emacs@gnu.org; Sat, 25 Nov 2017 12:21:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49442) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eIe8T-0006VR-R9 for bug-gnu-emacs@gnu.org; Sat, 25 Nov 2017 12:21:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eIe8T-0006F0-JX for bug-gnu-emacs@gnu.org; Sat, 25 Nov 2017 12:21:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Basil L. Contovounesios" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Nov 2017 17:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29427 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29427-submit@debbugs.gnu.org id=B29427.151163041323523 (code B ref 29427); Sat, 25 Nov 2017 17:21:01 +0000 Original-Received: (at 29427) by debbugs.gnu.org; 25 Nov 2017 17:20:13 +0000 Original-Received: from localhost ([127.0.0.1]:58123 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIe7g-00067I-PT for submit@debbugs.gnu.org; Sat, 25 Nov 2017 12:20:12 -0500 Original-Received: from mail-wm0-f46.google.com ([74.125.82.46]:32768) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIe7e-00065w-MN for 29427@debbugs.gnu.org; Sat, 25 Nov 2017 12:20:11 -0500 Original-Received: by mail-wm0-f46.google.com with SMTP id g130so23509289wme.0 for <29427@debbugs.gnu.org>; Sat, 25 Nov 2017 09:20:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=oyMJXTyBY7HQrNYpwrfOvGCwq98cKA9Vbp2811BZ3VY=; b=YFMiS2P7W70xjKP/I49LNrHJ3NM6YhqYPxd4EbFpHqEBpD4rtyAIw4RVjpiIbLiR6g LjblkAbIyBz+/5Km6gmHLjUrsmHuZyen8TcaTc8Tp/I+FkM2TWidJgp0pKGFW9CfK4zI T8xy2VwfNvKNJ+xVMepl5PvMXbHWfRzqgN6ONn5y96YxX8G0XrTOwCRn/zSqFIzmQwt6 5GHkOwqNl8N5RjWQQzpwHXFu+9pcYyUqdpDG57expFkHxf6hmFf3HG6+bWGFbYzHFt+f fNUFh7ip6HwjMzhOLMCD+j91AnVVSie0tPQNKG+qamb/9szujnvb/5FP+875F59ruJAT NzBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=oyMJXTyBY7HQrNYpwrfOvGCwq98cKA9Vbp2811BZ3VY=; b=O7z72W0u2rElXoBOOXYzYUYD4Fmv0ZwV3upDtSJlbDd3udDhABo7XJNHsiyxM/rgwg gcnUW0VbA5nFAsGaJ84Pc3pGF6a+lRSyF1ij+QmSSj2CbVXOHeMJE6XxsHszIvHpap+l JLWEvN1fbSUudF6EmGtDbC9oYyuhrlc42KjOGk1UE9nJGcWTP8muBtyyoC1PgbQ9Cn7i nuygPvmG/EvVNdcc5ZPYs2s2ISRmU8RH2ogfnmaAW8jB9EtdmRssSgsJIucjXNwJ5iQ+ BJYClB3XV22HamejQm1e5B3yMqEEmfbyosKgdwZAvOBZqw+SOzPz0a/UW+AYusAzDb9f jrKQ== X-Gm-Message-State: AJaThX7XaIRA8OlLUIue2xhKpIYafcJCwlewoIHxEhHXUt6gTGaTQFv0 l0cnZ+qHYgddol4nb8Ja2DjAYg== X-Google-Smtp-Source: AGs4zMagViHPxYZ7Q4M79ZZSCaTkTfiUKZ6uEl1+yUugyFt+kndJx36YRHJ9D/XThQbTNUMEucGJpw== X-Received: by 10.80.215.89 with SMTP id i25mr45858166edj.274.1511630404953; Sat, 25 Nov 2017 09:20:04 -0800 (PST) Original-Received: from localhost ([134.226.214.245]) by smtp.gmail.com with ESMTPSA id d5sm12407652edj.65.2017.11.25.09.20.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 25 Nov 2017 09:20:04 -0800 (PST) In-Reply-To: <87tvxj5xx8.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Fri, 24 Nov 2017 10:33:39 -0800") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:140363 Archived-At: Eric Abrahamsen writes: > Emmanuel Boudreault writes: > >> When I first send an e-mail in emacs, 'send-mail-function' >> isn't defined [...] > > I'm not sure how `send-mail-function' comes into it, and am a bit > confused by your report: you say when you first send an email in emacs, > it isn't set, but later say when you restart emacs, it is defined. Actually Emmanuel is saying the opposite, namely that `send-mail-function' is somehow undefined until restarting Emacs. My issue with this is that `send-mail-function' should always be defined as either `sendmail-send-it' or `sendmail-query-once' when starting Emacs with the -Q flag, in all versions of Emacs until at least as far back as 23. Perhaps some custom configuration code or package is misbehaving? > Anyway, if you're using something based on message-mode, you should > probably just set `message-send-mail-function' directly. +1 -- Basil