GNU bug report logs - #46092
27.1; syntax highlight in the eval-expression prompt

Previous Next

Package: emacs;

Reported by: reporter <laszlomail <at> protonmail.com>

Date: Mon, 25 Jan 2021 06:07:01 UTC

Severity: normal

Merged with 53507

Found in version 27.1

Full log


Message #8 received at 46092 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: reporter <laszlomail <at> protonmail.com>
Cc: 46092 <at> debbugs.gnu.org
Subject: Re: bug#46092: 27.1; syntax highlight in the eval-expression prompt
Date: Wed, 27 Jan 2021 03:24:20 +0100
reporter <laszlomail <at> protonmail.com> writes:

> I use eval-expression a lot for writing and executing smaller snippets, often
> spanning several lines.
>
> Since it is for evaluating elisp snippets, it should have elisp syntax
> highlighting for better readability (highlighted strings, for example)
> .

That's true -- it's odd that `eval-expression' doesn't use font
locking.  Is there a reason for this, or has nobody just never thought
of it before?

I briefly tried switching it on (by just setting `font-lock-defaults' to
something Elispish), but that didn't work, so does the minibuffer have
something special going on that prohibits font locking?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 116 days ago.

Previous Next


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