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: Wed, 2 Jun 2021 00:29:40 +0100 Message-ID: References: <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> <871r9laj6a.fsf@gmail.com> <1b73a130-204c-76fb-2b60-02b814aee0f0@daniel-mendler.de> <87r1hl8xom.fsf@gmail.com> <878s3t8tzw.fsf@gmail.com> <3c68bd00-70ca-fa18-f9b8-cd03029f9294@daniel-mendler.de> <8735u18lsd.fsf@gmail.com> <8e33bbfe-0015-b85c-b57c-ba448f2e6215@yandex.ru> 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="19776"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Daniel Mendler , Juri Linkov , Stefan Monnier , "emacs-devel@gnu.org" To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jun 02 01:30:49 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 1loDqT-0004y2-1e for ged-emacs-devel@m.gmane-mx.org; Wed, 02 Jun 2021 01:30:49 +0200 Original-Received: from localhost ([::1]:51922 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1loDqR-0000iy-PE for ged-emacs-devel@m.gmane-mx.org; Tue, 01 Jun 2021 19:30:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55572) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1loDpf-0008Mg-6p for emacs-devel@gnu.org; Tue, 01 Jun 2021 19:29:59 -0400 Original-Received: from mail-pj1-x102b.google.com ([2607:f8b0:4864:20::102b]:40665) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1loDpZ-0004Mn-Pm for emacs-devel@gnu.org; Tue, 01 Jun 2021 19:29:58 -0400 Original-Received: by mail-pj1-x102b.google.com with SMTP id jz2-20020a17090b14c2b0290162cf0b5a35so2340993pjb.5 for ; Tue, 01 Jun 2021 16:29:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=LdC6lxe0jimIO3W2jiVlnyfuauvrX6iH3Yva9Y851NA=; b=aRnIm+oE8QUGo0S4cnadsJ/kWB6pnOlswLDZml0WNkdp2J0//L9HVuijIoliseNfBd m3bZx25QllyTKkeHcIK8AQUfgtqRKpDGjs+rTpQuZj7njiGVtPd+9YG+IGwlobvOAhwj qASJwWETKlxbozRWg1PiC0+F1oHf2zj802Zz8dKRtwWZwc3K7sIGwDjt+90pif+ZYF4G YSVEhVEuQBqllf9CLDfraDa9Z/wf1AxOc8KTDTCgAuiFiSiX5U0EjIhDM7s4gPhEp9NP S7H3yxNbJFIppBWm+zaGBNky2GNB5z5LwgTXqG6PDzCOLuXS7pvn6wGCddBvsFwZkBwX qfJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=LdC6lxe0jimIO3W2jiVlnyfuauvrX6iH3Yva9Y851NA=; b=XVHU7OavQK5BNgmcLcfqBDBp6bY2kqcXL1jxGT3VFU2VjPwd+loITfOpxA6vNQ9K4v RRcYroWuEXmobfrU4Y/3wyW2ep2f0it0xBsHuxHD3YWSIQcrjeDsTwFGaypo0pn6T3uK 5Eayl8aJ9vkenn77amG84VTBmwwA9T/5bqrui+c9Nuwx0Gu6N7/wH62LBoRiZQ78SCPu oksw2u06x0P1xhCXkDu2FzMQSzWUykugQsq8K/952oau0/3R4WhqgRC+Rv8VbpWKUsoR f3Wlii6gyRmx9Bo9ocs079rl4t20LRf5+RpfK7iWu+fKpEnZO2YzbeY6nQp90G7ZYEh/ 8xVw== X-Gm-Message-State: AOAM532yDW2Fk0ArTeJDzzXc05ATHdnrxqgXa1R58EDVlRIbgqTivh7L JewgTy+k/QDcy4IMDfWiC5siZGyT6Z4Hs1IH3eA= X-Google-Smtp-Source: ABdhPJw7rAGdb+dZxQigzA1gJVB1If9bqy6xnBRyLyJCQKTZYOF137VeaAF4QiCaKdlKWp7BQBg3zJ2142lom0B96zY= X-Received: by 2002:a17:902:9348:b029:f0:d51a:7a4c with SMTP id g8-20020a1709029348b02900f0d51a7a4cmr28362190plp.60.1622590191968; Tue, 01 Jun 2021 16:29:51 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::102b; envelope-from=joaotavora@gmail.com; helo=mail-pj1-x102b.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:270260 Archived-At: On Wed, Jun 2, 2021 at 12:22 AM Jo=C3=A3o T=C3=A1vora wrote: > > On Wed, Jun 2, 2021 at 12:04 AM Dmitry Gutov wrote: > > > > On 01.06.2021 21:47, Jo=C3=A3o T=C3=A1vora wrote: > > > In what way? Really, all other things being equal, in what way is > > > threading arguments through lots of functions, bloating the arglist, > > > implementations and the docstrings of said functions, calling group-f= un > > > multiple times and in multiple places in minibuffer.el better than_no= t_ > > > doing those things? > > > > Why do you think it forces you to "thread" them? > > The current implementation in minibuffer.el threads the function down > to the point where it is called twice again (once with the same > second argument -- a possible inefficiency -- and then with a non-nil > second argument). If the results of a single call were stored in > the candidate string, this wouldn't be necessary. By the way, another classic way to avoid threading in Lisp is binding a dynamic variable. We do that loads (but I still thing storing a property is cleaner). Jo=C3=A3o