[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: emacs verilog mode
From: |
Paul Cheng |
Subject: |
RE: emacs verilog mode |
Date: |
Wed, 14 Aug 2013 16:27:50 +0000 |
Bob,
>(setq verilog-auto-indent-on-newline nil)
This takes care of the issue.
Thanks so much,
Paul
-----Original Message-----
From: Bob Proulx [mailto:bob@proulx.com]
Sent: Tuesday, August 13, 2013 9:52 PM
To: Paul Cheng
Cc: Peter Dyballa; help-gnu-emacs@gnu.org
Subject: Re: emacs verilog mode
Paul Cheng wrote:
> Emacs would reformat my verilog file after I press enter/return, is
> there any way to stop it from doing that? My init.el is attached.
That sounds like the behavior of verilog-auto-indent-on-newline.
"Non-nil means automatically indent line after newline."
Check the value of that variable. Set it to nil if you want to turn that
behavior off.
M-x set-variable
verilog-auto-indent-on-newline
nil
If that is the behavior you want to change then you can set that variable in
your startup file.
(setq verilog-auto-indent-on-newline nil)
If it is a different behavior then please say some more words about the
problem. And also if you could include a very small snippet that we could use
that would recreate the problem it would help.
Bob
________________________________
This message and any attached documents contain information from QLogic
Corporation or its wholly-owned subsidiaries that may be confidential. If you
are not the intended recipient, you may not read, copy, distribute, or use this
information. If you have received this transmission in error, please notify the
sender immediately by reply e-mail and then delete this message.