From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations Date: Tue, 01 Jun 2021 15:33:06 +0000 Message-ID: References: <87pmxhb1rs.fsf@gmail.com> <23510125-37b9-e87e-3590-5322f44772ce@daniel-mendler.de> <87y2c5nhsr.fsf@mail.linkov.net> <87h7irss50.fsf@mail.linkov.net> <43d1599e-2ba9-2efb-45c3-76c67d29a69d@daniel-mendler.de> <87tumrgqrb.fsf@gmail.com> <87tumq92pe.fsf@mail.linkov.net> <87lf82g10g.fsf@gmail.com> <87y2c24lww.fsf@mail.linkov.net> <871r9t2lsy.fsf@mail.linkov.net> <22880197-6d05-c821-2c58-328ed3cfc02e@daniel-mendler.de> <87eedruui3.fsf@gmail.com> <8dd915fe-fe67-2a45-67ff-8aaa3e9b9aca@daniel-mendler.de> <878s3zuq47.fsf@gmail.com> <09f2a253-84ba-5cfd-552e-0b89109864a5@daniel-mendler.de> <875yyxaoxp.fsf@gmail.com> <76b5aee4-8eec-7998-23d1-d63d86e4b956@daniel-mendler.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8847"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Daniel Mendler Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jun 01 17:36:19 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 1lo6RH-00022X-OW for ged-emacs-devel@m.gmane-mx.org; Tue, 01 Jun 2021 17:36:19 +0200 Original-Received: from localhost ([::1]:34772 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lo6RG-0002tz-Qd for ged-emacs-devel@m.gmane-mx.org; Tue, 01 Jun 2021 11:36:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44814) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lo6OE-0004P3-CX for emacs-devel@gnu.org; Tue, 01 Jun 2021 11:33:10 -0400 Original-Received: from heytings.org ([95.142.160.155]:49486) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lo6OC-00065w-KO for emacs-devel@gnu.org; Tue, 01 Jun 2021 11:33:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20210101; t=1622561586; bh=Nug+sUYNCR0IRwJv0DDWdi5gWSn9M3EkvXtltDqTK3g=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=Zqtg3KzrTNCtLgOE83PdbqAhwWnUCwKyEe/mkk62IGTgbNkqQBhECmeKU1+8ujoIa atXA+WBP/3il+wY1afPmwzuS8jjta+FdHINVXgeqrNV8GSgiOvefoGpwmQhlP4NaKS opVJ3zKYlK69B60xcUtajJ9JWcxcSnbDX5RslSXVPbTqsPEhnV8jA/IgSHNpLKU4V7 eki4Iyyk2G0yBvS+U5rza1kDBuxIPg4/MfoP6bJXhBkGO0J+lTTMQ9EqPKNDNgl3c4 u1eSnpFIQZQfTAxFXpBR2gL+L7XHam/I69dNLued8ak8965nwRy1bZr8NXxMWlSojf DCbLlTdJrjvCw== In-Reply-To: <76b5aee4-8eec-7998-23d1-d63d86e4b956@daniel-mendler.de> Received-SPF: pass client-ip=95.142.160.155; envelope-from=gregory@heytings.org; helo=heytings.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_PASS=-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.23 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:270209 Archived-At: >> And as I said users might want to display these annotations with their >> own formatting, e.g. to display only some but not all of them in the >> minibuffer. > > This is not a good idea in my opinion, at least for the > `annotation-functions`. Annotations are only strings, there is not much > formatting the user can do here. > That's your opinion. Some users might want to display only the prefix, or only the suffix, or the prefix and the suffix after the completion candidate, or display the suffix with only one space between the candidate and the suffix, or filter prefixes and suffixes (IOW display only some but not all of them), and so forth.