all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stig Sandbeck Mathisen <ssm@fnord.no>
To: Sergey Poznyakoff <gray@gnu.org.ua>
Cc: Steve Purcell <steve@sanityinc.com>,
	Stig Sandbeck Mathisen <ssm@fnord.no>,
	emacs-devel@gnu.org
Subject: Re: [gmane.emacs.devel] Re: [ELPA] New package: vcl-mode
Date: Thu, 29 Nov 2018 09:28:24 +0100	[thread overview]
Message-ID: <878t1c2spj.fsf@fnord.no> (raw)
In-Reply-To: <20181129095026.8236@ulysses.gnu.org.ua> (sfid-20181129_075034_439289_F494CEA3) (Sergey Poznyakoff's message of "Thu, 29 Nov 2018 09:50:26 +0200")

Sergey Poznyakoff <gray@gnu.org.ua> writes:

> Stig's vcl-mode was written for VCL 2.0. It was last modified in
> November, 2012. Since then the language has changed quite
> considerably, especially with transition from v3.0 to v4.0.
>
> The proposed vcl-mode.el was written from scratch. It supports VCL
> 4.0, which is the version of the language used by the recent Varnish
> releases. In fact, I've been using it since 2015 in my work, before
> finally deciding to submit it.
>
> Technically. it differs from Stig's version in that it delegates
> indentation tasks to c-mode, instead of calculating indentation
> directly. The syntax table was designed to closely match the
> language. Finally, special parenthesis-matching function is provided,
> which takes into account the VCL-specific {" ... "} multi-line string
> delimiters.
>
>> The name conflict between the two packages could be a source of
>> problems if both packages keep on living their own life.
>
> Yes, indeed. This can be solved by naming my version vcl4-mode.el.
> However, this can become misleading in the long run, e.g. if/when VCL
> 5 appears, since I'm going to keep the mode in synch with any changes
> in the language.

As Sergey writes, my "vcl-mode.el" from
https://github.com/ssm/elisp/blob/master/vcl-mode.el is out of date with
regards to the current VCL specification in Varnish, and indeed also
several past ones.  I do not intend to spend much more time on it.

I recommend that you use the much more modern "vcl-mode.el" from
http://git.gnu.org.ua/cgit/vcl-mode.git/tree/vcl-mode.el

-- 
Regards,
Stig Sandbeck Mathisen



      parent reply	other threads:[~2018-11-29  8:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-29  7:50 [gmane.emacs.devel] Re: [ELPA] New package: vcl-mode Sergey Poznyakoff
2018-11-29  8:13 ` Eli Zaretskii
2018-11-29 15:30   ` Stefan Monnier
2018-11-29  8:28 ` Stig Sandbeck Mathisen [this message]

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=878t1c2spj.fsf@fnord.no \
    --to=ssm@fnord.no \
    --cc=emacs-devel@gnu.org \
    --cc=gray@gnu.org.ua \
    --cc=steve@sanityinc.com \
    /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.