[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: automate Emacs beautifyer ?
From: |
Kai Grossjohann |
Subject: |
Re: automate Emacs beautifyer ? |
Date: |
Sat, 28 Aug 2004 12:58:56 +0200 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) |
Bert Cuzeau <_no_spa_m_info_no_underscore_@alse-fr___.com> writes:
> Under Windows (or Unix), is there a way to automate Emacs doing
> only :
> - open file
> - VHDL - beautify - Buffer (C-c C-b)
> - save file
> - exit
My suggestion is to use dired and kbd macros. Use M-x find-dired RET
to get a list of all VHDL files under a directory. Then start
recording kbd macros with C-x (, then beautify the first file
manually, then move point to the next file in the dired buffer, then
end the kbd macro with C-x ).
>From dired, you can use RET to open the file in the current line.
Then you do the C-c C-b thing, then C-x C-s, then C-x k RET. Then you
should be back in the dired buffer, where n takes you to the next
line.
This is a general method that is often useful.
Kai
Re: automate Emacs beautifyer ?, Kevin Rodgers, 2004/08/24
Re: automate Emacs beautifyer ?, Kevin Rodgers, 2004/08/26
Re: automate Emacs beautifyer ?,
Kai Grossjohann <=