bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#63251: AW: bug#63251: 28.2; vhdl-mode contribution


From: Cyril Arnould
Subject: bug#63251: AW: bug#63251: 28.2; vhdl-mode contribution
Date: Sun, 7 May 2023 18:56:59 +0000

I ran into some issues, but got it to work with the following:

 

;; option `vhdl-compiler-alist' changed format (3.38.1)

(when (= (length (nth 11 (car vhdl-compiler-alist))) 4)

    (setq vhdl-compiler-alist

        (mapcar (lambda (entry)

                  ;; Add a `2' to the end of the list that is element #11.

                  (append (butlast entry 3)

                          (list (append (nth 11 entry) (list 2)))

                          (nthcdr 12 entry)))

                vhdl-compiler-alist))

  (customize-save-variable 'vhdl-compiler-alist vhdl-compiler-alist))

 

 

Von: Mattias Engdegård
Gesendet: Sonntag, 7. Mai 2023 19:53
An: Cyril Arnould
Cc: 63251@debbugs.gnu.org; Reto Zimmermann; Eli Zaretskii
Betreff: Re: bug#63251: 28.2; vhdl-mode contribution

 

7 maj 2023 kl. 19.48 skrev Cyril Arnould <cyril.arnould@outlook.com>:

> I would
> change the «Warning and Info» text though, seen as the
> compilation command can differentiate between Warnings, Infos AND
> Errors using the _expression_. Maybe «Type detection»? Or «Type
> detection via regexp»?

No opinion here.

> Couldn't test your changes though as I'm still on Emacs 28.2.

Replace (take 11 entry) with (butlast 3 entry) and it will work with any Emacs version.

 


reply via email to

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