From: Alastair Irving <alastair.j.irving@gmail.com>
To: 70383@debbugs.gnu.org
Subject: bug#70383: Conf-mode[toml] badly set face property
Date: Sun, 14 Apr 2024 11:25:08 +0100 [thread overview]
Message-ID: <45347c16-6e54-4598-8ac9-33f56f65e106@gmail.com> (raw)
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.
next reply other threads:[~2024-04-14 10:25 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-14 10:25 Alastair Irving [this message]
2024-04-14 16:46 ` bug#70383: Conf-mode[toml] badly set face property 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
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45347c16-6e54-4598-8ac9-33f56f65e106@gmail.com \
--to=alastair.j.irving@gmail.com \
--cc=70383@debbugs.gnu.org \
/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 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).