From: taylanbayirli@gmail.com (Taylan Ulrich Bayırlı/Kammer)
To: Artur Malabarba <bruce.connor.am@gmail.com>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: [PATCH] Add json-sexp-mode.
Date: Sat, 17 Oct 2015 20:10:06 +0200 [thread overview]
Message-ID: <8737x9wem9.fsf@T420.taylan> (raw)
In-Reply-To: <CAAdUY-+9a5XzMK=-wKLH4LDtF_zkWvi-Xc67eXUbYnM_Bfp1Wg@mail.gmail.com> (Artur Malabarba's message of "Sat, 17 Oct 2015 18:19:09 +0100")
Artur Malabarba <bruce.connor.am@gmail.com> writes:
>> +;; 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.
json.el yields Elisp s-expressions though. The closest approximation to
an "Elisp s-expression editing mode" is emacs-lisp-mode.
Taylan
next prev parent reply other threads:[~2015-10-17 18:10 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-17 16:27 [PATCH] Add json-sexp-mode Taylan Ulrich Bayırlı/Kammer
2015-10-17 17:19 ` Artur Malabarba
2015-10-17 18:10 ` Taylan Ulrich Bayırlı/Kammer [this message]
2015-10-17 21:47 ` Artur Malabarba
2015-10-17 22:08 ` Taylan Ulrich Bayırlı/Kammer
2015-10-19 12:36 ` Taylan Ulrich Bayırlı/Kammer
2015-10-19 13:02 ` Artur Malabarba
2015-10-19 17:09 ` Taylan Ulrich Bayırlı/Kammer
2015-10-19 18:48 ` Artur Malabarba
2015-10-19 19:59 ` Taylan Ulrich Bayırlı/Kammer
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=8737x9wem9.fsf@T420.taylan \
--to=taylanbayirli@gmail.com \
--cc=bruce.connor.am@gmail.com \
--cc=emacs-devel@gnu.org \
/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.