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: uzibalqa
Subject: Re: Words with spaces highlighted in elisp-mode comments
Date: Mon, 17 Jul 2023 12:56:20 +0000

------- Original Message -------
On Monday, July 17th, 2023 at 11:08 AM, Emanuel Berg <incal@dataswamp.org> 
wrote:


> 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.

Highlighting some text in comments would be beneficial.

Consider a line showing usage of a function with a description 
beneath it.  Highlighting the usage code part would help readability. 




reply via email to

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