From: Heime <heimeborgia@protonmail.com>
To: Marcin Borkowski <mbork@mbork.pl>
Cc: Heime via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org>
Subject: Re: Special hilighting for comments
Date: Sat, 10 Dec 2022 06:23:10 +0000 [thread overview]
Message-ID: <0ATBOIUs3sTZq7m-78ZOCMF0JksW02_vRfx78VVier9RgGA1Gk_7wwitdbWHGEobUKYlbqHO-9-_Q1c6Qd2qz99IOJEeB1gb8mcqDHT7mdI=@protonmail.com> (raw)
In-Reply-To: <87lenfeqio.fsf@mbork.pl>
Sent with Proton Mail secure email.
------- Original Message -------
On Saturday, December 10th, 2022 at 6:12 AM, Marcin Borkowski <mbork@mbork.pl> wrote:
> On 2022-12-10, at 03:42, Heime heimeborgia@protonmail.com wrote:
>
> > I have seen that emacs-lisp-mode allows the highlighting of some specially formatted comments using strings enclosed by single quotes 'this-thing'. This can be very useful beyond its intended use (highlighting function and variable names).
> >
> > For instance, I can use this to highlight the first comment with a different colour from the rest of the comments.
> >
> > But this special highlighting only works for function and variables names without spaces.
> >
> > So I cannot do the following to get 'A Remark here' highlighted in a different colour.
> >
> > ;; 'A Remark here'
> > ;; Some comment here
> > ;; Another comment here
> > ;; You are a hero
> >
> > Can the use of '' be extended so I can use the highlighting more generally as described. Or perhaps have an additional highlighting for more general things, separate from function and variable names.
>
>
> Try M-s h C-h.
M-s does not do anything.
next prev parent reply other threads:[~2022-12-10 6:23 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-10 2:42 Special hilighting for comments Heime
2022-12-10 6:12 ` Marcin Borkowski
2022-12-10 6:23 ` Heime [this message]
2022-12-10 8:13 ` Eli Zaretskii
2022-12-10 8:14 ` Eli Zaretskii
2022-12-10 8:30 ` Heime
2022-12-10 8:49 ` Eli Zaretskii
2022-12-10 10:53 ` Heime
2022-12-10 11:15 ` Eli Zaretskii
2022-12-10 11:26 ` Heime
2022-12-10 14:21 ` Eli Zaretskii
2022-12-10 14:28 ` Heime
2022-12-10 15:52 ` Jean Louis
2022-12-10 17:11 ` Heime
2022-12-10 17:16 ` Eli Zaretskii
2022-12-10 17:39 ` Heime
2022-12-10 17:57 ` Thibaut Verron
2022-12-10 18:32 ` Eli Zaretskii
2022-12-12 0:59 ` Heime
2022-12-10 19:44 ` Jean Louis
2022-12-11 2:10 ` Heime
2022-12-11 2:37 ` Heime
2022-12-11 4:23 ` Jean Louis
2022-12-11 5:06 ` Heime
2022-12-11 9:06 ` Jean Louis
2022-12-11 6:54 ` tomas
2022-12-11 6:59 ` Heime
2022-12-11 7:24 ` tomas
2022-12-11 7:33 ` Heime
2022-12-11 7:47 ` tomas
2022-12-11 7:52 ` Heime
2022-12-11 8:55 ` tomas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='0ATBOIUs3sTZq7m-78ZOCMF0JksW02_vRfx78VVier9RgGA1Gk_7wwitdbWHGEobUKYlbqHO-9-_Q1c6Qd2qz99IOJEeB1gb8mcqDHT7mdI=@protonmail.com' \
--to=heimeborgia@protonmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=mbork@mbork.pl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).