Re: Notmuch-Company overrides other company backends?

Subject: Re: Notmuch-Company overrides other company backends?

Date: Mon, 10 Jan 2022 08:27:39 -0400

To: Igor Sosa Mayor, notmuch@notmuchmail.org

Cc:

From: David Bremner


Igor Sosa Mayor <joseleopoldo1792@gmail.com> 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
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: