From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kyle Meyer Subject: Re: set modes for org-edit-special (elisp block) Date: Sun, 24 Jan 2016 00:33:02 -0500 Message-ID: <8760yjpmnl.fsf@kyleam.com> References: <87r3h74kf2.fsf@jupiter.lan> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60156) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNDIZ-0000H2-U9 for emacs-orgmode@gnu.org; Sun, 24 Jan 2016 00:33:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aNDIW-0000pK-M2 for emacs-orgmode@gnu.org; Sun, 24 Jan 2016 00:33:15 -0500 Received: from pb-smtp0.int.icgroup.com ([208.72.237.35]:54837 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNDIW-0000oW-Ff for emacs-orgmode@gnu.org; Sun, 24 Jan 2016 00:33:12 -0500 In-Reply-To: <87r3h74kf2.fsf@jupiter.lan> (Stefan Huchler's message of "Sun, 24 Jan 2016 06:26:57 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Stefan Huchler Cc: emacs-orgmode@gnu.org Hello, Stefan Huchler writes: > Hi, > > org-edit-special opens elisp code with emacs-lisp mode, which is not > bad, but I wanted to try out xah-elisp-mode for am while. > > tried to overwrite or shadow the settings with something like > > (add-to-list 'org-src-lang-modes '("xah-elisp" . emacs-lisp)) > > am I here at the right place to change that behaviour? Looks like you've got the right variable, but the key should be the language name and the value should be major mode you want. ("elisp" . xah-emacs-lisp) -- Kyle