[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: JSON mode
From: |
Artur Malabarba |
Subject: |
Re: JSON mode |
Date: |
Sun, 18 Oct 2015 13:22:44 +0100 |
Sounds reasonable to me.
On 18 Oct 2015 11:27 am, "Simen Heggestøyl" <address@hidden> wrote:
>
> Hi!
>
> With the newly introduced json-sexp-mode, I was reminded of a JSON
> editing mode that I started toying with some time ago, and have been
> using privately.
>
> It arose from my frustration of Emacs having _javascript_ mode as the
> JSON editing mode, making it more difficult than necessary to have
> separate settings for editing _javascript_ and JSON.
>
> The code can be found at: http://folk.uio.no/simenheg/json-mode.el.
>
> Compared to using the built-in _javascript_ mode, the dedicated JSON
> mode offers the following advantages:
>
> - A separate mode hook and namespace, providing for instance
> `json-mode-indent-offset'.
>
> - SMIE based movement and indentation.
>
> - Key bindings and a menu entry for prettifying JSON data.
>
> - Separate highlighting of JSON keywords, object names and values.
>
> If you agree with me that Emacs should have a dedicated mode for
> editing JSON, I'll be happy to help integrating it (be it this mode,
> or another one, if it proves insufficient).
>
> -- Simen
- JSON mode, Simen Heggestøyl, 2015/10/18
- Re: JSON mode,
Artur Malabarba <=
- Re: JSON mode, Dmitry Gutov, 2015/10/18