From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: BIKESHED: completion faces Date: Tue, 29 Oct 2019 22:57:26 +0000 Message-ID: <87wocndusp.fsf@gmail.com> References: <87ftjd6gbu.fsf@mail.linkov.net> <87blu18zsg.fsf@gmail.com> <87sgncqydt.fsf@mail.linkov.net> <87eeyvgqot.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="60790"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Stefan Monnier , emacs-devel To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 29 23:59:31 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iPaSY-000Fee-MG for ged-emacs-devel@m.gmane.org; Tue, 29 Oct 2019 23:59:30 +0100 Original-Received: from localhost ([::1]:34802 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPaSX-0005y3-4L for ged-emacs-devel@m.gmane.org; Tue, 29 Oct 2019 18:59:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40897) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPaQf-0005xh-9o for emacs-devel@gnu.org; Tue, 29 Oct 2019 18:57:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPaQe-0008LH-6k for emacs-devel@gnu.org; Tue, 29 Oct 2019 18:57:33 -0400 Original-Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]:39415) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iPaQd-0008I9-Rm for emacs-devel@gnu.org; Tue, 29 Oct 2019 18:57:32 -0400 Original-Received: by mail-wm1-x32f.google.com with SMTP id g19so90401wmh.4 for ; Tue, 29 Oct 2019 15:57:31 -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=X5sO17qwpwIN714ZIBZi9cFOnXIs4e/JlE68lUI2/Og=; b=HEo5yVkaqgnc00SzaAItiTKd9POsxKa7SXCZ+bDos+GLNGvSUrEQ5Fw7IQ28o7Yu0y Ycvu5bGEQayXk/cMmPO6RAH0IZb/+l9p6mrhPk+ZRDIU0SRTgw2Q5rvSevASoEm9BpyN l/DrsgdiRqCBSpCURRZl/x9T7BrOqoDt0rvoB6/TxsZEavwcELaxQMTpotOihtX3tizT jBa6xAgfP4oAxFaT9ysR2ferW3YaJDfrBErTa5hzzwJyJNIrLIJApIlEfccIpvO8RmPj 9GxYQmtEONWw8OIW1RBAFWwnnjEe6C+3JPB1WU3M/QIjY2R+Ak/iYXuC3WHQ3JIU+tMV rHYg== 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=X5sO17qwpwIN714ZIBZi9cFOnXIs4e/JlE68lUI2/Og=; b=ZaaQ1+Fp9OJ35RWocu2Aw7XlvrJqvbG9vFVsrTfQPxvJAX/KmY45Y6IM99G8ob0Ru0 hnXqjJMk2f2Yiie1//7F7n92yOLjzHMwJZmzCkZKD1GvV4+GobuVM+faY5BHUK1CWvVX SpRgUY79kqBoWflHc7IqaS90x3XJRlE4fxTlnDjW2OmoFbyTh+fXs5tZWTFytzpsPW8l hriN1EGHnr4yUwmvZO7o2g1lMUqeLBf51mvG5c48rU2Fc6iK57efAoGe5PmamRhQ3BZ7 vWFgZtLdVtNvlSQAbLcDha3lz2RUJ468e1WtyTNmwFAnQP2Zq2wXzfcjY+dXiHUNvICU Padg== X-Gm-Message-State: APjAAAVhT9VvDFZFUC5vBl1Ldbeh4ESZefiBfT0Fc+u/N8C4v+Z+FIkk mWlxKxR76zKJ+pOeeRCESA3BxQ3fruU= X-Google-Smtp-Source: APXvYqynMkDzuEZvJt+AbkSjZc9Wp/8/TKsfMySgWDPlXUnWY8ZDaYlTDune54P1n86zjBR/Yhft1w== X-Received: by 2002:a7b:cd83:: with SMTP id y3mr6730744wmj.150.1572389849608; Tue, 29 Oct 2019 15:57:29 -0700 (PDT) Original-Received: from lolita.yourcompany.com ([2001:818:d820:9500:1ebb:afd8:ab26:f0f6]) by smtp.gmail.com with ESMTPSA id b3sm414958wrv.40.2019.10.29.15.57.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Oct 2019 15:57:28 -0700 (PDT) In-Reply-To: <87eeyvgqot.fsf@mail.linkov.net> (Juri Linkov's message of "Tue, 29 Oct 2019 23:53:54 +0200") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::32f 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:241606 Archived-At: Juri Linkov writes: >>> Other completion styles don't highlight completions-first-difference >>> at all.=C2=A0 I'm not sure if only the "basic" completion style highlig= hts >>> completions-first-difference. >> >> Eh.=C2=A0 I removed it recently, without asking anyone, waiting for >> someone to complain. :-) >> >> Are you complaining? :-)=C2=A0 If you are, I'll revert that bit. If you = aren't >> I probably should revert it too... > > No, I'm not complaining. Wait for real complaints from someone > who will really get angry at your changes. Or you could revert > preemptively to avoid such angry complaints. :-) Yes, probably a good idea.=20=20 > Or implement a solution that satisfies everyone: since in completion > styles other than "basic", there are many characters that you can type > to narrow completion further, is it possible to mark all them with > completions-first-difference? Yes, but no. In the flex style, every character besides the one you've already entered will potentially narrow the completion further. So you'd be left with a negative image than what we want. Do I explain myself. And "what we want" is for it to work more like Company, Helm, or other editors and UI's out there in the wild: show prominently the places in the candidate where the pattern matches. Jo=C3=A3o