From: mdj <mdj.mdj@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Use emacs function (beautify) in emacs script
Date: Wed, 7 Oct 2009 01:43:34 -0700 (PDT) [thread overview]
Message-ID: <388cd55d-b86b-4f3a-886c-c05ae4d032ce@q40g2000prh.googlegroups.com> (raw)
In-Reply-To: fa56f3c5-9f3d-4c45-9c9b-d45c85438b90@e34g2000vbm.googlegroups.com
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
next prev parent reply other threads:[~2009-10-07 8:43 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 [this message]
2009-10-07 9:42 ` Beware
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=388cd55d-b86b-4f3a-886c-c05ae4d032ce@q40g2000prh.googlegroups.com \
--to=mdj.mdj@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.