gnucobol-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [open-cobol-list] Anybody use emacs to code COBOL?


From: Duke Normandin
Subject: Re: [open-cobol-list] Anybody use emacs to code COBOL?
Date: Thu, 6 Aug 2009 09:45:01 -0600 (MDT)
User-agent: Alpine 2.00 (OSX 1167 2008-08-23)

On Thu, 6 Aug 2009, Ehud Karni wrote:

> On Wed, 5 Aug 2009 16:00:37 Duke Normandin wrote:
> >
> > Any major-mode recommendations?
>
> You can use my own cobol.el ( http://t-e-k.biz/els/cobol.el ).
> Just load it with (load-library "cobol.el").  It is very old, and not
> of much use (it used obsolete syntax highlighting that was removed).
> It has 2 useful commands: `parse-cobol-data' and `parse-cobol-proc',
> assign them to keys (I used Alt-D and Alt-P) and check it.  If you you
> want to add more setting you can use the 'cobol-mode-hook'.  On loading
> it associate files with .cbl / .eco / .cp* with the cobol mode.  You
> can add your own suffixes (look near the bottom of the cobol.el).

Much appreciated! I'll have a look...

> > Any other environment recommendation?
>
> I suggest to write a small script for compilation that will have all
> your defaults and have as it 1st argument the source name to compile.
>
> Ehud.

Cool! I read in one of the COBOL tutorials that I scooped of the 'net,
about using a `make' with an appropriate Makefile, to do as you suggest.
-- 
Duke
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]