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
247 stars 90 forks source link

Adding comments within the local-variables section #1704

Closed engrvns closed 3 years ago

engrvns commented 3 years ago

How does one add comments within the local-variables section

Any comment added after the // Local Variables: and //End: seems to get parsed by verilog-mode and leads to error.

What I would like to do is - 1) Add line comments 2) Add comments at the end of a line after a definition of // verilog-* variable

Thanks, EVS

wsnyder commented 3 years ago

I haven't heard of a way to put comments there, but haven't looked hard. Note the comments are a feature of Emacs generally not verilog-mode itself.

https://www.gnu.org/software/emacs/manual/html_node/emacs/Specifying-File-Variables.html

https://emacs.stackexchange.com/questions/15253/how-comment-out-a-variable-line-in-a-local-variable-list