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: Sat, 16 Nov 2019 23:40:35 +0000 Message-ID: References: <87ftiyn07t.fsf@gmail.com> <8336eycvpf.fsf@gnu.org> <83pni2bcws.fsf@gnu.org> <83imnubax9.fsf@gnu.org> <83h83eb8od.fsf@gnu.org> <83d0e2b32k.fsf@gnu.org> <83r22ha64z.fsf@gnu.org> <831ruh9siv.fsf@gnu.org> <83y2wp8cnq.fsf@gnu.org> <83woc983so.fsf@gnu.org> <86c1b45c-0a25-b1ed-ffb1-7dc0e50bd5d9@yandex.ru> <83v9rm7pvk.fsf@gnu.org> <874kz3viu3.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="98604"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Eli Zaretskii , emacs-devel , Ergus , Stefan Monnier , Dmitry Gutov To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 17 00:41:25 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 1iW7gy-000PYS-Dh for ged-emacs-devel@m.gmane.org; Sun, 17 Nov 2019 00:41:24 +0100 Original-Received: from localhost ([::1]:50642 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iW7gx-0004y3-0c for ged-emacs-devel@m.gmane.org; Sat, 16 Nov 2019 18:41:23 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42452) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iW7gT-0004vL-JC for emacs-devel@gnu.org; Sat, 16 Nov 2019 18:40:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iW7gS-0000xy-H2 for emacs-devel@gnu.org; Sat, 16 Nov 2019 18:40:53 -0500 Original-Received: from mail-io1-xd2c.google.com ([2607:f8b0:4864:20::d2c]:46625) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iW7gO-0000wG-J2; Sat, 16 Nov 2019 18:40:48 -0500 Original-Received: by mail-io1-xd2c.google.com with SMTP id i11so3591299iol.13; Sat, 16 Nov 2019 15:40:47 -0800 (PST) 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=CqDVNjF2GbYhJsf8LORUjvGNNKgmjAlS/7f/crQxYWY=; b=tv+1ueh7gZwnpcOyUD+OJUQKWzm8VJfJbKrI1GpSsdcbQPF6oK8c088EgktJQr5xFE TIJzdtGZD71NbPhoiOXg+Angl7YI5lWvmYB9jPxAEukKsnzCfObwnWLyEBmdxZnrL1m4 TAdFZA9o7OStOTaCGNcO2vUU8ZoWrPE5tdkRQJEPbCvwiHoMMnL+tv3N9oCfKgN4UBAS rrx+mJd/wdyiFOz96Hio82S+OzGoOaKXa/MfPQr16mISyISKi16vq3fJ/SvjIauqG0OE le0aM2nj3nLl3gJYMyPglE3wnftMFNgC2axcWtBQU10rhKghKWMXjO+nDTq39+jsWBP0 1SDQ== 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=CqDVNjF2GbYhJsf8LORUjvGNNKgmjAlS/7f/crQxYWY=; b=UTDfhwFB/QaMpIgY8j7diT+MoSnNU87bdPIbIlkmgLomlsMsJQmn+rZKLUSMAa+bga oLtbzDtIxOOj5Ex+vMQM7QcVdyBtRtJSif/hH+p6UX5CNStzXHLtJq28Y+Z6s713LgdC ikLDzZ5DzmHnF8arHy8ygn2ViIVgBsFUjeCTkdT3qiwL/qbIp9BRDtr01P5WPrsX0+1/ caLVYW8e0Akt3qdwo+2udQK5mPZ5X5W1tlFgYv+kr1ZFZCmEU/KqBPt9W9nk15AHgAmo i4SNcCz1CSfsGtjkRP0uba6tcQVrfNftPkaIGXt9PGnC7kuITioXkfwpwiSrJdSXu5QF 5AIQ== X-Gm-Message-State: APjAAAU9tkdSSUNWIhcMnHNSVTH7I7J7SXbKKMvuWV4/jKb5/YcBJ7g4 b74xeinVwX5LVf3fGVXIxATQ7APMHk4LEPYS7Wg= X-Google-Smtp-Source: APXvYqzlEHtaMN5/X2H8kWAfemBB1Xa0WKLGFgPiTZNQr4l6PeBRO5MajgLmKLAU8t40Cob38kQz2Qwwf07IcZWGWiw= X-Received: by 2002:a02:742a:: with SMTP id o42mr7175316jac.24.1573947646684; Sat, 16 Nov 2019 15:40:46 -0800 (PST) In-Reply-To: <874kz3viu3.fsf@mail.linkov.net> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::d2c 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:242265 Archived-At: On Sat, Nov 16, 2019 at 9:07 PM Juri Linkov wrote: > I thought you meant an option/variable or a minor mode for flex style, > so when it's enabled in the *Completions* buffer with flex styles, then > it puts the same face on different parts of the buffer than prefix style, > i.e. the flex style activates this minor mode and it puts bold on common > parts. Then there is no need to meddle with face definitions. Isn't it = so? A style can't activate minor modes: a style is a symbol designating a couple of methods for matching patterns to possible completions. The preferred style is indicated by the user, a minor mode or even by the completion table itself. It's true that something like fido-mode could activate the variable or minor mode that i think Eli is proposing, the same way it activates the flex style and other variables. Emacs -Q + M-x fido-mode would then produce a familiar flex experience. But it would be a terrible experience for users who have loaded themes designed to make flex look good on modes other than fido-mode. So I don't think it's an excellent solution. Jo=C3=A3o