From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#74865: [PATCH] Use `completion-table-with-metadata' Date: Sat, 28 Dec 2024 13:27:15 +0200 Message-ID: <86ed1st5d8.fsf@gnu.org> References: <87o71eifrs.fsf@daniel-mendler.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39991"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74865@debbugs.gnu.org, juri@linkov.net To: Daniel Mendler , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 28 12:28:23 2024 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 1tRUzW-000AAy-Vw for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 28 Dec 2024 12:28:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tRUzG-00025g-Fs; Sat, 28 Dec 2024 06:28:06 -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 1tRUzD-000255-Ee for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2024 06:28:03 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tRUzD-0006Fb-6R for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2024 06:28:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=1OKY38gnG1Ivj46xkKOZLXa8vl9vrGJXImA8TqdKjJ4=; b=ac9fUZDRNCWBYLFJbxpxZA1kMf8eK0TlcGt2FTm0sLAxaca7Ux/LXY+UYp2HFgCPNC5aUhQf+eZLyJtnZjhE/Y/XFuXKEDNtp4hxn5aOv1faaa4NeHWa/efBUp8G4MRRVfOn6oIp9G6mzYZdF0ol7ScKINdzQYfEHlhAGXby6sNlusjpso1K+CqlYW7raNTmz4elSLKABQ4Hm670eaj0KAHyWnZQVuUdrzx48arbII9uoiMx1uQPhsPtYdZe+cgpVXxX2H1M3+/2+i58Cgo9Kl7QxMP1GaMSRxU3hXz6yVFDSeiV34DJ2UYCV9WOFWUCicGgd0K5jGO+vlHVjAxH2w==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tRUzD-0007sW-0O for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2024 06:28:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Dec 2024 11:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74865 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-Cc: bug-gnu-emacs@gnu.org, juri@linkov.net Original-Received: via spool by submit@debbugs.gnu.org id=B.173538524530223 (code B ref -1); Sat, 28 Dec 2024 11:28:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Dec 2024 11:27:25 +0000 Original-Received: from localhost ([127.0.0.1]:49438 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tRUyb-0007rP-2z for submit@debbugs.gnu.org; Sat, 28 Dec 2024 06:27:25 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:46286) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tRUyZ-0007rG-Fm for submit@debbugs.gnu.org; Sat, 28 Dec 2024 06:27:24 -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 1tRUyZ-00023d-6I for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2024 06:27:23 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tRUyX-00052s-7P; Sat, 28 Dec 2024 06:27:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=1OKY38gnG1Ivj46xkKOZLXa8vl9vrGJXImA8TqdKjJ4=; b=RMe4hwd+Sogx pY59qlyJg7khcRFjDqaInlz/kfhsREzjI6WsaswFq6+pHtsbYBmO8GXzq/uLlQptPsXtupaDoPcUr YCxjGhh9Uj9Waz/KaeOGAYuATmVLuq8aUoRoXvqA7K6fm5irV8DZ91WZGCpqT1jT5YDO4akCyTY7v UBbB+rOPIG3gauVkxSbKYbFizdZz2LBg01yB7lqumtV6jCH+aiP1wxLmgOUwhITAKGkOyBK+Quhyu GVROUyxgro/3PGhoZru6qI2zg/oN/locXwYU1vNP/Wwupw3phX7FmnIh2YPE79sgr4KXdY+zSSYzq 1JEW3yzZtHeLtp0qt1ZOLQ==; In-Reply-To: <87o71eifrs.fsf@daniel-mendler.de> (message from Daniel Mendler on Sat, 14 Dec 2024 13:57:11 +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:297879 Archived-At: > From: Daniel Mendler > Cc: Eli Zaretskii , Juri Linkov > Date: Sat, 14 Dec 2024 13:57:11 +0100 > > This is a small follow-up of bug#74616. There I have introduced the > `completion-table-with-metadata' helper function, which we can now take > advantage of at more places. By using `completion-table-with-metadata' > we avoid problems with completion sessions in recursive minibuffers. I'd ask Stefan (CC'ed) to review this, since I don't feel I know enough about this to have a useful opinion.