veripool / verilog-mode

Verilog-Mode for Emacs with Indentation, Hightlighting and AUTOs. Master repository for pushing to GNU, verilog.com and veripool.org.
http://veripool.org/verilog-mode
GNU General Public License v3.0
253 stars 90 forks source link

Question: "Loading vc-svn..." on every -batch mode execution of verilog-mode #1260

Closed veripoolbot closed 6 years ago

veripoolbot commented 6 years ago

Author Name: Marcin K Original Redmine Message: 2463 from https://www.veripool.org


I run verilog-mode regularily in batch mode. It appears that every time I invoke it, it spends more time on

Loading vc-svn...

than processing verilog files. Is there any way to disable it?

veripoolbot commented 6 years ago

Original Redmine Comment Author Name: Wilson Snyder (@wsnyder) Original Date: 2018-01-18T01:41:24Z


Depends on what's calling it, but probably use "-q". You may then need to load a file containing other settings, since that will disable the ones you normally get.

veripoolbot commented 6 years ago

Original Redmine Comment Author Name: Marcin K Original Date: 2018-01-18T16:39:14Z


I only run verilog-mode in batch mode, so I don't have any local .emacs or default or other emacs setup. But I did attempt to run it with "-q" and it still loaded vc-svn.

I did an experiment and run auto-verilog on all RTL files in my directory, and it only loaded vc-svn on the design toplevel module (which also happens to be the one I run auto-verilog on the most). Interesting.

veripoolbot commented 6 years ago

Original Redmine Comment Author Name: Marcin K Original Date: 2018-01-18T20:47:09Z


I have done some debugging and found out this: whenever one of the files that are processed by verilog-mode resides in a directory with a @.svn@ directory in it, the @Loading vc-svn...@ appears. This appears to be an Emacs issue, as just executing @emacs -batch file.sv@ is enough to trigger it. @-q@ has no impact.