unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* JSON mode
@ 2015-10-18 10:27 Simen Heggestøyl
  2015-10-18 12:22 ` Artur Malabarba
  2015-10-18 12:30 ` Dmitry Gutov
  0 siblings, 2 replies; 20+ messages in thread
From: Simen Heggestøyl @ 2015-10-18 10:27 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 973 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1388 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2016-12-13 10:14 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-18 10:27 JSON mode Simen Heggestøyl
2015-10-18 12:22 ` Artur Malabarba
2015-10-18 12:30 ` Dmitry Gutov
2015-10-18 14:08   ` Simen Heggestøyl
2015-10-18 15:32     ` Dmitry Gutov
2015-10-29  3:47   ` Josh Johnston
2015-10-29 13:09     ` Dmitry Gutov
2015-11-12 20:01       ` Simen Heggestøyl
2015-11-12 22:05         ` John Wiegley
2015-11-12 23:24         ` Dmitry Gutov
2015-11-13  0:54           ` Artur Malabarba
2015-11-14 10:40         ` Stephen Leake
2015-11-14 11:14           ` Simen Heggestøyl
2016-12-11 14:58             ` Simen Heggestøyl
2016-12-12  6:08               ` John Wiegley
2016-12-12 13:39               ` Clément Pit--Claudel
2016-12-12 20:38                 ` Simen Heggestøyl
2016-12-12 22:27                   ` Clément Pit--Claudel
2016-12-12 23:05                     ` Josh Johnston
2016-12-13 10:14                     ` Nicolas Petton

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).