From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alexander Adolf Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] EUDC email addresses via completion-at-point in message-mode Date: Tue, 03 May 2022 18:18:44 +0200 Message-ID: <78dd3f7fad4c66c19c5448027a8c5803@condition-alpha.com> References: <15b3bbf610c12c046aff8cdea3f5e592@condition-alpha.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34494"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Filipp Gunbin Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue May 03 18:22:29 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nlvIB-0008aK-Sf for ged-emacs-devel@m.gmane-mx.org; Tue, 03 May 2022 18:22:27 +0200 Original-Received: from localhost ([::1]:39468 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nlvIA-0005CF-0g for ged-emacs-devel@m.gmane-mx.org; Tue, 03 May 2022 12:22:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44394) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlvEf-0000HM-LA for emacs-devel@gnu.org; Tue, 03 May 2022 12:18:50 -0400 Original-Received: from smtprelay08.ispgateway.de ([134.119.228.109]:45769) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlvEe-0005wX-3Q for emacs-devel@gnu.org; Tue, 03 May 2022 12:18:49 -0400 Original-Received: from [46.244.223.247] (helo=condition-alpha.com) by smtprelay08.ispgateway.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nlvEe-00058W-0A; Tue, 03 May 2022 18:18:48 +0200 In-Reply-To: X-Df-Sender: YWxleGFuZGVyLmFkb2xmQGNvbmRpdGlvbi1hbHBoYS5jb20= Received-SPF: pass client-ip=134.119.228.109; envelope-from=alexander.adolf@condition-alpha.com; helo=smtprelay08.ispgateway.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:289110 Archived-At: Filipp Gunbin writes: > [...] >> Message.el does this: >> >> (add-to-list 'completion-category-defaults '(email (styles substring))) >> >> It seems to me you suggest amending that line in message.el, rather than >> having the setq-local in my capf function? I have included this in the >> below patch, too. > > I haven't dug any deep into using > completion-category-overrides/defaults, I just knew they exist. If that > does what you want, then great! Yes, it does what I wanted to achieve. Thanks for your time! --alexander