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: Special hilighting for comments Date: Sat, 10 Dec 2022 06:23:10 +0000 Message-ID: <0ATBOIUs3sTZq7m-78ZOCMF0JksW02_vRfx78VVier9RgGA1Gk_7wwitdbWHGEobUKYlbqHO-9-_Q1c6Qd2qz99IOJEeB1gb8mcqDHT7mdI=@protonmail.com> References: <87lenfeqio.fsf@mbork.pl> 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="26968"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Heime via Users list for the GNU Emacs text editor To: Marcin Borkowski Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 10 07:23:47 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 1p3tH0-0006nh-S5 for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 10 Dec 2022 07:23:46 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p3tGk-0001xp-Pd; Sat, 10 Dec 2022 01:23:31 -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 1p3tGh-0001xg-3l for help-gnu-emacs@gnu.org; Sat, 10 Dec 2022 01:23:27 -0500 Original-Received: from mail-4319.protonmail.ch ([185.70.43.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p3tGe-0005lb-9Z for help-gnu-emacs@gnu.org; Sat, 10 Dec 2022 01:23:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1670653400; x=1670912600; bh=6LuskGy800I8pmnM4TgS4cODpWFIiBXHkZxlcxeUU8A=; 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=fQv9aEEhYu2PEOc22rsDjPzM1rnHVMdpoSBbnVrckJnAZp8fKjg/drEupoa1tsQFy FHKEoW3G72YhALWxGG20lROqM9viXnAUS0B9yzrdeKSL9XOpeI9/VtT8sToJ0MlMKf W1vQQ+zhzWifN8rcfg+IJ62XaMn7df+XdfEXb5VybIgdnXEcEiQlw7bCdrap6jLIWi FJiJhv6XJdEOE0NIMu/fcgaMfcgNPIiP0HkCwXu5w+0JSt6660P6naLcJXFpuGAeyB p/AAu5keKZ0WGkhFSLG5UlI7X64f9HpPniqlxPvtfeBvsQVYAjT6SezwyOi9RxQFWZ Nxmbf6IQiXpHw== In-Reply-To: <87lenfeqio.fsf@mbork.pl> Feedback-ID: 57735886:user:proton Received-SPF: pass client-ip=185.70.43.19; envelope-from=heimeborgia@protonmail.com; helo=mail-4319.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.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 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-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:141546 Archived-At: Sent with Proton Mail secure email. ------- Original Message ------- On Saturday, December 10th, 2022 at 6:12 AM, Marcin Borkowski wrote: > On 2022-12-10, at 03:42, Heime heimeborgia@protonmail.com wrote: >=20 > > I have seen that emacs-lisp-mode allows the highlighting of some specia= lly formatted comments using strings enclosed by single quotes 'this-thing'= . This can be very useful beyond its intended use (highlighting function an= d variable names). > >=20 > > For instance, I can use this to highlight the first comment with a diff= erent colour from the rest of the comments. > >=20 > > But this special highlighting only works for function and variables nam= es without spaces. > >=20 > > So I cannot do the following to get 'A Remark here' highlighted in a di= fferent colour. > >=20 > > ;; 'A Remark here' > > ;; Some comment here > > ;; Another comment here > > ;; You are a hero > >=20 > > Can the use of '' be extended so I can use the highlighting more genera= lly as described. Or perhaps have an additional highlighting for more gener= al things, separate from function and variable names. >=20 >=20 > Try M-s h C-h. M-s does not do anything.