all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Julien Danjou <julien@danjou.info>
To: Lennart Borgman <lennart.borgman@gmail.com>
Cc: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: .json files - should they be associated with som Emacs mode by default?
Date: Fri, 13 Jan 2012 14:32:58 +0100	[thread overview]
Message-ID: <874nvzybg5.fsf@zelenka.enovance.com> (raw)
In-Reply-To: <CANbX366UUpD8-NkTxxj1OHXstNH_Ey_hfPdvm8Xu6e7hcZEdjQ@mail.gmail.com> (Lennart Borgman's message of "Fri, 13 Jan 2012 12:25:08 +0100")

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

On Fri, Jan 13 2012, Lennart Borgman wrote:

> Maybe this is already done in Emacs 24?

Yes, see `auto-mode-alist':

     ("\\.json\\'" . js-mode)

-- 
Julien Danjou

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

  reply	other threads:[~2012-01-13 13:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-13 11:25 .json files - should they be associated with som Emacs mode by default? Lennart Borgman
2012-01-13 13:32 ` Julien Danjou [this message]
2012-01-13 15:25   ` Lennart Borgman
2012-01-13 21:33 ` Tekk
2012-01-14  0:10   ` David De La Harpe Golden

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=874nvzybg5.fsf@zelenka.enovance.com \
    --to=julien@danjou.info \
    --cc=emacs-devel@gnu.org \
    --cc=lennart.borgman@gmail.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.