emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Add json-sexp-mode.


From: Artur Malabarba
Subject: Re: [PATCH] Add json-sexp-mode.
Date: Sat, 17 Oct 2015 18:19:09 +0100

> +;; Note that `json-sexp-mode' inherits from `emacs-lisp-mode' since it's for
> +;; editing JSON data as Elisp s-expressions.

It might be more appropriate to inherit from lisp-mode, which is parent to emacs-lisp-mode. It should still provide all of the syntax definitions you need without carrying a lot of key binds that don't make sense for your mode (like eval-defun or eval-last-sexp).

I'm not sure which version of emacs added this mode, so you might have to add a dependency on emacs 24.3 or something like that.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]