From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8EzOEnLr0mBRHAEAgWs5BA (envelope-from ) for ; Wed, 23 Jun 2021 10:06:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id KAaWDnLr0mCEcAAA1q6Kng (envelope-from ) for ; Wed, 23 Jun 2021 08:06:10 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [IPv6:2607:5300:201:3100::1657]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6135EF1B7 for ; Wed, 23 Jun 2021 10:06:09 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 5B7332908F; Wed, 23 Jun 2021 04:06:02 -0400 (EDT) X-Greylist: delayed 596 seconds by postgrey-1.36 at nmbug; Wed, 23 Jun 2021 04:05:58 EDT Received: from wforward2-smtp.messagingengine.com (wforward2-smtp.messagingengine.com [64.147.123.31]) by mail.notmuchmail.org (Postfix) with ESMTPS id CD2BB2908B for ; Wed, 23 Jun 2021 04:05:58 -0400 (EDT) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailforward.west.internal (Postfix) with ESMTP id 393D110AC; Wed, 23 Jun 2021 03:56:01 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 23 Jun 2021 03:56:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=pGC41Q 3+yO+PjPjFQK7NcUgw/B7XqO8oOQV7xucxmKM=; b=c5qygUoJokGdqPsWonhAtE ZAqBD5S8i7dvzGZ6KiZrMdykO8TAbzVfR4cIZ2sF+qEQ9525g2ZDA09c2poGgQQf Yz0WG4XCs+SZ4w8RWpDnhUoCV78CqCFoJbTaoYPJT6H8aBISK5qryw0wNqYfmj12 GOfcCVhVSe8P5bnM0XQrtAXh5LPmlcs63Uu5rwLmf2s2+VNgO+i8fFPZa5djGEP2 HYG7J1S4DqDparJ4CXxU6Dya6Evl2FRklY21PUSPgR5sscNKLOLd1PIJn5PMQa7T 5P6mV1y96ijyR5AEBnwaXv6T+0PofoEZTPn5jORn+eB3+4kCJD9SiJgo3/absAWw == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfeegvddguddujecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepvffujghfhfffkfggtgesthdtre dttddttdenucfhrhhomhepffgrvhhiugcugfgumhhonhgushhonhcuoegumhgvsegumhgv rdhorhhgqeenucggtffrrghtthgvrhhnpedttdegtdethfefueegffffffefvdeukefgud fhveeuhedvkeeviedtleelvdetteenucffohhmrghinhepghhithhhuhgsrdgtohhmnecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepughmvgesug hmvgdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 23 Jun 2021 03:56:00 -0400 (EDT) Received: from localhost (disaster-area.hh.sledj.net [local]) by disaster-area.hh.sledj.net (OpenSMTPD) with ESMTPA id dd89730c; Wed, 23 Jun 2021 07:55:59 +0000 (UTC) To: Ori , notmuch@notmuchmail.org Subject: Re: [PATCH] emacs: Add compatibility for org-msg.el In-Reply-To: <20210622214850.20003-1-ori@oribarbut.com> References: <20210622214850.20003-1-ori@oribarbut.com> X-HGTTG: fertle From: David Edmondson Date: Wed, 23 Jun 2021 08:56:00 +0100 Message-ID: MIME-Version: 1.0 Message-ID-Hash: JX74YKI75QJAQSKLUPXA2UMCTOV77G2C X-Message-ID-Hash: JX74YKI75QJAQSKLUPXA2UMCTOV77G2C X-MailFrom: dme@dme.org X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0 CC: Ori X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1624435570; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=dt75d2Vcs7Htnn12PXDVGGLsC1Xp0V/AczUV+3tSVrs=; b=hjUsQJ1nJW3PF/LQk0IC1WHFWY5QWXzogw1fPTUjrQdrEHlP/7ccCc2YXbEFbffi8W0vWP K4kz064LvE1Ba4dD+JTtqc+4VrQz94H8BhjyFftOGZ7HTwSMiSkpgTJP2K/cjsI5M+tVAK QnEId/ZEUom2ZvE+A0GrnkmZdmXKqGJxIunWvIBT+UeP0Ioh3RQmByO8QG/DG1Ltw+YuWn P2ghkKJMlj9MrcuBTMINjvS5DM1I7snPO3KTAcA73jtJDN09q663ifRxKHriOm3mkFO6RI Lgrno/lPst/BDAthgeAHHj1/CmEGppVSTVRNlg05M2VV014jWPx/xznwZ9LMuQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624435570; a=rsa-sha256; cv=none; b=BLDx8fPoBy77GbI3Gvmq2R6INn5oiu3aQwlF4/KQOZatTWz2aRJ1FPBlsoVFGTdJ19uW4r UiT7HqWYYyIHAOCNRkCT4+bwctA3fxPf8z/H9REaPcDgfE8Y9HfOVdQ7rs/5S8JBR6foRy 77d4Ni/f6PJE6ciHJipX9qH0YMDlgvUDOuNT4lBMbMwOCmg0vMPclplVuXhcVPhQWJBjI6 ncGqbAhsx8S94grxy5OdHEjQKZRsACi7FwbA/kIHVXP1QWrwWUSYQebeZwimI/g8bGNAGi DpdNb3YCLH7L92u/oTljAZ4QuI6sAp6CjL47aJv4ruPHr6omj1ryWhhs3rrn+w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=messagingengine.com header.s=fm3 header.b=c5qygUoJ; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -0.98 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=messagingengine.com header.s=fm3 header.b=c5qygUoJ; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 6135EF1B7 X-Spam-Score: -0.98 X-Migadu-Scanner: scn1.migadu.com X-TUID: RWSYO2b4vWrO On Tuesday, 2021-06-22 at 17:48:50 -04, Ori wrote: > See https://github.com/jeremy-compostella/org-msg/issues/53 It would be nice to have an inline description of the change, as the github repository might disappear at some point, but the fix looks reasonable. Reviewed-by: David Edmondson > --- > NEWS | 2 ++ > emacs/notmuch-company.el | 3 ++- > 2 files changed, 4 insertions(+), 1 deletion(-) > > diff --git a/NEWS b/NEWS > index 09456f60..c167c9a2 100644 > --- a/NEWS > +++ b/NEWS > @@ -8,6 +8,8 @@ Emacs > previous behaviour of using notmuch to send mail by default, customize > `mail-user-agent` to `notmuch-user-agent`. > > +`notmuch-company` now works in `org-msg`. > + > Vim > --- > > diff --git a/emacs/notmuch-company.el b/emacs/notmuch-company.el > index c6a004ae..7e05dc8f 100644 > --- a/emacs/notmuch-company.el > +++ b/emacs/notmuch-company.el > @@ -70,7 +70,8 @@ > (completion-ignore-case t)) > (cl-case command > (interactive (company-begin-backend 'notmuch-company)) > - (prefix (and (derived-mode-p 'message-mode) > + (prefix (and (or (derived-mode-p 'message-mode) > + (derived-mode-p 'org-msg-edit-mode)) > (looking-back > (concat notmuch-address-completion-headers-regexp ".*") > (line-beginning-position)) > -- > 2.25.1 > _______________________________________________ > notmuch mailing list -- notmuch@notmuchmail.org > To unsubscribe send an email to notmuch-leave@notmuchmail.org dme. -- There's someone in my head but it's not me.