From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Allowing completion sources to customize completion display Date: Sat, 25 Nov 2023 21:08:20 +0200 Message-ID: References: <831qcghn52.fsf@gnu.org> <08c7660f-ee16-7159-581c-c8b2526a6035@gmail.com> <83il5rfwps.fsf@gnu.org> <7ac85e70-74cb-6a75-3188-9873ecd6b6ee@gutov.dev> <87jzq5ivlk.fsf@catern.com> <2e9b4c54-b81b-d04a-3c24-9c33545f8458@gutov.dev> <83o7fhbqj7.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11078"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Cc: sbaugh@catern.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Nov 25 20:08:56 2023 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 1r6y1O-0002fq-Pr for ged-emacs-devel@m.gmane-mx.org; Sat, 25 Nov 2023 20:08:55 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r6y0z-0001rk-3E; Sat, 25 Nov 2023 14:08:29 -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 1r6y0w-0001rD-6b for emacs-devel@gnu.org; Sat, 25 Nov 2023 14:08:26 -0500 Original-Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r6y0u-0004za-DC; Sat, 25 Nov 2023 14:08:25 -0500 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 9F2965C00F2; Sat, 25 Nov 2023 14:08:23 -0500 (EST) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sat, 25 Nov 2023 14:08:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm3; t= 1700939303; x=1701025703; bh=IeIQFpr8+2YDBat3uGRvzkNQ53PsHSkUgZ8 Yblc0+sc=; b=aG5MsujrisjHlp9M4icmgiJ4n6DxHoEeoQlO6Btbn2HfE2quYeM 6dpNiNj7WfSPQJJH9KDD+PbRhumeEpMZV4Vba19/DEJnVLpg82pF2JyMb+YrV2qp qYFKAPj8DfS6AYWh5W/2pmes5RdSStG/35/Jzaskb4RrrkMdSkuOF+4OUQ4Pjr0L EXKL3U58SlyuZ5EdICuEDh68Y4Rb0yNmUv80RXNAFhisdzHMLp9J63RbZMpa87LZ j5xwWlqlUs8Og6YgA02jw1jq1Kd5m5xPfZ8/H3QLKVZt6QwcKjmkmWYro0HG6qay eVcOskaVvXAaBB1WGpA3gc+i8YG7pQzvFJg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1700939303; x=1701025703; bh=IeIQFpr8+2YDBat3uGRvzkNQ53PsHSkUgZ8 Yblc0+sc=; b=qBRtxB/ze7LGp9GUf4l/JvK/JZC8+karEdr6jx1aCorrvRe3dGK sDvFNvQOwmQjaQw9H5DGLiD8dPo5z+GR78ILYQSGleCsO96wzuK5Vbsi5d2e4nsJ r/kKrvgk+FAjjdz5G6DWpzqn5ZuBIEPMY8AhqyQRRAx6ka77uXjiqNzTQTyW9Cv1 kIIS0x1rZ2KnJzZKmPtuTCOkDJyqP8riB82RovYE0C3KFiTc35BVATE0Y0vlH5Fv MHICtIqTbUoFGSzHEDilPLppd2RFrNMQZ3g3MI6cRXV9SRDFqgLzWs0OQRzVcxDX Se76X3Oc3zG6V70cWS62FJBf2MrG1imp3wQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudehjedguddvtdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttdefjeenucfhrhhomhepffhm ihhtrhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrg htthgvrhhnpeeigfetveehveevffehledtueekieeikeeufeegudfgfeeghfdulefgfeev ledvveenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe gumhhithhrhiesghhuthhovhdruggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 25 Nov 2023 14:08:22 -0500 (EST) Content-Language: en-US In-Reply-To: <83o7fhbqj7.fsf@gnu.org> Received-SPF: pass client-ip=66.111.4.29; envelope-from=dmitry@gutov.dev; helo=out5-smtp.messagingengine.com X-Spam_score_int: -53 X-Spam_score: -5.4 X-Spam_bar: ----- X-Spam_report: (-5.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-2.63, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:313223 Archived-At: On 25/11/2023 21:07, Eli Zaretskii wrote: >> Date: Sat, 25 Nov 2023 20:27:51 +0200 >> From: Dmitry Gutov >> >> I hadn't considered company-mode in that context, but the preview >> frontend in there should look more or less like the "Completion Preview" >> feature proposed (or recently added?) to the core. > It is possible that providing an in-buffer preview for multi-line > completions makes no sense, and we shouldn't even try. If the > solutions are to show the preview in a separate window, then how is > this different from popping up the*Completions* buffer? I think when we say "preview", we usually mean "inline preview". Not separate window.