From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4F0eEkQm3GEqVgAAgWs5BA (envelope-from ) for ; Mon, 10 Jan 2022 13:27:48 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id IPJbD0Qm3GEpYwAA9RJhRA (envelope-from ) for ; Mon, 10 Jan 2022 13:27:48 +0100 Received: from mail.notmuchmail.org (yantan.tethera.net [135.181.149.255]) (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 00D071FCCC for ; Mon, 10 Jan 2022 13:27:48 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 4924F5F73B; Mon, 10 Jan 2022 12:27:45 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [IPv6:2607:5300:60:c5::1]) by mail.notmuchmail.org (Postfix) with ESMTP id 710A25F732 for ; Mon, 10 Jan 2022 12:27:41 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id B01D75FC42; Mon, 10 Jan 2022 07:27:40 -0500 (EST) Received: (nullmailer pid 4061759 invoked by uid 1000); Mon, 10 Jan 2022 12:27:39 -0000 From: David Bremner To: Igor Sosa Mayor , notmuch@notmuchmail.org Subject: Re: Notmuch-Company overrides other company backends? In-Reply-To: <87v8ytzqxl.fsf@gmail.com> References: <87lezq6q0f.fsf@gmail.com> <87ee5it6fy.fsf@tethera.net> <874k6e6of9.fsf@gmail.com> <87bl0mt1xv.fsf@tethera.net> <87sfty7wr4.fsf@gmail.com> <87v8ytzqxl.fsf@gmail.com> Date: Mon, 10 Jan 2022 08:27:39 -0400 Message-ID: <8735lv22tg.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: I426X45EFET74TITP7POQGRW6XC4IIKE X-Message-ID-Hash: I426X45EFET74TITP7POQGRW6XC4IIKE X-MailFrom: david@tethera.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-Country: DE ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641817668; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to: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-owner:list-unsubscribe:list-subscribe:list-post; bh=AldyvzUuikcnvHIpZB949tODu7RmKWIX9HbzowaaMBo=; b=Aw1dGceHtwXqLNkPRYN7sgVaofOwuH6XdcvJcbi1ypsUXxA+LgkjoUkrEgc+/hWdDBY8jA egicCOVty9KP77x1iTeX3pOdiIhLz+aShcYOsEiIjkDtSyWopXk/9DkOZFprHKKjEp/pSz RvpeZp+d/KZ79Jg9dpadJSEm0qumhbWmxdQNef2lr+M2nKm1/0G96m1TiyRl5mIT3Ggp4P s7vh1juVdCMQZzkKSJdknzRE36lci4R1J5wfOE8PJ83FEnA6ttvwF1FztqJSPKMnyzt6Jq oYXveoJ+8g4b9Vyxj9lv9VMsgCmPgNoc/Pa/CHYmLE1eias4yrxTScFOT3SfFw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641817668; a=rsa-sha256; cv=none; b=X0zON8HS6RTWp4KbM6Mq2Kbxo+M/XORhr5rSxdn5HmwXQfL1QRIgQBjmtDH9v1J6NTABW7 DJevCHUWGZiDGYxlgLHYzOhXUkh5vo83M54NKcOkfjf0zwKyLZxIxLSH6QrJ2n4G+GVZ3E KHgHsBe96fYWbAgrjX7VKfGErLnYBIEivZeIyaU+EXL65RAT9D1bT4yJ+wX0qx06TQmlg5 fzI3E03AJ2N8FPjoDy5/8Uie5pivgyQhdF12t5xQJjkT88Knzn8SDyQgO+aBOGvjvPZ+uS nJw0QM4j3xQGI8Ok2hm8BulOhV9TidKHXZoBZsCYwl3W1AEh4ggW7yOWyzlS7A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -2.33 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 00D071FCCC X-Spam-Score: -2.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: NojYpxLmTJi1 Igor Sosa Mayor writes: > > Just for the records in case someone in the future has the same problem. > This seems to work: > > (defun my-notmuch-messagemode-hook () > (add-to-list 'company-backends '(company-ispell company-dabbrev) t) > ) > (add-hook 'notmuch-message-mode-hook 'my-notmuch-messagemode-hook) Glad you got it working. I'm not really clear on why the current code uses setq-local as opposed to push, maybe someone more expert with company-mode can comment on whether we should change it to preserve the users company-backends by default. d