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: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations Date: Mon, 24 May 2021 01:42:26 +0300 Message-ID: References: <87zgwlb4xc.fsf@gmail.com> <617d06ca-27bf-2ae8-26eb-1042123499d3@daniel-mendler.de> <87pmxhb1rs.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37169"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 Cc: "emacs-devel@gnu.org" , monnier@iro.umontreal.ca, Juri Linkov To: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= , Daniel Mendler Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon May 24 00:43: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 1lkwoT-0009Wg-Da for ged-emacs-devel@m.gmane-mx.org; Mon, 24 May 2021 00:43:13 +0200 Original-Received: from localhost ([::1]:49742 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lkwoS-0003Jo-FJ for ged-emacs-devel@m.gmane-mx.org; Sun, 23 May 2021 18:43:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42658) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lkwno-0002cW-Ip for emacs-devel@gnu.org; Sun, 23 May 2021 18:42:32 -0400 Original-Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]:33366) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lkwnm-00007N-JO for emacs-devel@gnu.org; Sun, 23 May 2021 18:42:32 -0400 Original-Received: by mail-wm1-x329.google.com with SMTP id z137-20020a1c7e8f0000b02901774f2a7dc4so8961407wmc.0 for ; Sun, 23 May 2021 15:42:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=Sg8rE+7j7Dl1je54JPLCHsLMVin55BZhhWbNXpS8FqM=; b=CqBPZeEFqr/DmLmuc/oCAbDwt+oMpqR7XdL15DsydKbdHkhIqP25Oe95fQFDqhSOuL WX+VDpcnPIdUT07F662j8WHe3sMlwiOk5CpsGBZ9iprg1jmvtjyFELk/9565OY4j7/j0 6xTlnkUCUB8L0eX1YKVsNGpdbhiL8sthy1Gz/3tGyuHrdC9zfsO0qAQ1rY6fJ1PCx13a Rz/nnBtCBFsTq8NTFg0AXYtYqTt/NpLT8BDachSJOB3Ice4LIxhF7Di2hc+05YfSorEq LqZ3M+Y24HzBm+qYd/GIgIxpInQDm7eYxe38aexfco++Vt6jXU7l6emSLhee+tohoUvL Qhiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Sg8rE+7j7Dl1je54JPLCHsLMVin55BZhhWbNXpS8FqM=; b=W6DhBdPFIWyYdW3W9e5SsVSG2mAS17JL/w/WNMmBcCvmL1qVjT2DOEzJ3xSzzJdBNt nZrtgMszTmMQPoVsqlRfOZoTqINnes2nXRMLBE6zcOS0++93rT59kcfgUU58KgpIcA3M GQQhO/gaIuG6MvUwPFzWR4Acv4wf/skX6XCDYc9SdlodpFPGdaazLIy/zuGlPSvUypUx 5C8P/jKW41uGd4MJGEIRbBymzt/2HExXQc3w4V31in3SiYRfGLqxT5v8Rz6RB02yk4m3 1nBh2TOQqjA4wEqDTLjVeKcqMlcAnUCs2ilRUCWBIFl1TvmdWrT6tjJCSVeSQ4hMvVzO rnPA== X-Gm-Message-State: AOAM533ypfPexOXlCFIjVfMKPo2NeiG5Mh28QJ+HTGwK0bmwZptz7x9E DjCX6aY36Q5JWvDpmYq+G+48OGgCwWc= X-Google-Smtp-Source: ABdhPJxsl2NVsDPmpSw4EwNO5WYmWDgzRnC+Q1Qqbi/FkB9jb0DhahHdstjJMfMdjpwN+pHUpYkE6Q== X-Received: by 2002:a1c:f605:: with SMTP id w5mr8901453wmc.93.1621809748217; Sun, 23 May 2021 15:42:28 -0700 (PDT) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id h67sm7068114wrh.44.2021.05.23.15.42.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 23 May 2021 15:42:27 -0700 (PDT) In-Reply-To: <87pmxhb1rs.fsf@gmail.com> Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=raaahh@gmail.com; helo=mail-wm1-x329.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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:269713 Archived-At: On 24.05.2021 00:04, João Távora wrote: > But I don't understand why these decision should be done in the data > backend. The backedn should only annotate a completion with a possible > _hint_ on how to layout ("prefix" and "suffix" are hints). It's the > frontend, who is who knows what to display and where, who should be > responsible for the layout. I've made some similar arguments in a recent thread: https://lists.gnu.org/archive/html/emacs-devel/2021-04/msg01320.html