Brian Drummond wrote:
> On 11 Jan 2007 07:01:27 -0800, "Hugo" <[email protected]> wrote:
>
>> Hello!
>> I hope some emacs guru can give me a tip on this 
>> My organization requires that the following indentation is used in this
>> particular section of the code:
>>
>> library ieee;
>> use ieee.std_logic_1164.all;
>> use ieee.std_logic_unsigned.all;
>> use ieee.std_logic_arith.all;
>>
>> Can I customize vhdl-mode to beautify like that to me?
>
> This is the obvious place for a script to delete the last two lines and
> replace them with " use ieee.numeric_std;"
That's a positive twist for the editor wars.
While a macro to do a complete synopsys2numeric
is intractable, one to simply start on the
right foot by inserting
library ieee;
use ieee.std_logic_1164.all;
use ieee.numeric_std.all;
should not be difficult, and might
make for more interesting questions here.
I'll do such an emacs function
and will collect and post
any email contributions I get
in the next week for your favorite editor.
-- Mike Treseler