unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#70383: Conf-mode[toml] badly set face property
@ 2024-04-14 10:25 Alastair Irving
  2024-04-14 16:46 ` Eli Zaretskii
  0 siblings, 1 reply; 10+ messages in thread
From: Alastair Irving @ 2024-04-14 10:25 UTC (permalink / raw)
  To: 70383

When editting TOML files with conf-mode[toml] the face property is being 
set badly on certain characters.  This occurs in Emacs 29.3 (running 
with -q) but has been present in older versions. Steps to reproduce:

1. Create a file test.toml containing the following:


[package]
name = "test"
# See more keys and their definitions at 
https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]

2. Navigate to the d in dependencies and evaluate

(text-properties-at (point))

The output for me looks like

(face (font-lock-type-face font-lock-type-face font-lock-type-face 
font-lock-type-face font-lock-type-face font-lock-ty\
pe-face font-lock-type-face font-lock-type-face font-lock-type-face 
font-lock-type-face


It looks like something is wrong in the font-lock setup and the same 
face is being applied very many times.







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

end of thread, other threads:[~2024-04-18 18:29 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-14 10:25 bug#70383: Conf-mode[toml] badly set face property Alastair Irving
2024-04-14 16:46 ` Eli Zaretskii
2024-04-14 19:59   ` Alastair Irving
2024-04-15  6:43     ` Jostein Kjønigsen
2024-04-15 11:35       ` Eli Zaretskii
2024-04-15 14:34     ` Eli Zaretskii
2024-04-17 18:17       ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-17 18:31         ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-18 17:26           ` Alastair Irving
2024-04-18 18:29             ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors

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