GNU bug report logs - #65673
[PATCH emacs 0/1] Add lua-ts-mode

Previous Next

Package: emacs;

Reported by: ~johnmuhl <jm <at> pub.pink>

Date: Fri, 1 Sep 2023 06:31:03 UTC

Severity: wishlist

Tags: patch

Merged with 65672

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Mauro Aranda <maurooaranda <at> gmail.com>
To: ~johnmuhl <jm <at> pub.pink>
Cc: 65673 <at> debbugs.gnu.org, ~emacs/emacs-devel <at> lists.sr.ht
Subject: bug#65673: [PATCH emacs 0/1] Add lua-ts-mode
Date: Fri, 1 Sep 2023 19:46:06 -0300
~johnmuhl <johnmuhl <at> git.sr.ht> writes:

I just have some comments/questions about the defcustoms:

> +(defcustom lua-ts-indent-offset 4
> +  "Number of spaces for each indentation step in `lua-ts-mode'."
> +  :type 'integer
> +  :safe 'integerp
> +  :group 'lua
> +  :version "30.1")

Does :type 'natnum fit better here?

> +(defcustom lua-ts-luacheck-program "luacheck"
> +  "Location of the Luacheck program."
> +  :type 'string
> +  :group 'lua
> +  :version "30.1")

I think :type 'file is better.

> +(defcustom inferior-lua-interpreter "lua"
> +  "Program to run in the inferior Lua process."
> +  :type 'string
> +  :safe 'stringp
> +  :group 'lua
> +  :version "30.1")

Same as above.

> +(defcustom inferior-lua-startfile ""
> +  "File to load into the inferior Lua process at startup."
> +  :type 'string
> +  :safe 'stringp
> +  :group 'lua
> +  :version "30.1")

Same as above, but maybe the default value should be changed to nil, to
indicate no startfile?





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

Previous Next


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