Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.* causing emacs -batch -f save-buffer to always re-save file, even when no changes seen #1239

Closed
veripoolbot opened this issue Oct 25, 2017 · 1 comment
Assignees
Labels

Comments

@veripoolbot
Copy link
Collaborator


Author Name: Brian Etscheid
Original Redmine Issue: 1239 from https://www.veripool.org

Original Assignee: Wilson Snyder (@wsnyder)


Using latest verilog-mode.el (20170923) to at least as far back as 20161124,


Using .* in module instantiation is causing emacs batch mode to think that the file always needs to be re-written.

The emacs batch command line used:

 /usr/bin/emacs --no-site-file --batch --load /home/betscheid/bin/verilog-mode/verilog-mode.20170923.el test.sv -eval "(setq-default indent-tabs-mode nil)" -f verilog-auto -f save-buffer

Simple example (test.sv, also attached):

module test (
    test2 test2 (.*);
endmodule

module test2 (
    input               clk,
    input               rst);
endmodule

Thanks, -Brian E

PS: in case it matters:

/usr/bin/emacs --version


GNU Emacs 23.1.1

@veripoolbot
Copy link
Collaborator Author


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2017-10-25T20:59:35Z


First, you should be using -f verilog-batch-auto, not running verilog-auto directly.

Anyhow the problem can be worked around by setting verilog-auto-star-expand to nil. I pushed a more advanced fix to git and version verilog-mode-2017-10-25-1a6d846-vpo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants