all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mike Treseler <mike_treseler@comcast.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Custom indentation in Emacs Vhdl-mode
Date: Fri, 26 Jan 2007 09:54:31 -0800	[thread overview]
Message-ID: <51utinF1l6u40U1@mid.individual.net> (raw)
In-Reply-To: <1169822919.212235.9970@m58g2000cwm.googlegroups.com>

HS wrote:
> My approach is a little different... I have a vhdl file template that is
> inserted when I run "Insert header", and it already contains ieee
> clauses, entity and architecture pairs, etc.

>>> Mike Treseler wrote:
>>> (defun vhdl-ieee () "Insert ieee use clauses"
>>>  (interactive)
>>>  (insert "
>>> library ieee;
>>> use ieee.std_logic_1164.all;
>>> use ieee.numeric_std.all;
>>> "))

> On 26 jan, 11:17, Martin Thompson  wrote:
>> And add this:
>> (define-key vhdl-template-map "\C-pi" 'vhdl-ieee)
>> to add it to the VHDL-template keymappings, (so you do C-c C-t C-p i
>> to insert it).  Now I need to figure out how to get it onto the
>> menu...


Thanks to HS and Martin for the vhdl-mode tips.
Looks like emacs wins round one 3 to nil :)

          -- Mike Treseler

  parent reply	other threads:[~2007-01-26 17:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1168527687.560869.42360@k58g2000hse.googlegroups.com>
     [not found] ` <3k2fq2l3lgvcfe7t45o1binaef0872p5ok@4ax.com>
     [not found]   ` <50polbF1grf3jU1@mid.individual.net>
     [not found]     ` <1168621500.477449.295080@l53g2000cwa.googlegroups.com>
2007-01-12 17:51       ` Custom indentation in Emacs Vhdl-mode Mike Treseler
2007-01-12 17:58         ` haws
     [not found]     ` <51sfeuF1m0akrU1@mid.individual.net>
     [not found]       ` <uhcud3mad.fsf@trw.com>
     [not found]         ` <1169822919.212235.9970@m58g2000cwm.googlegroups.com>
2007-01-26 17:54           ` Mike Treseler [this message]
2007-01-11 15:01 haws

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=51utinF1l6u40U1@mid.individual.net \
    --to=mike_treseler@comcast.net \
    --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.