From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Goldman Newsgroups: gmane.emacs.help Subject: Re: Disabling VHDL template Date: Wed, 09 Jan 2013 16:33:41 -0500 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1357767246 30371 80.91.229.3 (9 Jan 2013 21:34:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Jan 2013 21:34:06 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 09 22:34:23 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 1Tt3Hz-0002fA-2P for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Jan 2013 22:34:23 +0100 Original-Received: from localhost ([::1]:50790 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tt3Hj-0003cZ-Bx for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Jan 2013 16:34:07 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:60878) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tt3Ha-0003cN-Pf for help-gnu-emacs@gnu.org; Wed, 09 Jan 2013 16:34:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tt3HY-00060E-Qz for help-gnu-emacs@gnu.org; Wed, 09 Jan 2013 16:33:58 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:34987) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tt3HY-0005zu-Gp for help-gnu-emacs@gnu.org; Wed, 09 Jan 2013 16:33:56 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Tt3Hj-0002Lz-8D for help-gnu-emacs@gnu.org; Wed, 09 Jan 2013 22:34:07 +0100 Original-Received: from yktgi01e0-s4.watson.ibm.com ([129.34.20.23]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Jan 2013 22:34:07 +0100 Original-Received: from kgoldman by yktgi01e0-s4.watson.ibm.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Jan 2013 22:34:07 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 34 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: yktgi01e0-s4.watson.ibm.com User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/17.0 Thunderbird/17.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:88538 Archived-At: On 1/9/2013 2:13 PM, ryan wrote: > Hello, > > I just installed ghdl on my centos machine, and I am trying to use > emacs to write vhdl. However, every time I use a key word like 'use' > or 'entity' emacs goes into some kind of template mode. I did some > reading on the emacs FAQ, and figured I should be able to disable it > by removing some lines in the .emacs file. However, the only .emacs > file i can find is in root's directory, and it doesn't seem to > contain anything related to templates (it is almost bare). I can't > find anything else on Google either, so I am pretty lost at this > point. > > Can anyone point me in the right direction for disabling the vhdl > templates? My guess is that there's some global file in the emacs tree that sets files with the .vhdl extension to a vhdl mode. The Linux install is often in /usr/share/emacs. Alternatively, perhaps you can override it. Something like (untested): (setq auto-mode-alist (append '( ("\\.vhdl$" . fundamental-mode) ) auto-mode-alist)) But, I have to say, I found vhdl mode to be a real time saver.