help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Words with spaces highlighted in elisp-mode comments


From: Emanuel Berg
Subject: Re: Words with spaces highlighted in elisp-mode comments
Date: Mon, 17 Jul 2023 01:08:53 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

uzibalqa wrote:

> Currently in elisp-mode

It is `emacs-lisp-mode', but I agree there should be an
"elisp-mode" alias. Here:

(defalias 'elisp-mode #'emacs-lisp-mode)

https://dataswamp.org/~incal/emacs-init/ide/elisp.el

> comments, words within single quotes get highlighted.
> It would be beneficial if arbitrary text is also highlighted
> within single quotes (e.g. text with spaces).

I don't understand what 'ooh' and 'ooh aah' means in Elisp,
do you?

But it is clear the oohs and the aahs are treated differently
by Emacs as 'ooh' gets the `font-lock-constant-face' and with
the whitespace, as you say, it doesn't.

You can evaluate 'ooh' (into ooh) but not use it in code,
'ooh aah' cannot be evaluated.

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]