From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: BIKESHED: completion faces Date: Tue, 05 Nov 2019 19:18:35 -0500 Message-ID: References: <4c5631d4-9dfd-04c6-c573-b83c67fcc2fa@yandex.ru> <87pni7p83l.fsf@gmail.com> <87h83ipoi0.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/x-markdown; charset=UTF-8 Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="94942"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: =?windows-1252?B?Sm/jbyBU4XZvcmE=?= , emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 06 01:19:04 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 1iS92N-000OW8-0Q for ged-emacs-devel@m.gmane.org; Wed, 06 Nov 2019 01:19:03 +0100 Original-Received: from localhost ([::1]:51942 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iS92K-00048c-GD for ged-emacs-devel@m.gmane.org; Tue, 05 Nov 2019 19:19:01 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32785) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iS925-00048O-6T for emacs-devel@gnu.org; Tue, 05 Nov 2019 19:18:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iS923-0007kh-Of for emacs-devel@gnu.org; Tue, 05 Nov 2019 19:18:44 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:17907) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iS923-0007he-Gs for emacs-devel@gnu.org; Tue, 05 Nov 2019 19:18:43 -0500 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 2FDA61006E0; Tue, 5 Nov 2019 19:18:41 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 80CF61004B3; Tue, 5 Nov 2019 19:18:39 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1572999519; bh=NpldRiUZnWe+QRFoMQv0hiKAWCzWk32VK70UGK6D1rs=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=BzxJCJfiuu2yxTm+ABufug0NGREDC+U+mCJ56mZAQSlFpKWw7IT6joXyjIKjho70O 4r5GskjK5ZWWNmBiPU33GAKSq5+0KZLShnBF478qu4JUnKhZ6cjal+LJkffV28UJn6 3LVijDWjXeyMPPCE8PihTy+pxVfT/56Efxx0dukzDtldtnS8mG1xWPM1TPZ6RLv6V+ GLOmHcBaYWQgdckg//iixH09RpsklFGqqKzOt0goPd/4bfi6p+GWt0P+DN9I6QeCd3 ajS5y8BvU3heP9H3Bwb0MN4anOxq3afQGQ20OfQdfAeRJn4Cn4GbaszKlWIkUjEdVs jsqOnGkisQTFg== Original-Received: from pastel (unknown [216.154.47.134]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 3D1F71203F3; Tue, 5 Nov 2019 19:18:39 -0500 (EST) In-Reply-To: (Dmitry Gutov's message of "Wed, 6 Nov 2019 00:01:33 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 132.204.25.50 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:241838 Archived-At: >> where `re-builder` would be highlighted with a "trivial common part" > ^ won't be ^nontrivial [ same difference ;-) ] >> whereas `rename-buffer` would be highlighted differently. > Indeed. That's the whole idea. "re" and "-b" in "rename-buffer" would indeed > be highlighted since the match is nontrivial. >> You might consider it as a feature, of course. > Yes. That's the idea. I'm wondering why you think it's a feature. Could you explain? The way I see it, it in 99% of the cases it would just work identically on all displayed completions (sometimes using trivial for all and sometimes using nontrivial for all), and in the remaining cases it would use a mix and my natural reaction would likely be "M-x report-emacs-bug". Stefan