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 18:06:42 -0500 Message-ID: References: <4c5631d4-9dfd-04c6-c573-b83c67fcc2fa@yandex.ru> <87pni7p83l.fsf@gmail.com> <87h83ipoi0.fsf@gmail.com> <87d0e6hv4l.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="77559"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org, =?windows-1252?B?Sm/jbyBU4XZvcmE=?= , Dmitry Gutov To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 06 00:07:33 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 1iS7vA-000K39-RW for ged-emacs-devel@m.gmane.org; Wed, 06 Nov 2019 00:07:32 +0100 Original-Received: from localhost ([::1]:51394 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iS7v9-0002Dw-Nd for ged-emacs-devel@m.gmane.org; Tue, 05 Nov 2019 18:07:31 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38883) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iS7uR-0002De-G7 for emacs-devel@gnu.org; Tue, 05 Nov 2019 18:06:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iS7uQ-0003JF-BK for emacs-devel@gnu.org; Tue, 05 Nov 2019 18:06:47 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:28534) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iS7uQ-0003Gz-6x for emacs-devel@gnu.org; Tue, 05 Nov 2019 18:06:46 -0500 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 4B2F44498E6; Tue, 5 Nov 2019 18:06:45 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 0A3334498E2; Tue, 5 Nov 2019 18:06:44 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1572995204; bh=xk7sr3+975R8ZjSLx/sB4aX9yhuvkNL1COGyPoSHgUo=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=U0oOk25v1HBKVyQX91vh9B8fhpeBSM86rnV+P2j9f7+2HE3qlItTABScQc3Ql7Rn8 X2KMaIhc7/zd+OE4pzjWlYGUK6ZCJcT5ft2LIX2ls5yCURJK4OC/KJGH8RO673w/fI W96afiYo13SmtSDW05EsVaVDoNC0hV0ghyEzhE7MfehhmCba0CeQz0WIz/Z6EEAbTb eKEIWD06iw9nAIUfhUvOCV2kT8irAtq7q+zNcpiHtlFJIACX4g+slGOHI7xYEpUNSr 0zDKBofM/Pp7dMjAV7pSSxUp3b1L4MgD/+oZQO8j0J5er8aWfIg9yyhKRCvNb6ofSN uak5puIxeUPow== Original-Received: from alfajor (modemcable157.163-203-24.mc.videotron.ca [24.203.163.157]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id A7C5B12037A; Tue, 5 Nov 2019 18:06:43 -0500 (EST) In-Reply-To: <87d0e6hv4l.fsf@mail.linkov.net> (Juri Linkov's message of "Tue, 05 Nov 2019 23:27:06 +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:241835 Archived-At: > It seems inevitable to have a different set of faces for different > completion styles. But since different styles can be used at different times, because of a slightly different pattern, I think we should try to avoid it, despite its being "inevitable". Also I'm playing with a "multi" completion style which internally combines the output of several other completion styles, so it could lead to really odd result if they don't use the same face-scheme. >> where `re-builder` would be highlighted with a "trivial common part" >> whereas `rename-buffer` would be highlighted differently. >> >> You might consider it as a feature, of course. But if not, then we'd >> have to first look at all the completions to make sure they all have >> a "trivial common part". > > This really looks like a feature - it could help the users > to see the prefix in the completions list. Not sure what you mean here. Stefan