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 07:20:54 -0700 (PDT) [thread overview]
Message-ID: <9e7265c2-6bf4-49d3-85d3-0682d9f0c463@a6g2000vbp.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
Hi,
I've another question.
In my script i adjust my options :
(custom-set-variables
'(vhdl-upper-case-attributes t)
'(vhdl-upper-case-keywords t)
'(vhdl-upper-case-types t)
)
But some functions are don't take in account, like : falling_edge or
rising_edge. however they appear in the vhdl-mode.el file under
"defconst vhdl-02-functions"
So, my question is, how to uppercase these keywords too, because (vhdl-
upper-case-functions t) don't exist (or i don't see it).
Thanks
prev parent reply other threads:[~2009-10-07 14:20 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
2009-10-07 14:20 ` Beware [this message]
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=9e7265c2-6bf4-49d3-85d3-0682d9f0c463@a6g2000vbp.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.