From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#59347: 29.0.50; `:family` face setting ignored Date: Mon, 12 Dec 2022 19:18:23 +0800 Message-ID: <87zgbshnuo.fsf@yahoo.com> References: <835yewleyn.fsf@gnu.org> <83tu2b9rlx.fsf@gnu.org> <83k0347gtu.fsf@gnu.org> <83v8mm2ug7.fsf@gnu.org> <83cz8u2d6u.fsf@gnu.org> <831qp93nsc.fsf@gnu.org> <1a7e3acf3578520feda7@heytings.org> <87ilihjsrb.fsf@yahoo.com> <87o7s8j4id.fsf@yahoo.com> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13154"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , monnier@iro.umontreal.ca, 59347@debbugs.gnu.org To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 12 12:19:15 2022 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 1p4gq3-0003BL-4q for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 12 Dec 2022 12:19:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p4gpr-00068i-Hl; Mon, 12 Dec 2022 06:19:03 -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 1p4gpq-00068R-Gw for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2022 06:19:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p4gpq-0007zz-8T for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2022 06:19:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p4gpp-0000Pt-UR for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2022 06:19:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Dec 2022 11:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59347 X-GNU-PR-Package: emacs Original-Received: via spool by 59347-submit@debbugs.gnu.org id=B59347.16708439191593 (code B ref 59347); Mon, 12 Dec 2022 11:19:01 +0000 Original-Received: (at 59347) by debbugs.gnu.org; 12 Dec 2022 11:18:39 +0000 Original-Received: from localhost ([127.0.0.1]:52301 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4gpT-0000Pb-0j for submit@debbugs.gnu.org; Mon, 12 Dec 2022 06:18:39 -0500 Original-Received: from sonic301-31.consmr.mail.ne1.yahoo.com ([66.163.184.200]:37893) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4gpR-0000PU-Qy for 59347@debbugs.gnu.org; Mon, 12 Dec 2022 06:18:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1670843912; bh=S+k3Isy2R7K9vE6sEDt9yC+yO/p99UZueIxlpODNpaQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=kLYJTkMGZUPemFOWafluUNaak40fknaPHa1mD/buoArOLo5Ov1O5ANCt7g3C2weJVllFSZ2Tjg7BzL/46IIBcSy8aht5mhGGnQ79ese72gGnt0dAmcAwgNERt0QSN39f8DT/P7cMbHoE+MTOeqDchMiM1UcRkMeJlP4Ph2To7H2kGNgBjpTCxV/LQYqY7D5Qyjm0lHlJyuxZWA3f/K2BrYzJ9RnqNrd/6B6qvPEoKPqS8sbsUXMTicDB/52YIPPFIfGlqhy0ez7RVnXy9PCCN+pLjEsmBXEnBAFLoJezFxcWhCWa7GhcbCdUHaFQMOH71YpBigotXMwnxXEfk2kgSA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1670843912; bh=QeiF6m4w1Fuidrm75fyV2o+Pfy+709xWZ3ZKv75kOSn=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=CJhRBPKd1lzeC4ipeV5z5whwY55qzrOUgL9uwBYpOmHGeXuemVrQsEH/fIzyV2FYMAZNiHRwlyUodNycHuW8BVjVBfKnRbPB4wqux5CdM9DCTegkplYMrWneQXd62LYpJI+kdf1+O2uiiEIDHmxwH+p0C4MQ5UAA/ndloFfsK0jtdK9v6d6LWKzio1RjPARlKYQ8qECfP3x7vJg10a2VJR5TjVG4+TIO/0Iw3krT30Edq33Py5eyJZ5RM4uGSHw8D49JLTVC1/LcRYDPzOlDD/YygVhgP8iJFh9zQYX21i3Y2/CkXAlzvaT7iZgsJELNnu/pPxYHfjrZnwa2y06CqQ== X-YMail-OSG: 8HS5aZgVM1nYRt6dxs5MgWIzcf1tx9ERP6Sbp5lneZfHaXVacHdHJm_19NL8LFU CEzfSw5RJojc7TbV..DOC_KiJG5QNlsDxdQkwQOYdE7Vs0dRTQji.FgpAgA1uxV5bfbfUGXQLh2n jWfQaZtP1TcZ3sw1EJJvF0YX2czKHepYQ3kmPcDKMx31BDnhk3yVGUzo7jit6UJDD1q4y.U237MS xEsbix0GuneBWPpn4VxvsywtQZwXbHx55pSWaq4oRyCfu2k2uuMl0KO0ZA0SBrodUAX_13LsgWk0 tk4VmyopXLlBYVMhqK199GjN5YQiHMEFJrG8ZBRxnMJnIs0k8ZFGLe4T52NvYkWXChx11yKvnL9_ fqDR3e12KfcmXaK7P.732kQrVxD1rAGu8NZbZG8G8Msp81Lw2aHathmMI39fJ0tRhZV.k4n85FrX R2BmCm.Hm4blyRPG9MWuI1Fr4z_BLR.vyIRLLxmD1EeYn0909PNHKHS7rj0bcQEkWL0axY_t3QcU 01fUDO8FuBFkaAoNKF8JfE2baQNeolaaYYQQeWxn3pA44lCCqSFhrd2JPlHhskz8SNbriA8WnXYp 1zSRi8MCDV33hZgVyFH3dJEudIH384.zWnglH_vDUpgoTa4XOENOVVSIFP2QgG0tAyHKhfK9ae1W kyyh.sibJLNUNY9PmJBsiCU_2Iprw2wpYuGg22oLbkCLLCOiU3.RTTGxA3A8QiQ0kAECu5VsfrjX i.BNCLGjbGNxfTfG_Ya7SOwn7Qtx.36GBpAtkC5f72Kk4VIrYxKhdV8_7js9xZK0KcaGPLkOH3Bz ba_WYGYHoIZu1ZbZjdzgnHDtNE.4eJEOL8KnK.DIWH X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.ne1.yahoo.com with HTTP; Mon, 12 Dec 2022 11:18:32 +0000 Original-Received: by hermes--production-sg3-b666c6484-bdtvh (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID c411669fb219085189edcef47cdb8234; Mon, 12 Dec 2022 11:18:29 +0000 (UTC) In-Reply-To: (Gregory Heytings's message of "Mon, 12 Dec 2022 10:51:17 +0000") X-Mailer: WebService/1.1.20926 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:250695 Archived-At: Gregory Heytings writes: > They are not supposed to debug a (very subtle) part of the code they > do not understand. By that logic, I should just delete the entire "If you encounter X protocol errors" section from etc/DEBUG. > That's not possible. You would understand that if you had read the > post upthread in which I describe in every detail what that variable > does and why. But you don't care, apparently. Yes, I don't. The fundamental problem I have with the doc string is that it did not say what it does, or what it is supposed to debug, in a manner users can understand. If someone finds a problem that can be fixed by removing ":medium" from the list, he will type "C-h a font attributes RET" and come across the variable, change it, and find out that it is fixed that way. Then, when the bug is reported, we will immediately know roughly where the problem lies, skipping past a whole week of pain and anguish. A doc string which only talks about realize_gui_face and bits in a bitmask will at most lead to confusion and an immediate bug report. That's assuming the variable can be found at all. Even the following doc string helps more in that situation: "This variable controls some aspects of how Emacs understands font-related face attributes in face specifications. Try removing or adding new elements to this list should you come across problems with Emacs ignoring fonts that do not have certain weights or widths."