GNU bug report logs - #57250
emacs-lisp-mode not highlighting single characters `k' in comments

Previous Next

Package: emacs;

Reported by: uzibalqa <uzibalqa <at> proton.me>

Date: Tue, 16 Aug 2022 18:58:02 UTC

Severity: normal

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Kangas <stefankangas <at> gmail.com>
To: uzibalqa <uzibalqa <at> proton.me>, 57250 <at> debbugs.gnu.org
Subject: bug#57250: emacs-lisp-mode not highlighting single characters `k' in comments
Date: Tue, 16 Aug 2022 12:11:55 -0700
uzibalqa via "Bug reports for GNU Emacs, the Swiss army knife of text
editors" <bug-gnu-emacs <at> gnu.org> writes:

> But if the character sequence within tick ` and a single quote ' is a single
> character, the character does not get highlighted.
>
> Example:
>
> ;; Insert `k' for words with initial values.
>
> The character k does not get highlighted.

That's because k here is more likely to be a key than a Lisp symbol.

So I think this is expected.




This bug report was last modified 2 years and 337 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.