GNU bug report logs - #54730
28.1; vhdl-update-sensitivity-list not working in Windows

Previous Next

Package: emacs;

Reported by: Cyril Arnould <cyril.arnould <at> outlook.com>

Date: Tue, 5 Apr 2022 16:27:02 UTC

Severity: normal

Found in version 28.1

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

Bug is archived. No further changes may be made.

Full log


Message #23 received at 54730 <at> debbugs.gnu.org (full text, mbox):

From: Robert Pluim <rpluim <at> gmail.com>
To: Cyril Arnould <cyril.arnould <at> outlook.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>,
 "54730 <at> debbugs.gnu.org" <54730 <at> debbugs.gnu.org>,
 Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: Re: bug#54730: AW: bug#54730: 28.1; vhdl-update-sensitivity-list
 not working in Windows
Date: Tue, 05 Apr 2022 20:09:28 +0200
>>>>> On Tue, 5 Apr 2022 17:53:20 +0000, Cyril Arnould <cyril.arnould <at> outlook.com> said:

    Cyril> Nice, it’s working! Too bad this didn’t make it into the 28.1 release, I guess I should have
    Cyril> tested more. So for now the solution is to keep the vhdl-mode.el locally until it finds its
    Cyril> way into a maintenance release?

Yes. Eli might decide to put it in 28.2

An alternative (shorter) fix would be this. Stefan, is there a
preference for how these types of lexical-binding bugs are fixed?

diff --git a/lisp/progmodes/vhdl-mode.el b/lisp/progmodes/vhdl-mode.el
index c6693b4de5..a0e7f8a82f 100644
--- a/lisp/progmodes/vhdl-mode.el
+++ b/lisp/progmodes/vhdl-mode.el
@@ -8453,8 +8453,8 @@ vhdl-update-sensitivity-list
 	  ;; scan for signals read in process
 	  (while scan-regions-list
 	    (goto-char proc-mid)
-	    (while (and (setq beg (eval (nth 0 (car scan-regions-list))))
-			(setq end (eval (nth 1 (car scan-regions-list)))))
+	    (while (and (setq beg (eval (nth 0 (car scan-regions-list)) `((proc-end . ,proc-end))))
+			(setq end (eval (nth 1 (car scan-regions-list)) `((proc-end . ,proc-end)))))
 	      (goto-char beg)
 	      (unless (or (vhdl-in-literal)
 			  (and seq-region-list

Robert
-- 




This bug report was last modified 3 years and 42 days ago.

Previous Next


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