all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg <moasen@zoho.com>
To: help-gnu-emacs@gnu.org
Subject: Cobol
Date: Fri, 11 Aug 2017 01:47:40 +0200	[thread overview]
Message-ID: <86bmnnt277.fsf@zoho.com> (raw)

After getting a book, "COBOL from Pascal" [1]
I've started with Pascal, I mean Cobol, which
is almost as old as Lisp. COBOL is from 1959
while the original LISP is from 1958, with
CL and Elisp more recent editions from the
mid-80s.

However despite being almost exactly as old,
Lisp is timeless whereas Cobol really shows its
age, and everything about it seems really old.

The best way to learn a new language is
1) get a book and 2) get an Emacs mode.

Step 2 offered somewhat of a surprise as there
is no built in Emacs mode for Cobol! The is
a mode in the ELPA which is called
cobol-mode.el. (Actually, it is the only hit
I get for "cobol" in both ELPA and MELPA!)

Here is what the package tells us, first paragraph:

    This file should not be confused with
    Rick Bielawski's cobol-mode.el
    (http://www.emacswiki.org/emacs/cobol-mode.el),
    which this mode attempts to supersede.

That's generous, but it sounds like
Mr. Bielawski's mode is more developed and/or
used. This is not an uncommon thing.
For example, there is a built-in web browser in
vanilla Emacs, the `eww', however the
Japanese-made 3rd-party Emacs w3m browser is at
this stage another caliber of software.

To add to the confusion, in the Emacs Wiki, on
the Cobol mode [2], it says

    The most recent cobol-mode is now available
    on ELPA and is the most up-to-date and
    featureful of the available cobol-modes.

So what mode should one use? I'm trying out
both right now... (and it is irritating they
are both called the same)

And if the ELPA mode really is better, why not
include it in vanilla Emacs since it is just
one file of 81K?

Programming modes should always be included,
one would think.

[1] @book{cobol-from-pascal,
      author     = {A. J. Tyrrell},
      ISBN       = {978-0-333-48303-9},
      publisher  = {Macmillan},
      title      = {COBOL from Pascal},
      year       = 1989
    }

[2] https://www.emacswiki.org/emacs/CobolMode

-- 
underground experts united
http://user.it.uu.se/~embe8573




                 reply	other threads:[~2017-08-10 23:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=86bmnnt277.fsf@zoho.com \
    --to=moasen@zoho.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.