From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 5F2C06DE0274 for ; Mon, 1 Oct 2018 02:56:59 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.293 X-Spam-Level: X-Spam-Status: No, score=0.293 tagged_above=-999 required=5 tests=[AWL=-0.149, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.211, SPF_NEUTRAL=0.652, UNPARSEABLE_RELAY=0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6fQWfu0kLpEw for ; Mon, 1 Oct 2018 02:56:58 -0700 (PDT) Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) by arlo.cworth.org (Postfix) with ESMTPS id 7355F6DE025F for ; Mon, 1 Oct 2018 02:56:58 -0700 (PDT) Received: by mail-wr1-f47.google.com with SMTP id y16so4933313wrw.3 for ; Mon, 01 Oct 2018 02:56:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dme-org.20150623.gappssmtp.com; s=20150623; h=to:subject:in-reply-to:references:from:date:message-id:mime-version; bh=Lf0DrFKvPn9kL8LEVaxtDKukJ3E92apwi+TglUtWUHo=; b=acdhzXEg9VhW2Wt0lO6GDI9PjeB0SWnEfbCO8Hj5zyjj9Fgsg79LU6lGwmj570Rr0g 2Plk5qswdpN+uElbt8L1zo7ojIc/lg0hTWZwCE9AZEd1DCQnLfCLZXC/3hvMjd3cZ5pi /2ykO/7JyUyMZqvFmS71rXbgDNOkMNLi0lIIieUvlDLDX2BPwFFYwZRo6sQkS/G1oH3U u/Sy4SIeCdaBcZ5FvQjtjgvP9NG//yrgWqVRB2kdXtiJa15rDHYRgIswWPURXyggphnp b2eNayZUHOczpPUR/OamG3WwG200IURxKKk2Jf67/tRm9XRx8B+ChsE8bu+iwRIkY+z5 lbdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:subject:in-reply-to:references:from:date :message-id:mime-version; bh=Lf0DrFKvPn9kL8LEVaxtDKukJ3E92apwi+TglUtWUHo=; b=eihJGPu0yjGOGMO/lPpMrOUQuOkVYnGY8ZpS0+UyDhna50D02I9Ap2CcWNxBDJMqgX Ucna0NFdI7dzVBSgWZwKo+DFcZPtL8RcUnYZl9mFQ17EG/AnQ1qlV2vmlcpbx/W0jw9Q OQBivGE5/dKFOHxoIB/D4RgfqLOcM3HLyRxvn25fmthYbPhvb+6a/gPXA9vLXC7JlcPI gADR6OEFrz/gGeF6frxOOF8GAdyNwuV1qJMbksp2zItbNxtaGYH/PRILnfnJx46C1w/2 lQg5zyO0A6ID1D+0+0EVPXCkkn6TsmMAyN4SWmZRrcJeNX0Q/w/sF9hkEDLyhik2KwJS fxdg== X-Gm-Message-State: ABuFfoi7hBfi3evfFQQz1azQzZ8MK3qL5Kx4tlxB8SC/mX3w5BDCjxVH JtVpdvwIEqQKWVVkgyt1ccau9g== X-Google-Smtp-Source: ACcGV62hO/KQF/zRpU1az6GKnweafnqVmErYpowK0HAvsFnlWRmW4EXc2lGgEHIW3QGKbjh4S2geSQ== X-Received: by 2002:a5d:6450:: with SMTP id d16-v6mr6000152wrw.64.1538387817064; Mon, 01 Oct 2018 02:56:57 -0700 (PDT) Received: from disaster-area.hh.sledj.net (disaster-area.hh.sledj.net. [81.149.164.25]) by smtp.gmail.com with ESMTPSA id x14-v6sm7142568wmc.36.2018.10.01.02.56.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Oct 2018 02:56:55 -0700 (PDT) Received: from localhost (disaster-area.hh.sledj.net [local]) by disaster-area.hh.sledj.net (OpenSMTPD) with ESMTPA id d45e0db6; Mon, 1 Oct 2018 09:56:55 +0000 (UTC) To: David Bremner , notmuch@notmuchmail.org Subject: Re: [PATCH v1 2/2] emacs: Call `notmuch-mua-send-hook' hooks when sending a message In-Reply-To: <87d0sx2mbe.fsf@tethera.net> References: <20180925150910.22318-1-dme@dme.org> <20180925150910.22318-3-dme@dme.org> <87pnwz3ei5.fsf@tethera.net> <87d0sx2mbe.fsf@tethera.net> X-HGTTG: gag-halfrunt From: David Edmondson Date: Mon, 01 Oct 2018 10:56:55 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Oct 2018 09:56:59 -0000 On Friday, 2018-09-28 at 21:12:53 -03, David Bremner wrote: > David Bremner writes: > >> >> This looks plausible to me, and of course the test passes. I did wonder >> if this means that people actually using notmuch-user-agent would run >> the hook twice now? > > After a certain amount of re-reading the docstring of > define-mail-user-agent, and the source for compose-mail, I see that the > HOOKVAR parameter is something that users of the mail-agent can tweak, > rather than something that e.g. compose-mail promises to run. Yes, I came to the same conclusion (this time!). dme. -- I had my eyes closed in the dark.