From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Heime Newsgroups: gmane.emacs.help Subject: Re: Introducing face in comments for various modes Date: Tue, 13 Dec 2022 08:30:31 +0000 Message-ID: <0icp58GJsK8dY-4h0rYl1g47IKcUW6zTIdHTpT6gRBXa24dgtBv86Vw2KlQPzBMBtEsHJBM6T1S-JX_xg8xrmQ8vXI1k7_OsdXnTX-_iNZE=@protonmail.com> References: <9ZK1Solghrmps4AarUsz2E6-mAdkrTZoXPs4RTRTd9sZ0Cd8DGhK955im1kuug-EZXU3tc5rgDDd16vQexxpFnMvMFjFqnNnh0noashyLdE=@protonmail.com> <0RJB0bPRTMAqXlUbL2kGUvJtnCNPYwPhqTNi_l9nIpQAciTZYcYCikFVqi2Nr_UZLbT1_DRtX8G0dSkgI4jln5DTYBDxLz4i7L2d9wx-kA8=@protonmail.com> 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="5235"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Jean Louis , help-gnu-emacs@gnu.org To: Heime Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 13 09:31:30 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 1p50hF-000193-OO for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 13 Dec 2022 09:31:29 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p50gf-0005EA-HL; Tue, 13 Dec 2022 03:30:54 -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 1p50gW-00056v-6I for help-gnu-emacs@gnu.org; Tue, 13 Dec 2022 03:30:45 -0500 Original-Received: from mail-4325.protonmail.ch ([185.70.43.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p50gU-0004Yw-9m for help-gnu-emacs@gnu.org; Tue, 13 Dec 2022 03:30:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1670920236; x=1671179436; bh=u6j7XAbYzL6CDDMMHoYIimOkS5d6aXtqDhp1a4e+OUM=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=wn+exWiU2j5MzX2tn02zA6M605Pqduw1+S70gPf6b8aN98nnj2kDUu6KfbahnFhbz 5qJyXpMjykgdj74qOcvaK6cV44v/MH91AJYv/F2T5fDUu0N8cR9plW3elb57cl7NfE S946M0d+bylqk1KmVxmu5xjhBqFVkWyHeDdIWfFAWmT9qNRF/90DYY4r0AtkdS+DvP f9k/i3dQbdR3OMNGvKX+yWAEi5Kr10W4f3tYybhicgLAhSdjN3dzh1bUdBG3dOVK5p ZN5LZDALmAnfihdsUh7lFtV92Om57qzwaASdTfq/l1nz1okUxTIT+sAgC2esiEo3Gv HnrFUGRi4L5/w== In-Reply-To: Feedback-ID: 57735886:user:proton Received-SPF: pass client-ip=185.70.43.25; envelope-from=heimeborgia@protonmail.com; helo=mail-4325.protonmail.ch X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 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_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, TO_EQ_FM_DIRECT_MX=1 autolearn=no 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-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:141699 Archived-At: ------- Original Message ------- On Tuesday, December 13th, 2022 at 8:04 AM, Heime wrote: > ------- Original Message ------- > On Tuesday, December 13th, 2022 at 7:52 AM, Jean Louis bugs@gnu.support w= rote: >=20 >=20 >=20 > > Heime, I like the idea of highlighting comments, though I do it this > > way to specify (syntax comment-start) as that works for multiple > > modes. > >=20 > > ; one > > ;; two > > ;;; three > > ;;;; and more > >=20 > > ;;; Highlighting comments > >=20 > > (setq rcd-regexp-comment (rx line-start > > (one-or-more (syntax comment-start)) > > (one-or-more space) > > (group (one-or-more not-newline)) > > line-end)) > >=20 > > ;; (highlight-regexp regexp nil 1) > > ;; (unhighlight-regexp regexp) > >=20 > > Jean I would like to introduce (syntax comment-start) in place of ";;" in "^;;\s+\\[.+\\].*$".