GNU bug report logs -
#80057
[PATCH] Fontify 'table.create' in 'lua-mode'
Previous Next
To reply to this bug, email your comments to 80057 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org:
bug#80057; Package
emacs.
(Tue, 23 Dec 2025 01:10:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
john muhl <jm <at> pub.pink>:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org.
(Tue, 23 Dec 2025 01:10:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Tags: patch
Lua 5.5 added the table.create method. This just adds it to
lua-mode’s list of built-in keywords for font-lock.
Information forwarded
to
bug-gnu-emacs <at> gnu.org:
bug#80057; Package
emacs.
(Tue, 23 Dec 2025 01:13:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 80057 <at> debbugs.gnu.org (full text, mbox):
[0001-Fontify-table.create-in-lua-mode.patch (text/x-patch, attachment)]
From 1659b8b7e6ddfa6f40cad3775b43bb40409ff231 Mon Sep 17 00:00:00 2001
From: john muhl <jm <at> pub.pink>
Date: Mon, 22 Dec 2025 18:37:12 -0600
Subject: [PATCH] Fontify 'table.create' in 'lua-mode'
* lisp/progmodes/lua-mode.el (lua--builtins): Add 'create' to list
of built-in methods. (Bug#80057)
---
lisp/progmodes/lua-mode.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/progmodes/lua-mode.el b/lisp/progmodes/lua-mode.el
index faeadf212de..351a18d66de 100644
--- a/lisp/progmodes/lua-mode.el
+++ b/lisp/progmodes/lua-mode.el
@@ -354,8 +354,8 @@ lua-region-end
("string" . ("byte" "char" "dump" "find" "format" "gmatch" "gsub"
"len" "lower" "match" "pack" "packsize" "rep" "reverse"
"sub" "unpack" "upper"))
- ("table" . ("concat" "insert" "maxn" "move" "pack" "remove" "sort"
- "unpack"))
+ ("table" . ("concat" "create" "insert" "maxn" "move" "pack" "remove"
+ "sort" "unpack"))
("utf8" . ("char" "charpattern" "codepoint" "codes" "len"
"offset")))))
--
2.51.2
This bug report was last modified 2 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.