title: How to disable auto new line in verilog mode in emacs
body: <p>Each time I want to post my question it always show the problem “Your post appears to contain code that is not properly formatted”, why this happens. I can only post my question as code. Sorry for the inconvenience.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>I am fairly new to emacs.
  Whenever I type a semicolon( ; ) in my verilog code, it puts a
  "new line" character automatically. How to disable this
  automatic entry of new-line character?
  
  I searched this question on google. Somebody answered 
  
  "Hi Ravi,
          I am not sure which "mode file" you are using. If you are using the
  one from Mac (Verisity) then have a llok at the file "verilog-mode.el"
  You will see
  ;       verilog-auto-newline             t
  ;       verilog-auto-indent-on-newline   t
  (defcustom verilog-auto-newline t
  "t" means true, change it to "nil" and restart Emacs.
  Another way to do through GUI is
  On the menu bar you normally see a "special" pull down menu (if Verilog mode
  is loaded) named "Verilog".
  1.&gt; Click on the Pull Down Menu Verilog
  2.&gt; Click on "Custmoize Verilog Mode..." (should be last but one option in
  this menu)
  3.&gt; Then "open" the INDENT group
  4.&gt; Look for an option named "auto new line" and set this to nil.
  5.&gt; Save options..
  Hope this helps.
  Good Luck,
  Srini
  
  "
  
  I modified my verilog-mode.el in ~/elisp, but it did not work.
  Auto new line still happens. 
  And I can't find a verilog mode menu bar on emacs menu bar. 
  Can somebody tell me how to show the verilog mode menu bar on my emacs? Many thanks.</code></pre>
  </div>
  </div>
  </p>