all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Paul Cheng <paul.cheng@qlogic.com>
To: Bob Proulx <bob@proulx.com>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: RE: emacs verilog mode
Date: Wed, 14 Aug 2013 16:27:50 +0000	[thread overview]
Message-ID: <35894271DE60B84AAB2A90EDFA3F6632341E8E@avmb3.qlogic.org> (raw)
In-Reply-To: <20130814045203.GA14073@hysteria.proulx.com>

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.



  reply	other threads:[~2013-08-14 16:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-14  0:54 emacs verilog mode Paul Cheng
2013-08-14  4:52 ` Bob Proulx
2013-08-14 16:27   ` Paul Cheng [this message]
2013-09-08 23:52   ` Paul Cheng
2013-09-09  0:05     ` Stefan Monnier
2013-10-28 21:57   ` Paul Cheng
2013-10-29 12:45     ` Stefan Monnier
     [not found]   ` <mailman.4860.1382997450.10748.help-gnu-emacs@gnu.org>
2013-10-29  3:17     ` Rustom Mody

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=35894271DE60B84AAB2A90EDFA3F6632341E8E@avmb3.qlogic.org \
    --to=paul.cheng@qlogic.com \
    --cc=bob@proulx.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.