From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#48572: 28.0.50; Add `passthrough` completion style to minibuffer.el Date: Sun, 30 May 2021 09:03:37 -0400 Message-ID: References: <2ebf9ed0-bd5d-8107-9d22-61e56f29c02a@daniel-mendler.de> <2b242520-323b-366d-39b5-cb759f346cfb@daniel-mendler.de> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24776"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 48572@debbugs.gnu.org, joaotavora@gmail.com To: Daniel Mendler Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 30 15:04:39 2021 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 1lnL7O-0006Bk-9F for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 30 May 2021 15:04:38 +0200 Original-Received: from localhost ([::1]:50014 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lnL7N-0005vV-C9 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 30 May 2021 09:04:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49526) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lnL6o-0005vG-OS for bug-gnu-emacs@gnu.org; Sun, 30 May 2021 09:04:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46973) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lnL6o-0006Ie-HI for bug-gnu-emacs@gnu.org; Sun, 30 May 2021 09:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lnL6o-0003Ru-DR for bug-gnu-emacs@gnu.org; Sun, 30 May 2021 09:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 May 2021 13:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48572 X-GNU-PR-Package: emacs Original-Received: via spool by 48572-submit@debbugs.gnu.org id=B48572.162237982913236 (code B ref 48572); Sun, 30 May 2021 13:04:02 +0000 Original-Received: (at 48572) by debbugs.gnu.org; 30 May 2021 13:03:49 +0000 Original-Received: from localhost ([127.0.0.1]:58519 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnL6a-0003RQ-P4 for submit@debbugs.gnu.org; Sun, 30 May 2021 09:03:48 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:56132) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnL6X-0003RB-KB for 48572@debbugs.gnu.org; Sun, 30 May 2021 09:03:47 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 089018062B; Sun, 30 May 2021 09:03:40 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id B8B938040B; Sun, 30 May 2021 09:03:38 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1622379818; bh=WYc1Ja3XDeNBex0oDiaHWOP3IQa/xxgu4NHXHR3Fqow=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=aBpNBQvXatNEuCwCGP5GjyEINRFXSNe9plwk6KfVtzMOZHbvmS/kA8ePiSpcnZISV pzTvNO+r9JO8qq7TrrME5btnzjC7tGknAZg8/S0vNOk11T+R1Q9Jp1bH+066+aykp9 J9vQvNsKxn6zaIiGBlEc3/mSMgeHx/v5wReS9WMK9ySeo6n18x2vAzj+sadk9bfZ+L iw7v5v8BxB3uBKorLH8gEknbsGWdI59kN1mV/evXYj3lYwieTbXaHIJhwuTOStr62i s4c1fPdCTXs20D666V5LyCY+p4UWQGuWX7cEhjycx9X3HeUVsnrJsCt+cR0RdsR+0h 5s90SxN9Qq+vw== Original-Received: from alfajor (69-196-163-239.dsl.teksavvy.com [69.196.163.239]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 577EF120E37; Sun, 30 May 2021 09:03:38 -0400 (EDT) In-Reply-To: <2b242520-323b-366d-39b5-cb759f346cfb@daniel-mendler.de> (Daniel Mendler's message of "Sun, 30 May 2021 05:23:05 +0200") 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" Xref: news.gmane.io gmane.emacs.bugs:207614 Archived-At: > Sorry, I don't get it. What is the difference in calling the backend > between the two cases: > > (1) passthrough-all-completions -> all-completions -> backend > > versus > > (2) passthrough-all-completions -> backend? In case 2 you get to choose the arguments passed to the backend function. > In case (2) you call the backend directly but then you also have to > handle completion tables which are not functions and you end up `passthrough` doesn't make any sense for non-function backends. > Yes, I am aware that `all-completions` is the backend API. Is anything > lost when going through `all-completions`? The possibility to return completion candidates that aren't "prefix completions" (which is the whole purpose of `passthrough`)? Stefan