From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: "Basil L. Contovounesios" Newsgroups: gmane.emacs.bugs Subject: bug#36647: 26.1; Please align examples of search-based fontification with recommendations Date: Wed, 17 Jul 2019 12:02:12 +0100 Message-ID: <87woggj557.fsf@tcd.ie> References: <5na7dgbba8.fsf@fencepost.gnu.org> 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="20995"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 36647-done@debbugs.gnu.org, Markus Triska To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 17 13:03:13 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1hnhiL-0005LH-Fo for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Jul 2019 13:03:13 +0200 Original-Received: from localhost ([::1]:55926 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hnhiK-0003ro-Ab for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Jul 2019 07:03:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36532) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hnhiG-0003kQ-NG for bug-gnu-emacs@gnu.org; Wed, 17 Jul 2019 07:03:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hnhiE-0002T1-L3 for bug-gnu-emacs@gnu.org; Wed, 17 Jul 2019 07:03:08 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42798) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hnhiD-0002Pp-It for bug-gnu-emacs@gnu.org; Wed, 17 Jul 2019 07:03:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hnhiD-0001ez-F0 for bug-gnu-emacs@gnu.org; Wed, 17 Jul 2019 07:03:05 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Basil L. Contovounesios" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 Jul 2019 11:03:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 36647-done@debbugs.gnu.org id=D36647.15633613516293 (code D ref 36647); Wed, 17 Jul 2019 11:03:05 +0000 Original-Received: (at 36647-done) by debbugs.gnu.org; 17 Jul 2019 11:02:31 +0000 Original-Received: from localhost ([127.0.0.1]:51615 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnhhf-0001dM-78 for submit@debbugs.gnu.org; Wed, 17 Jul 2019 07:02:31 -0400 Original-Received: from mail-wm1-f67.google.com ([209.85.128.67]:36374) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnhhb-0001cg-Rf for 36647-done@debbugs.gnu.org; Wed, 17 Jul 2019 07:02:28 -0400 Original-Received: by mail-wm1-f67.google.com with SMTP id g67so17578354wme.1 for <36647-done@debbugs.gnu.org>; Wed, 17 Jul 2019 04:02:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=VSpkuE8xBjtVp3s3pOJQe7Aa5q5faoQ0UTPXmW6Cwhc=; b=gH/UkgATKZ2m2Wb1WWaPCnJpIPWmao97kWfrhJxGadORw6frbbkPhdCKaEkghgxsdX N85ZxDedzCLlSWEtQWBTnGXUe8usmVOpzZPZY6az2vEAD/+CbKgIE4VFWjJ5OPsRobtq IEZQI6CWBmMyhEnIyGbk+tegY/WiM1pswX9v6laeFZ78THC1wWIBY3ccu8WYIXLGRNja 6PfklvLjfFN1m1KHcgetWvUsHx2af0J9jNIIAkG/VMpsl29rLOMmnrPHrHVnr0svX9q1 2ncaLHGR5dcXKHsb10NbS6J3Ya82pADsNbgMq6gXDsyQl+SVLsF6C9WQDZ6DR7WV7gUW +LKw== 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=VSpkuE8xBjtVp3s3pOJQe7Aa5q5faoQ0UTPXmW6Cwhc=; b=N6xnLbtqiw9+6edBAb2DUNLxHuVWS8al+B9jwIW5XWDLQWQNNapSS+8oCfKJxZic2l LyRMEpUueHJgivBa9McwcGEMKmPil2OA3Anoqj42+vneXadzd0cveFio2LiucFxccnTG ngs9Uwi5/+2JjKp/XUX1UKhcec+SG+TX+zQRYJT/fvn8roO2MAKb+SwVS/lSlLhqhBxO N7XYKQlTXhyMpi2JeDOySjRXtHwkLNXY1szcpEGzsTCeGzSgs1HOHebaklGb5ZFh5W9e igGfVPaOVUpSDmJRW/hI+ljubUP0/3PGiySbBMS3ixu5kM9mddilPLn/v4tPLH/267Up hb3w== X-Gm-Message-State: APjAAAVx4N4SpHvnDuZLpl+vS5MC2E7f0Zn7Ppt+wiG+kTzH0hrBG+1B w/eBcpXybM+UULWZd1gPsoKwrw== X-Google-Smtp-Source: APXvYqyOTuCTeUAPRmXkfIOq/0IlFCbOZlpXv54t3LmO/5XeEq/sz4/Mkb1DxjXAP4dtcQQ6zydYhA== X-Received: by 2002:a1c:480a:: with SMTP id v10mr35945530wma.120.1563361341855; Wed, 17 Jul 2019 04:02:21 -0700 (PDT) Original-Received: from localhost ([2a02:8084:20e2:c380:1f68:7ff5:120d:64e]) by smtp.gmail.com with ESMTPSA id w24sm19632371wmc.30.2019.07.17.04.02.20 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 17 Jul 2019 04:02:20 -0700 (PDT) In-Reply-To: <5na7dgbba8.fsf@fencepost.gnu.org> (Glenn Morris's message of "Sun, 14 Jul 2019 16:39:59 -0400") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:163235 Archived-At: tags 36647 notabug close 36647 quit Glenn Morris writes: > Markus Triska wrote: > >> In 39.12.2 Defining Faces, the documentation of defface includes the tex= t: >> >> "You should not quote the symbol FACE, and >> it should not end in '-face' (that would be redundant)." >> >> Yet, 23.6.2 Search-based Fontification repeatedly mentions fubar-face as >> example face, and its name does end in -face: >> >> ;; Highlight occurrences of 'fubar', >> ;; using the face which is the value of 'fubar-face'. >> ("fubar" . fubar-face) > > fubar-face is not a face, but a variable whose value is a face. > Thus, there is no inconsistency here. Indeed, as the line immediately preceding the citation explains: =E2=80=98(MATCHER . FACESPEC)=E2=80=99 In this kind of element, FACESPEC is an expression whose value specifies the face to use for highlighting. In the simplest case, FACESPEC is a Lisp variable (a symbol) whose value is a face name. So I'm closing this report. Thanks, --=20 Basil