GNU bug report logs -
#77277
Multiple copies of vhdl feautres added to compilation-error-regexp-alist
Previous Next
To reply to this bug, email your comments to 77277 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#77277
; Package
emacs
.
(Wed, 26 Mar 2025 12:19:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Paul Graham <pgraham <at> cadence.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 26 Mar 2025 12:19:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I am using emacs 29.1 on Linux RH8. I use compilation mode a lot, both for makefiles and for running other non-interactive programs. I also visit Vhdl files. After running emacs for a while, the variable compilation-error-regexp-alist gets very large. Here is an example after about 1 hour of emacs use:
compilation-error-regexp-alist is a variable defined in 'compile.el'.
Its value is
(vhdl-directory vhdl-advance-ms vhdl-advance-ms-file vhdl-aldec vhdl-cadence-leapfrog vhdl-cadence-nc vhdl-ghdl vhdl-ibm-compiler vhdl-ikos vhdl-ikos-file vhdl-modelsim vhdl-leda-provhdl vhdl-quartus vhdl-quickhdl vhdl-savant vhdl-simili vhdl-speedwave vhdl-synopsys vhdl-synopsys-design-compiler vhdl-synplify vhdl-vantage vhdl-vantage-file vhdl-veribest vhdl-viewlogic vhdl-viewlogic-file vhdl-xilinx-xst vhdl-directory vhdl-advance-ms vhdl-advance-ms-file vhdl-aldec vhdl-cadence-leapfrog vhdl-cadence-nc vhdl-ghdl vhdl-ibm-compiler vhdl-ikos vhdl-ikos-file vhdl-modelsim vhdl-leda-provhdl vhdl-quartus vhdl-quickhdl vhdl-savant vhdl-simili vhdl-speedwave vhdl-synopsys vhdl-synopsys-design-compiler vhdl-synplify vhdl-vantage vhdl-vantage-file vhdl-veribest vhdl-viewlogic vhdl-viewlogic-file vhdl-xilinx-xst vhdl-directory vhdl-advance-ms vhdl-advance-ms-file vhdl-aldec vhdl-cadence-leapfrog vhdl-cadence-nc vhdl-ghdl vhdl-ibm-compiler vhdl-ikos vhdl-ikos-file vhdl-modelsim vhdl-leda-provhdl vhdl-quartus vhdl-quickhdl vhdl-savant vhdl-simili vhdl-speedwave vhdl-synopsys vhdl-synopsys-design-compiler vhdl-synplify vhdl-vantage vhdl-vantage-file vhdl-veribest vhdl-viewlogic vhdl-viewlogic-file vhdl-xilinx-xst verilog-leda verilog-verilator verilog-vcs-4 verilog-vcs-3 verilog-vcs-2 verilog-vcs-1 verilog-xsim verilog-verbose verilog-surefire-2 verilog-surefire-1 verilog-IES verilog-xl-2 verilog-xl-1 bash clang-include gcc-include gmake gnu lcc gcov-file gcov-header gcov-nomark gcov-called-line gcov-never-called)
The original value of this variable as defined in my .emacs file was (bash clang-include gcc-include gmake gnu lcc gcov-file gcov-header gcov-nomark gcov-called-line gcov-never-called).
Notice that "vhdl-directory" appears three times in this variable. In another long-running emacs session "vhdl-directory" appeared over 1400 times in this variable. I suspect that some code in vhdl-mode.el is repeatedly appending these vhdl strings without checking for duplicates. Of course when compilation-error-regexp-alist grows to thousands of entries it slows down compilation mode to a crawl.
Paul
[Message part 2 (text/html, inline)]
This bug report was last modified 9 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.