From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Kevin Vigouroux via Users list for the GNU Emacs text editor Newsgroups: gmane.emacs.help Subject: Re: Determining font weight Date: Tue, 08 Feb 2022 09:33:24 +0100 Message-ID: <87zgn1pxkb.fsf@laposte.net> References: <87o83inp78.fsf@zoho.eu> <87iltqno7c.fsf@zoho.eu> Reply-To: Kevin Vigouroux Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30884"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 08 10:29:22 2022 Return-path: Envelope-to: geh-help-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 1nHMoL-0007qC-Pv for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 08 Feb 2022 10:29:21 +0100 Original-Received: from localhost ([::1]:48746 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nHMoK-0001EM-DP for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 08 Feb 2022 04:29:20 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38784) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHLwP-0004yH-Kp for help-gnu-emacs@gnu.org; Tue, 08 Feb 2022 03:33:39 -0500 Original-Received: from smtp-outgoing-1802.laposte.net ([160.92.124.103]:43041) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHLwK-0003kh-Ll for help-gnu-emacs@gnu.org; Tue, 08 Feb 2022 03:33:37 -0500 X-mail-filterd: {"version":"1.3.4", "queueID":"4JtGVs3dndz1dxml", "contextId":"1c0eb94d-c315-4ce7-b784-78cc42465da0"} Original-Received: from outgoing-mail.laposte.net (localhost.localdomain [127.0.0.1]) by mlpnf0110.laposte.net (SMTP Server) with ESMTP id 4JtGVs3dndz1dxml for ; Tue, 8 Feb 2022 09:33:25 +0100 (CET) X-mail-filterd: {"version":"1.3.4", "queueID":"4JtGVs2Zd6z1dxmk", "contextId":"0f52b353-4a14-447e-ade9-92ce2ccfb7d4"} X-lpn-mailing: LEGIT X-lpn-spamrating: 50 X-lpn-spamlevel: not-spam X-lpn-spamcause: OK, (0)(0000)gggruggvucftvghtrhhoucdtuddrgedvvddrheeigdduvddtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecunfetrffquffvgfdpggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufhffjgfkfgggtgfgsehtqhertddtreejnecuhfhrohhmpefmvghvihhnucggihhgohhurhhouhiguceokhgvrdhvihhgohhurhhouhigsehlrghpohhsthgvrdhnvghtqeenucggtffrrghtthgvrhhnpeekteejteffgeevgeegueegkeefgeekfeegtddtvefhffejgeefkefgfefgkeeltdenucfkphepvddrudegrdefhedrvddvtdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvrddugedrfeehrddvvddtpdhhvghloheprghrrghgohhgpdhmrghilhhfrhhomhepkhgvrdhvihhgohhurhhouhigsehlrghpohhsthgvrdhnvghtpdhnsggprhgtphhtthhopedupdhrtghpthhtohephhgvlhhpqdhgnhhuqdgvmhgrtghssehgnhhurdhorhhgpdhmohguvgepshhmthhpohhuth Original-Received: from aragog (arennes-652-1-305-220.w2-14.abo.wanadoo.fr [2.14.35.220]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mlpnf0110.laposte.net (SMTP Server) with ESMTPSA id 4JtGVs2Zd6z1dxmk for ; Tue, 8 Feb 2022 09:33:25 +0100 (CET) Mail-Followup-To: help-gnu-emacs@gnu.org In-Reply-To: (goncholden@protonmail.com's message of "Tue, 08 Feb 2022 02:00:37 +0000") DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=laposte.net; s=lpn-wlmd; t=1644309207; bh=mPJjvbSoWcPtM6vQbTviXbXuLKt87JU7+uvv4enYweE=; h=From:To:Subject:References:Date:In-Reply-To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; b=tU6Jpwv6DNKBNt3UBkekqCyQJIlNNp7U6mpDop0zXZHk+9sgkX1oDB3oPNebvz350h3GvDDtuU+5axlJOWduvxqL45XPlzSnTDl6l5AU6+FQkLuFhOdPPKTHZZWZOm7nrCijQB6ui/UmYjEEIj5lck+lIkK9e5WHaehS5gcm+aVVE1Peg1m5NqEoq/LKG9bm/B2tPjyb2xxVV1Q+6UuXe7WUQpv0gO7j0P7ulkBaUGZgRgafQb8p0oCKlt9yKFUL/ZZK5gyQ0aeUvgL4YWV3oExckkfcyyV3yFMqBNlDMPlithjgdXfYT2QMglmfrO2hHO40VNEiWYOlopXbmU+N0A==; Received-SPF: pass client-ip=160.92.124.103; envelope-from=ke.vigouroux@laposte.net; helo=smtp-outgoing-1802.laposte.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:135825 Archived-At: If your issue is related to the thread =E2=80=9CAdding functionality to a m= inor mode=E2=80=9D, then I think you are mistaken. Why define a minor mode to modify the syntax highlighting normally defined inside a major mode using Font Lock mode? --=20 Kevin Vigouroux Best regards