GNU bug report logs - #70383
Conf-mode[toml] badly set face property

Previous Next

Package: emacs;

Reported by: Alastair Irving <alastair.j.irving <at> gmail.com>

Date: Sun, 14 Apr 2024 15:21:04 UTC

Severity: normal

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Alastair Irving <alastair.j.irving <at> gmail.com>
Subject: bug#70383: closed (Re: bug#70383: Conf-mode[toml] badly set face
 property)
Date: Thu, 18 Apr 2024 18:30:05 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#70383: Conf-mode[toml] badly set face property

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 70383 <at> debbugs.gnu.org.

-- 
70383: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=70383
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Alastair Irving <alastair.j.irving <at> gmail.com>
Cc: 70383-done <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>,
 jostein <at> kjonigsen.net, casouri <at> gmail.com
Subject: Re: bug#70383: Conf-mode[toml] badly set face property
Date: Thu, 18 Apr 2024 14:29:13 -0400
> Thank you Stefan, that's fixed it.

Thanks for confirming, closing,


        Stefan


[Message part 3 (message/rfc822, inline)]
From: Alastair Irving <alastair.j.irving <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Conf-mode[toml] badly set face property
Date: Sun, 14 Apr 2024 11:25:08 +0100
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.





This bug report was last modified 1 year and 88 days ago.

Previous Next


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