From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Cheng Newsgroups: gmane.emacs.help Subject: RE: emacs verilog mode Date: Wed, 14 Aug 2013 16:27:50 +0000 Message-ID: <35894271DE60B84AAB2A90EDFA3F6632341E8E@avmb3.qlogic.org> References: <35894271DE60B84AAB2A90EDFA3F6632341AA1@avmb3.qlogic.org> <20130814045203.GA14073@hysteria.proulx.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1376497714 20494 80.91.229.3 (14 Aug 2013 16:28:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Aug 2013 16:28:34 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" To: Bob Proulx Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 14 18:28:35 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V9dw3-000846-6F for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Aug 2013 18:28:35 +0200 Original-Received: from localhost ([::1]:47393 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9dw2-0004CT-O6 for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Aug 2013 12:28:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37555) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9dvT-0003ma-Jz for help-gnu-emacs@gnu.org; Wed, 14 Aug 2013 12:28:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V9dvN-0005hd-Be for help-gnu-emacs@gnu.org; Wed, 14 Aug 2013 12:27:59 -0400 Original-Received: from mx0a-0016ce01.pphosted.com ([67.231.148.157]:7090) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9dvN-0005hI-3S for help-gnu-emacs@gnu.org; Wed, 14 Aug 2013 12:27:53 -0400 Original-Received: from pps.filterd (m0045602.ppops.net [127.0.0.1]) by mx0a-0016ce01.pphosted.com (8.14.5/8.14.5) with SMTP id r7EGPa9C011784; Wed, 14 Aug 2013 09:27:51 -0700 Original-Received: from avcashub1.qlogic.com (avcashub1.qlogic.com [198.70.193.115]) by mx0a-0016ce01.pphosted.com with ESMTP id 1e5gq9pt5m-1 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Wed, 14 Aug 2013 09:27:51 -0700 Original-Received: from AVMB3.qlogic.org ([fe80::689d:1159:4632:e0eb]) by avcashub1.qlogic.org ([::1]) with mapi id 14.02.0318.001; Wed, 14 Aug 2013 09:27:50 -0700 Thread-Topic: emacs verilog mode Thread-Index: Ac6YiGxiOSvzr5KiSBOOT2ubqYnJXwAXESiAAAjHViA= In-Reply-To: <20130814045203.GA14073@hysteria.proulx.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.1.4.10] X-Proofpoint-Virus-Version: vendor=nai engine=5400 definitions=7166 signatures=668602 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1305240000 definitions=main-1308140103 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x X-Received-From: 67.231.148.157 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:92889 Archived-At: 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 b= ehavior 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 i= n your startup file. (setq verilog-auto-indent-on-newline nil) If it is a different behavior then please say some more words about the pro= blem. 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 Cor= poration 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 n= otify the sender immediately by reply e-mail and then delete this message.