unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Ken Goldman <kgoldman@us.ibm.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Disabling VHDL template
Date: Wed, 09 Jan 2013 16:33:41 -0500	[thread overview]
Message-ID: <kcknni$td9$1@ger.gmane.org> (raw)
In-Reply-To: <web-155230657@redback.webnames.ca>

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.









  reply	other threads:[~2013-01-09 21:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-09 19:13 Disabling VHDL template ryan
2013-01-09 21:33 ` Ken Goldman [this message]
2013-01-09 23:14 ` Peter Dyballa
     [not found] <mailman.17008.1357759481.855.help-gnu-emacs@gnu.org>
2013-01-09 22:49 ` Peter

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='kcknni$td9$1@ger.gmane.org' \
    --to=kgoldman@us.ibm.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).