From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#71469: font-lock does not apply standard faces and their descendants Date: Tue, 17 Dec 2024 18:51:00 -0800 Message-ID: References: <86tti17y8y.fsf@gnu.org> <519d35a7717587222c5da915a9e02ccaa06e9c5b.camel@yandex.ru> <86plso96a9.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28847"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 71469-done@debbugs.gnu.org, Konstantin Kharlamov To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 18 03:53:55 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tNkCB-0007NI-6d for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 18 Dec 2024 03:53:55 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tNkBN-0006ia-LE; Tue, 17 Dec 2024 21:53:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tNkBM-0006iD-B4 for bug-gnu-emacs@gnu.org; Tue, 17 Dec 2024 21:53:04 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tNkBM-0006IW-2H for bug-gnu-emacs@gnu.org; Tue, 17 Dec 2024 21:53:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:MIME-Version:References:In-Reply-To:From:To:Subject; bh=qMdBRr0RCGHK9/HnDx0frKTLYj9bvJQBHC15aRBBDxs=; b=TzGgrVVtS5+96L9hIq0G8ZGW3oNjUSrYu0ySPpPOcEQEziF16yKDyukGDd+tVdw2ZES5VMj932K3a9RVOyD5/KT9UH3SF5fOYPEDsHdy4hi795g/nAv/ZOiLTm5rEP6noSsQYam9ZsHeXyzCkJX3VUv4pZkjVy8o4+wWjmuoAjZsI5ELMSWXbEcKSer8Xj4Mgbig8V7AhQ7Qb0c2SRq8axcEn4gug4ONjgl5iUn19EJeXchI054dTg9FMU6DEsnYloRTqZWIhEiznDgY9Bl0l7AkagBV72h1qwPCDKQozJAEK4i7N5TYpKSFccPL7bdtzZss6GY+c8opo6RaglrfDQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tNkBL-0005cb-08 for bug-gnu-emacs@gnu.org; Tue, 17 Dec 2024 21:53:03 -0500 Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Wed, 18 Dec 2024 02:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 71469 X-GNU-PR-Package: emacs Mail-Followup-To: 71469@debbugs.gnu.org, stefankangas@gmail.com, Hi-Angel@yandex.ru Original-Received: via spool by 71469-done@debbugs.gnu.org id=D71469.173449036321576 (code D ref 71469); Wed, 18 Dec 2024 02:53:01 +0000 Original-Received: (at 71469-done) by debbugs.gnu.org; 18 Dec 2024 02:52:43 +0000 Original-Received: from localhost ([127.0.0.1]:60995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNkAv-0005bq-OI for submit@debbugs.gnu.org; Tue, 17 Dec 2024 21:52:41 -0500 Original-Received: from mail-ed1-f42.google.com ([209.85.208.42]:48493) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNkAk-0005ai-Mr for 71469-done@debbugs.gnu.org; Tue, 17 Dec 2024 21:52:33 -0500 Original-Received: by mail-ed1-f42.google.com with SMTP id 4fb4d7f45d1cf-5d122cf8e52so1420364a12.1 for <71469-done@debbugs.gnu.org>; Tue, 17 Dec 2024 18:52:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734490261; x=1735095061; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=qMdBRr0RCGHK9/HnDx0frKTLYj9bvJQBHC15aRBBDxs=; b=bWKAx8EvY3+A8ugyhyaOJfBogtlcwiKTVkakGhQp67KkezLHuBpI/Cj+71e+qhFc/h wqEQ8AMqVqWz81qcCwHJxd/zpGhAaid+Y6epFLn+Q589sKB8OgUnQThOe75chKh0wxCX kxOdDOF5BgjgV7mCfXbpuwd25NkY0/TAwpAGpVXUTNC/BDo1ONKbDRTNv4AIK/uOoKsA Sx881VwCBSmyBg8dhHSvfLtapuGL5otfIYdJSxihbleqTcGj/nfZxbCdOKfpGT1Wvcxq 5ThWHId6OOL+xQjlsf9PJlJKdEL4xyBLWjPS/cFI7nxuuVLR7mj5a5RJMBROzmQuBwLi Lzbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734490261; x=1735095061; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=qMdBRr0RCGHK9/HnDx0frKTLYj9bvJQBHC15aRBBDxs=; b=Xenjt/24QbUdyQFjyt6ibBSSh2FKYqbXyUD/Ek74ZzN7hvzcQCdsqakvRM7er7R6em HRCnqvH94uOJO0rKbudDtNEyOQLMUF4VCJ/9FSdqWiF0V1pSyWDPV2WlqJK3HbP0Bpu/ y2gumhVOv3iOZXymfhSScADoai9VRQS9AIEQk8ggwM71TRBzyB9i5+2mE21xlrRiHvxf 6GopcvwB9IGdtqe+oyhfwdigMy/cNVglsmJZTqGBW/z3a2+81gBGvKujp2DjJMgCQFnr +vAw0f74NDukYtIXzVjicWapbzh2a1+DF1775vysZHNpYTYtbygPFGOA4bc22+8OeimC I8CQ== X-Forwarded-Encrypted: i=1; AJvYcCWvA3uik+waJA5jfpjGe6My+cUN3OH3vnpVbCLcrh0su4btv+xLymh3FKWdCgv5viH/4pDF5j8p5RBz@debbugs.gnu.org X-Gm-Message-State: AOJu0Yxi9dAu5BLY687lE33/nVp6/YeN4CdfAUDXlfp1xlyqRlpBarer 0kiYtox1vQ0Aq2s41oEljNOEixffOcqpjYh/mJnV9l+rqyN9W5LtxvHDgjRL/dYbaL7Ynbbgw2b QaCqkRgjcYiIcuIR61goolxqcV2w= X-Gm-Gg: ASbGnculhWbGH9D4gavSctpixYgctgmu2GyMZieughVsFhvmjMdJ9lsfMDYwwDDsVEz 7JItRAggBCNVLoeSSiEf8aYVYukuO9nnKHqhCoQ== X-Google-Smtp-Source: AGHT+IGFm3Wb/JoGhkRzPV88pwqEW7/uIkrYLL9CHGk+mzhQxf5MLaDcyxhCwpaJ1yask/qrvuoxOTqDFl3GLwwf3/w= X-Received: by 2002:a05:6402:270f:b0:5d0:f81d:f555 with SMTP id 4fb4d7f45d1cf-5d7ee3bace1mr1177107a12.5.1734490260779; Tue, 17 Dec 2024 18:51:00 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 17 Dec 2024 18:51:00 -0800 In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:297325 Archived-At: Version: 31.1 Stefan Monnier writes: >> We have occasionally declared things obsolete with the understanding >> that they'll be deleted much later than the normal "10 years, give or >> take". See the comment in `interactive-p', for example. >> >> The patch below gives me 64 warnings in our tree. I'm not sure if it's >> worth installing or not. > > FWIW, it's a +1 from me (assuming we then silence the resulting > warnings, of course). Thanks. There have been no objections to the suggested patch, so I have now installed a version of it on master as commit 3d3c1094604. The installed change silences all warnings, and updates the manual and NEWS. The discussion in this thread focused on the wording of the warning, and there were several good suggestions. In the end, I settled on the following, which I hope strikes a compromise between being brief, exact, and telling the user in clear terms how to fix the warning: use the quoted symbol instead: 'font-lock-foo-face Getting rid of these variables should help avoid the confusion that the OP had regarding faces and variables. With that, I'm closing this bug report.