unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#74697: 30.0.91; Inconsistent fontificaton with elisp modes
@ 2024-12-04 19:32 the_wurfkreuz via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2024-12-04 19:53 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: the_wurfkreuz via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-12-04 19:32 UTC (permalink / raw)
  To: 74697

[-- Attachment #1: Type: text/plain, Size: 514 bytes --]

In emacs-lisp and lisp-interaction modes when text is surrounded by single quotes or backtick+single quotes in comments or strings, it gets its own font-lock face, as if it were a code symbol:

;; This buffer is for 'text' that is not saved, and for `Lisp' evaluation.
"To create a file, `visit' it with 'C-x C-f' and 'enter' text in its buffer."
This creates unnecessary visual noise as these are just regular quoted words, not code symbols. The text should maintain its parent face (comment face or string face).

[-- Attachment #2: Type: text/html, Size: 793 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#74697: 30.0.91; Inconsistent fontificaton with elisp modes
  2024-12-04 19:32 bug#74697: 30.0.91; Inconsistent fontificaton with elisp modes the_wurfkreuz via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2024-12-04 19:53 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2024-12-04 19:53 UTC (permalink / raw)
  To: the_wurfkreuz; +Cc: 74697

tags 74697 notabug
thanks

> Date: Wed, 04 Dec 2024 19:32:20 +0000
> From:  the_wurfkreuz via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> 
> In emacs-lisp and lisp-interaction modes when text is surrounded by single quotes or backtick+single quotes
> in comments or strings, it gets its own font-lock face, as if it were a code symbol:
> 
> ;; This buffer is for 'text' that is not saved, and for `Lisp' evaluation.
> "To create a file, `visit' it with 'C-x C-f' and 'enter' text in its buffer."
> 
> This creates unnecessary visual noise as these are just regular quoted words, not code symbols. The text
> should maintain its parent face (comment face or string face).

This is a feature, not a bug: such quoted words are considered
references to symbols, and highlighted with the appropriate face.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-12-04 19:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-04 19:32 bug#74697: 30.0.91; Inconsistent fontificaton with elisp modes the_wurfkreuz via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-12-04 19:53 ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).