all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: reporter <laszlomail@protonmail.com>
Cc: 46092@debbugs.gnu.org
Subject: bug#46092: 27.1; syntax highlight in the eval-expression prompt
Date: Wed, 27 Jan 2021 03:24:20 +0100	[thread overview]
Message-ID: <874kj3f76z.fsf@gnus.org> (raw)
In-Reply-To: <HVcJouCT_JCzTlgdIDdqnyo1HuUa4HFwvVPkaQhWV1bX30_nTSXg-xl9Ea3zXPnLVaKLh12T83wCMX1eAISSIMkyafMN2ryJhxL9tUEenbc=@protonmail.com> (reporter's message of "Mon, 25 Jan 2021 06:06:18 +0000")

reporter <laszlomail@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





  reply	other threads:[~2021-01-27  2:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-25  6:06 bug#46092: 27.1; syntax highlight in the eval-expression prompt laszlomail--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-01-27  2:24 ` Lars Ingebrigtsen [this message]
2021-01-29 13:27   ` laszlomail--- via Bug reports for GNU Emacs, the Swiss army knife of text editors

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874kj3f76z.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=46092@debbugs.gnu.org \
    --cc=laszlomail@protonmail.com \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.