From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations Date: Tue, 25 May 2021 18:40:45 +0100 Message-ID: <87pmxeg19e.fsf@gmail.com> References: <87zgwlb4xc.fsf@gmail.com> <87eedxrqz4.fsf@mail.linkov.net> <87r1hviwrw.fsf@gmail.com> <87mtsibwjz.fsf@mail.linkov.net> 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="19319"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Daniel Mendler , emacs-devel@gnu.org, Juri Linkov To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue May 25 19:41:50 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 1llb3t-0004r5-MH for ged-emacs-devel@m.gmane-mx.org; Tue, 25 May 2021 19:41:49 +0200 Original-Received: from localhost ([::1]:40342 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1llb3s-00069N-PV for ged-emacs-devel@m.gmane-mx.org; Tue, 25 May 2021 13:41:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39694) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llb2z-0004f0-3x for emacs-devel@gnu.org; Tue, 25 May 2021 13:40:53 -0400 Original-Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:38534) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1llb2x-0003Xh-GH for emacs-devel@gnu.org; Tue, 25 May 2021 13:40:52 -0400 Original-Received: by mail-wr1-x431.google.com with SMTP id j14so31355370wrq.5 for ; Tue, 25 May 2021 10:40:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=WzKe1SXisWbLPPszdu4C3NirAS6MHNJGhtDofKz67H0=; b=FPub+A1C336DZGj0fD9XLVUnzMrHPWUGL6wS36LmR5edF4uPOr1D7tdmPytzCMdKUg gMwyuTo4onLhvSvwWLUvzLQaEbPi4fCYuFyPttmmRKsg4ISFLkn/5sRvEmdYwDnQaI5/ ujHyUffCvtM4bplJHJZWe/5/GApYuhlgJ35ItWyBgar325hfyvmfAoN5NfW7CH51F//v dFEU29VFzptzpm/QFplQhM9LBOLVSZW2zj9GQ/4WZb5c3hLKbdhx9JSxf3xBVu8/4V9q e36IGHh2P8fXJEKHgsaTyxv0gCxYzZfjQKnziXvJIxZP6ecgfFL2UhMG5qoJtpxxMg29 rYoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=WzKe1SXisWbLPPszdu4C3NirAS6MHNJGhtDofKz67H0=; b=TRqgbVokIIuCm8yxryN66AqIB6B5fuDrEiBxGy+6pyWGZ1EDFlxNq/CBVs/4EB9+s9 KQhL7yVGi77r70AP50TB+GTgm16WmNWljVikxNvHZk18S4VT9+1tqmNmT7mLhuB398p5 r9wflP9/RiuVZMUEQjj7rmbQlCZRN8l/Z4sM6iR0W+pWiwo+nrdh1/vFpyxiecde/uRC osI6uuLMxeqIZ916zHeLJjShIBU23rBxatjJ6UDZxWYnh2q+6Jw3yz7KN5GhYHGUUUbW vXP2LgLlmqNoiT38NJQg0dQ7VMYx55B21qduHPS3/dXVTZZD5VEZ0jSYS/6kI6qk+EKO +tRA== X-Gm-Message-State: AOAM5300bq1o7IRwgqgAnoUktQitp5S6XMb2VAnzpVtru7/C1Dt/hc2j 9igBAn5LVUBsGsDK7AIYXRS6lWky0T8= X-Google-Smtp-Source: ABdhPJz4dPJTQ7MEiA351yzZVXm355kd60J0nyIWAXxrPmXL7tGZIU3n7rOfH84d37WSSlSVl1oErg== X-Received: by 2002:a05:6000:1865:: with SMTP id d5mr24631350wri.126.1621964449802; Tue, 25 May 2021 10:40:49 -0700 (PDT) Original-Received: from krug (a79-169-51-55.cpe.netcabo.pt. [79.169.51.55]) by smtp.gmail.com with ESMTPSA id v11sm19901392wrs.9.2021.05.25.10.40.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 May 2021 10:40:49 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Tue, 25 May 2021 13:24:42 -0400") Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=joaotavora@gmail.com; helo=mail-wr1-x431.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.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:269873 Archived-At: Stefan Monnier writes: >> With the existing function 'display-sort-function' you can easily >> add new elements to the list of completions or remove the existing >> candidates. And that is not a problem in practice. > Indeed. I think we should aim for an API that's easy to use correctly. > If it makes incorrect uses difficult, that's good, but that shouldn't be > the driving goal. I see, broken windows. You keep asking for good API's but when things are proposed in that direction "that's good" but doesn't matter. I'm not exactly a fan of d-s-f, but likelyhood that it messes up is less since it's likely called unconditionally on all returned completions by the frontend. Indeed I wonder why d-s-f exists at all. As to the current shape affixation-function, I'm not mortally against it just that its misdesign is a bit jarring, but so are so many other parts of the completion system, so I guess, broken windows. It's just that this is supposed to be a new part. Jo=C3=A3o