[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ELPA] New package: cobol-mode
From: |
Stefan Monnier |
Subject: |
Re: [ELPA] New package: cobol-mode |
Date: |
Sat, 14 Jan 2017 12:53:04 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
> I'd like to submit cobol-mode.el, a major mode for COBOL, everyone's
> favourite legacy programming language. It features syntax highlighting for
> most modern COBOL dialects, indentation, code skeletons, rulers and basic
> formatting functions. It works with both fixed and free source format code.
> It is currently hosted at
> https://gist.github.com/Edward-H/6768e7dc53ea3dd2adca.
I pushed it to elpa.git along with a few tweaks (you hopefully
received the corresponding commit-diffs). I had to add a whole bunch of
`eval-and-compile` to get the code to compile (because
`syntax-propertize-rules` needs to compute the regexps during
macro-expansion, and hence during compilation), and I'm pretty sure the
result is not really correct, since some of those eval-and-compile are
around defcustoms, which means that the code is compiled using
a specific value of those defcustoms and won't be re-compiled to
accommodate the user's later preferences.
Please take a look at it (as well as a few other FIXMEs I've added such
as one for `in-string-p` which doesn't exist (well there's one defined
in thingatpt.el but you don't require that package)). Feel free to ask
further questions to solve those problems,
Stefan