emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [NonGNU ELPA] New package: flymake-guile


From: Mauro Aranda
Subject: Re: [NonGNU ELPA] New package: flymake-guile
Date: Thu, 31 Aug 2023 08:03:53 -0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

On 30/8/23 23:23, Distopico wrote:
> Hi all!
>
> I'm the author of a new package `flymake-guile` and I
> would like to include it in Nongnu ELPA.
>
> Here the repo: https://framagit.org/flymake-backends/flymake-guile
>
> --8<---------------cut here---------------start------------->8---
> ;;; Commentary:
>
> ;; Flymake backend for GNU Guile using `guild' compile.
> ;;
> ;; Usage:
> ;;   (require 'flymake-guile)
> ;;   (add-hook 'scheme-mode-hook 'flymake-guile)
> --8<---------------cut here---------------end--------------->8---
>
> Best!
>

Hi,

I've got a couple of comments about the defcustoms:

(defcustom flymake-guile-guild-args nil
  "Additional arguments for `guild' compile command."
  :type 'string
  :group 'flymake-guile)

Looks like either type should allow the nil value, or the default value
should be changed to a string.


(defcustom flymake-guile-warnings '("3")
  "A list of warnings to enable for `guild compile'.

The value of this variable could be an list string of warning types
or an warning level.

The list of supported warning types/levels can be found by running
`guild compile -W help'."
  :type  '(string)
  :group 'flymake-guile)

It looks like you want the :type to be a list of strings.  In that case
you should use (repeat string) as the :type.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]