From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [ELPA] New Package: kind-icon Date: Wed, 17 Nov 2021 15:32:09 -0500 Message-ID: References: <1ED20C4A-17C4-49A1-A2EB-63FA0764C96E@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9931"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: JD Smith Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Nov 17 21:33:14 2021 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 1mnRcI-0002L0-Cw for ged-emacs-devel@m.gmane-mx.org; Wed, 17 Nov 2021 21:33:14 +0100 Original-Received: from localhost ([::1]:50710 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mnRcG-0007SS-W7 for ged-emacs-devel@m.gmane-mx.org; Wed, 17 Nov 2021 15:33:13 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58890) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnRbM-0006nO-KL for emacs-devel@gnu.org; Wed, 17 Nov 2021 15:32:16 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:25459) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnRbJ-0006Vf-V0 for emacs-devel@gnu.org; Wed, 17 Nov 2021 15:32:15 -0500 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 2F3F58043C; Wed, 17 Nov 2021 15:32:12 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 4179080401; Wed, 17 Nov 2021 15:32:10 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1637181130; bh=wSP4Pm6vTkgOgIcmN3XvlfiVzwd2DRiEA3XSXgy8ShA=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=fs9WVzlJsHAsx3ipFIaVXsRwFhFXcilzshntrnDTX2q8iDLFEUX3wnYVRdK99USqd 7wrEI2ni3S/TZzGFYj38oowG7YR/xk6vS/RHOaA9TqzA8nUQHao9WQHQ8wdWQ9fcov kjeOVoUzK1wFVS4ZOelWaMVgRf96M0VHp+FrJ5ijBQheU5NMGIwu9d7/fMSmqukwMO g2lM1KsZZH8NcIM2Tix+sm4E2nO3kVFQO5fG9Hj5OTRd++iQxBCVYO6rImmPkNOm5Q pQp6ptLJOfEZybRTFlRl5Ipgu/vZMH0g/A9RnxSQjUeWK5lwEzf7zEUjWPV8bKM7GM GvX64nBjq1icw== Original-Received: from ceviche (modemcable124.78-161-184.mc.videotron.ca [184.161.78.124]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 1489E120813; Wed, 17 Nov 2021 15:32:10 -0500 (EST) In-Reply-To: <1ED20C4A-17C4-49A1-A2EB-63FA0764C96E@gmail.com> (JD Smith's message of "Mon, 15 Nov 2021 21:57:15 -0500") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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:279641 Archived-At: Thanks, pushed, Stefan JD Smith [2021-11-15 21:57:15] wrote: > Proposed for addition to ELPA: kind-icon is a small package which provide= s colorful margin prefix icons for completion kinds, as specified by the :c= ompany-kind function. It will work with any completion UI that implements = a simple margin-formatter-function API (such as ELPA package corfu), or alt= ernatively, out of the box with UI=E2=80=99s supporting the new affixation-= function completion property.=20=20 > > For icon support, kind-icon relies on the ELPA package svg-lib, but can a= lso use simple one or two character text-based badges by configuration or a= s a fallback. Icons are trivially user-customizable from a set of many tho= usands, and are padded to occupy the space of 3 characters. See the packag= e page for screenshots. > > --- > elpa-packages | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/elpa-packages b/elpa-packages > index efa53e3e40..a8b97c1d5e 100644 > --- a/elpa-packages > +++ b/elpa-packages > @@ -288,6 +288,9 @@ > ("json-mode" :url nil) > ("jsonrpc" :core "lisp/jsonrpc.el") > ("jumpc" :url nil) > + ("kind-icon" > + :url "https://github.com/jdtsmith/kind-icon" > + :auto-sync t) > ("kiwix" :url "https://github.com/stardiviner/kiwix.el" > :ignored-files ("*.png" "LICENSE")) > ("kmb" :url nil)