all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Beware <mathieu.hedard@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Use emacs function (beautify) in emacs script
Date: Wed, 7 Oct 2009 02:42:02 -0700 (PDT)	[thread overview]
Message-ID: <ccf8cf29-494a-4204-a67c-1a042e07c4c9@p9g2000vbl.googlegroups.com> (raw)
In-Reply-To: 388cd55d-b86b-4f3a-886c-c05ae4d032ce@q40g2000prh.googlegroups.com

On 7 oct, 10:43, mdj <mdj....@gmail.com> wrote:
> On Oct 7, 6:04 pm, Beware <mathieu.hed...@gmail.com> wrote:
>
> > Hi all,
>
> > I used a simply script to auto indent my VHDL code files. But in emacs
> > there is a function which set all VHDL keywords in uppercase  with
> > beautify function in VHDL mode menu.
>
> > So i would to use this function in my script but i don't know how.
>
> > If someone can help me, i very appreciate.
>
> From the VHDL mode help (which you can read yourself if you open a
> buffer in VHDL mode with C-h m):
>
>  CODE BEAUTIFICATION:
>     `C-c M-b' and `C-c C-b' beautify the code of a region or of the
> entire
>     buffer respectively.  This inludes indentation, alignment, and
> case
>     fixing.  Code beautification can also be run non-interactively
> using the
>     command:
>
>       emacs -batch -l ~/.emacs filename.vhd -f vhdl-beautify-buffer
>
> Matt

Thanks for your answer
Its work perfectly for now.

thank you


  reply	other threads:[~2009-10-07  9:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-07  8:04 Use emacs function (beautify) in emacs script Beware
2009-10-07  8:43 ` mdj
2009-10-07  9:42   ` Beware [this message]
2009-10-07 14:20   ` Beware

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=ccf8cf29-494a-4204-a67c-1a042e07c4c9@p9g2000vbl.googlegroups.com \
    --to=mathieu.hedard@gmail.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.