GNU bug report logs - #55389
28.1; vhdl-generate-makefile fails if there is not VHDL project

Previous Next

Package: emacs;

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

Date: Thu, 12 May 2022 19:19:01 UTC

Severity: normal

Tags: moreinfo

Found in version 28.1

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

Bug is archived. No further changes may be made.

Full log


Message #18 received at 55389-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: cyril.arnould <at> outlook.com
Cc: 55389-done <at> debbugs.gnu.org
Subject: Re: bug#55389: 28.1;
 vhdl-generate-makefile fails if there is not VHDL project
Date: Tue, 17 May 2022 16:34:50 +0300
> Cc: 55389 <at> debbugs.gnu.org
> Date: Fri, 13 May 2022 15:03:38 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> 
> > From: Cyril Arnould <cyril.arnould <at> outlook.com>
> > Date: Thu, 12 May 2022 19:13:15 +0000
> > 
> > When visiting any VHDL file, trying to execute vhdl-generate-makefile
> > (C-c M-k) will fail if vhdl-project is nil. The resulting error message
> > and backtrace are as follows:
> > 
> > vhdl-generate-makefile-1: Symbol’s value as variable is void: rule-alist
> > 
> > Debugger entered--Lisp error: (void-variable rule-alist)
> >   vhdl-aput(rule-alist "counter.vhd" (("counter") nil))
> >   vhdl-generate-makefile-1()
> >   vhdl-generate-makefile()
> >   funcall-interactively(vhdl-generate-makefile)
> >   command-execute(vhdl-generate-makefile)
> > 
> > I suspect this might be due to changes when lexical-binding was enabled,
> > I went back to commit d365c947b53a2a1e4b43ab65922ebfeca23943d1 where it's
> > working.
> 
> Yes, this is fallout from converting vhdl-mode.el to lexical-binding.
> I installed a fix on the emacs-28 branch.  The patch I installed is
> below; please see if there are any issues left after applying it.

No further comments, so I'm closing this bug.




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

Previous Next


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