unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Alan Mackenzie<none@example.invalid>
Subject: Re: awk-scripting
Date: Thu, 19 Jun 2003 22:40:57 +0000	[thread overview]
Message-ID: <p5etcb.ku.ln@acm.acm> (raw)
In-Reply-To: 5lllvx99c7.fsf@rum.cs.yale.edu

Stefan Monnier <monnier+gnu.emacs.help/news/@flint.cs.yale.edu> wrote on
19 Jun 2003 15:05:28 -0400:
>> Is there anybody being able to tell me what I am doing wrong?

> Nothing, it's just not implemented in your version of Emacs.
> There is some indentation support but it's seriously broken (it think
> that awk is just like C, so it works a little better if you make
> your awk code look like C by placing semi-colons at end of commands).

> The Emacs-CVS code has improved support for awk-mode right now
> and the soon-to-be-merged CC-mode-5.30 will provide a complete
> rewrite of awk-mode with proper indentation support.

CC-Mode-5.30 was released this afternoon.  It does indeed contain proper
indentation support for AWK, but requires a reasonably recent Emacs,
either Emacs 20.1 (or later) [or XEmacs 21.4 (or later)].  Font locking
is implemented, and is switched on just like for any other mode.

CC-Mode-5.30 is available as a tarball from
<http://cc-mode.sourceforge.net/release.php>.

And _PLEASE_ read the file README on how to get the new awk-mode properly
installed in place of the old.

[And just in case anybody's wondering, Dr. Jurzitza's post was genuine.
His timing was purely coincidental.  :-]

>         Stefan

-- 
Alan Mackenzie (Munich, Germany)
Email: aacm@muuc.dee; to decode, wherever there is a repeated letter
(like "aa"), remove half of them (leaving, say, "a").

  reply	other threads:[~2003-06-19 22:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.8271.1056047486.21513.help-gnu-emacs@gnu.org>
2003-06-19 19:05 ` awk-scripting Stefan Monnier
2003-06-19 22:40   ` Alan Mackenzie [this message]
2003-06-20  6:50     ` awk-scripting Dr. Ing. Dieter Jurzitza
2003-06-20 12:02   ` awk-scripting Dr. Ing. Dieter Jurzitza
2003-06-19 18:16 awk-scripting Dr. Ing. Dieter Jurzitza

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=p5etcb.ku.ln@acm.acm \
    --to=none@example.invalid \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).