From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thomas Fitzsimmons Newsgroups: gmane.emacs.bugs Subject: bug#59314: 29.0.50; EUDC and message-mode header completion Date: Thu, 01 Dec 2022 21:50:45 -0500 Message-ID: References: <87a64q7p25.fsf@ericabrahamsen.net> <878rka1y4n.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21238"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eric Abrahamsen , 59314@debbugs.gnu.org To: Alexander Adolf Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 02 03:51:19 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1p0w8z-0005GE-K9 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 02 Dec 2022 03:51:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p0w8m-0003uj-IF; Thu, 01 Dec 2022 21:51:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p0w8k-0003uL-DV for bug-gnu-emacs@gnu.org; Thu, 01 Dec 2022 21:51:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p0w8j-0002S1-Rm for bug-gnu-emacs@gnu.org; Thu, 01 Dec 2022 21:51:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p0w8j-00051e-LU for bug-gnu-emacs@gnu.org; Thu, 01 Dec 2022 21:51:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Thomas Fitzsimmons Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Dec 2022 02:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59314 X-GNU-PR-Package: emacs Original-Received: via spool by 59314-submit@debbugs.gnu.org id=B59314.166994945819310 (code B ref 59314); Fri, 02 Dec 2022 02:51:01 +0000 Original-Received: (at 59314) by debbugs.gnu.org; 2 Dec 2022 02:50:58 +0000 Original-Received: from localhost ([127.0.0.1]:43457 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p0w8g-00051O-1f for submit@debbugs.gnu.org; Thu, 01 Dec 2022 21:50:58 -0500 Original-Received: from mail.fitzsim.org ([69.165.165.189]:48874) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p0w8a-00051I-Rc for 59314@debbugs.gnu.org; Thu, 01 Dec 2022 21:50:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=fitzsim.org ; s=20220430; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=xieO3t2UwnGPhyEaonKd6NbOV41e4u5Yn1Ecnly7+Bg=; b=fSdDThocpRgEL/kSJETlxFYT3u J/Yk19QHOx2KAHfzBmflCag+74S+s2NO9ZuGpguZahP6ktEeU8KkEfQ9I5UJuz7x7jjvcsCtiviKy rD3LTaHoemp9hvf2FrWru10Ty4uYePjqeMYIFBrVemN7Dwjw3AgrhoYoN/dzMe97WQCP65E7wQs5q Z52MsWSQvOkr4t128moQpEk7PzKBF4jzrxvm0ZqJRB0RgI3OTibVxyfx1rr0u1KMdx3ebaisa/Y3T EntYvOnYdbPcLM5/49BYpldAmCmCpWN7rn2kIQM1e/RUUokV+fawoGZg70OKFamHX4AxuVJFb5Hy8 y7h8ij4w==; Original-Received: from [192.168.1.1] (helo=localhost.localdomain) by mail.fitzsim.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1p0w8T-0000NI-Jw; Thu, 01 Dec 2022 21:50:46 -0500 In-Reply-To: (Alexander Adolf's message of "Thu, 01 Dec 2022 16:48:20 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:249691 Archived-At: Hi Alexander, Alexander Adolf writes: > Hello Eric, > > Eric Abrahamsen writes: > >> [...] >> In fact this whole message-mode thing is an impossible tangle, burritos >> within burritos, and it would be great to get rid of it altogether. >> [...] >> So I need to clobber `message-expand-name' altogether. >> >> And EUDC having a function on `completion-at-point-functions' is >> wrapping yet another burrito outside the existing burritos, because now >> EUDC has a completion function both inside and outside message-mode's >> own completion machinery. >> >> In fact the docstring of `eudc-capf-message-expand-name' makes it sound >> like it thinks it's being called as part of `message-expand-name', but >> now it isn't -- it's being called as part of the capf machinery. Or >> rather, it could potentially be called in both places. >> >> I think a half-stick of dynamite is the only real solution. >> [...] > > Perhaps we can be slightly more CONstructive that this. ;-))) > > I am preparing a patch to message.el which refactors > `message-completion-alist` along the lines of this: [...] The eventual message.el refactoring could work. But for now, for Emacs 29.1, let's focus on what's already in message.el, which is a lot! In particular, I'm trying to make this recipe do something useful, with a minimal patch to message.el. 1. Build Emacs master tip. 2. Install and configure BBDB: mkdir -p test/.emacs.d cat >test/.emacs.d/bbdb <