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 12CC16DE01E0 for ; Tue, 25 Sep 2018 08:09:22 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.297 X-Spam-Level: X-Spam-Status: No, score=0.297 tagged_above=-999 required=5 tests=[AWL=-0.145, 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 DLG5O7_KHQBh for ; Tue, 25 Sep 2018 08:09:17 -0700 (PDT) Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by arlo.cworth.org (Postfix) with ESMTPS id 5644F6DE024C for ; Tue, 25 Sep 2018 08:09:17 -0700 (PDT) Received: by mail-wr1-f67.google.com with SMTP id b11-v6so7551804wru.9 for ; Tue, 25 Sep 2018 08:09:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dme-org.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=C4LaKKyZ7ceH/okqYDDglpEZCIGptEl0+ef6jbMaIDQ=; b=ezmTvCKz/Cat/oz9/omm1TTPa6eLi/K5m8FbtNl4GBFPC+FHyHWbNxSnBeySW06zA4 zEGB+v/8p0T8QyVjhB75oiufEhv1CsYblPZiroXP97hFFN3t0XVNhONqVv0X/0h/gFKX kxKqZggx4WtlE+PKXiWHELMSB5rIqOcX8q3NRqyjyWAqQSmXNndreWJvwBEDW8wIWL2M WaWiPO9ioap+0Pe1yO622y9BxedEa6mutNOFyndPMN5TMKv52bt6QiLFtkonugjG888h S8+LJhlkBtA6gnkU0r5+dlK2DGIiHxtAwDKPGtvRJSA260k2UEdylgH6U5OzoN+TSOHp gtzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=C4LaKKyZ7ceH/okqYDDglpEZCIGptEl0+ef6jbMaIDQ=; b=BgRIVwo7wyU8YmbuJtI+07wABlUmCoYdiMRZEgaBkOWyCMCiVLjNkAcYLDAwCq2Qvv 0YJUsAK21q0UgQFj4f4LHahL92WHf7fo5yJuJhznvNRMxAovXg8N3BSgHdSf93CY/2WE +/fPHXNzYWzCqjyGCUugCZJY5s+jvM36v9aWYtT9S2wMypADrcIVPDHek8NS7TcpYt/1 dxm6yEm9ruqyOzpXIDESKNn3ZCIYy3fZ1jWDDVW3NWGUcmtfakWh3B3lgtA0L/yaXn0G /jJCrbqL57HxWMlRO8ba780c/z/l/W9o+kFIcoF2u8qOTt9515++Y5rBnDbgqeR3zWqa s9bg== X-Gm-Message-State: ABuFfojLHKZBDOSAcY2H3AD+bq2j0ilaoNkzjezhcbf/Ts/Kx7Ss0YIz 4KCUwV6ZVMNmNCbx00Lza7GN3gxnGSmj7Q== X-Google-Smtp-Source: ACcGV63VxxKtAPPpF2qPdE7U6UgRkIm8EOzpjK36+ezsGbJZtBRgvJ9OZN8F9V2e8E7EXVCgHaPvyw== X-Received: by 2002:adf:9af5:: with SMTP id a108-v6mr1487584wrc.125.1537888152894; Tue, 25 Sep 2018 08:09:12 -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 x204-v6sm2444858wmg.27.2018.09.25.08.09.11 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Sep 2018 08:09:11 -0700 (PDT) Received: from localhost (disaster-area.hh.sledj.net [local]) by disaster-area.hh.sledj.net (OpenSMTPD) with ESMTPA id 4fed64cf for ; Tue, 25 Sep 2018 15:09:11 +0000 (UTC) From: David Edmondson To: notmuch@notmuchmail.org Subject: [PATCH v1 0/2] `notmuch-mua-send-hook' was ignored Date: Tue, 25 Sep 2018 16:09:08 +0100 Message-Id: <20180925150910.22318-1-dme@dme.org> X-Mailer: git-send-email 2.19.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: Tue, 25 Sep 2018 15:09:22 -0000 `notmuch-mua-send-hook' was ignored Whilst looking at the attachment warning patches (id:20180908214041.19959-1-dme@dme.org), bremner pointed out in #notmuch that anything attached to `notmuch-mua-send-hook' was not getting run. It seems that this has always been broken. Add a test and a fix. David Edmondson (2): test: Check that `notmuch-mua-send-hook' is called on sending a message emacs: Call `notmuch-mua-send-hook' hooks when sending a message emacs/notmuch-mua.el | 1 + test/T310-emacs.sh | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+) -- 2.19.0