From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kyle Meyer Subject: Re: set modes for org-edit-special (elisp block) Date: Mon, 25 Jan 2016 10:11:18 -0500 Message-ID: <8737tl7kyx.fsf@kyleam.com> References: <87r3h74kf2.fsf@jupiter.lan> <8760yjpmnl.fsf@kyleam.com> <87lh7e5190.fsf@jupiter.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55000) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNio6-0005De-BT for emacs-orgmode@gnu.org; Mon, 25 Jan 2016 10:11:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aNio3-00050T-5d for emacs-orgmode@gnu.org; Mon, 25 Jan 2016 10:11:54 -0500 Received: from pb-smtp0.int.icgroup.com ([208.72.237.35]:55756 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNio2-000502-U9 for emacs-orgmode@gnu.org; Mon, 25 Jan 2016 10:11:51 -0500 In-Reply-To: (Alan Schmitt's message of "Mon, 25 Jan 2016 14:05:50 +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: Alan Schmitt Cc: emacs-orgmode@gnu.org, Stefan Huchler Alan Schmitt writes: > On 2016-01-24 18:35, Stefan Huchler writes: > >> Kyle Meyer writes: >> >>> >>> 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) >> >> I changed it a few times and I think I had it this way first, do I have >> to reload org after it? I closed the file and reopened it did not help. > > Shouldn=E2=80=99t it be "xah-elisp" (the mode is "xah-elisp-mode"). I gav= e it > a try and it=E2=80=99s also not working out of the box for me. I also res= tarted > emacs, to no avail. Right, sorry. It should be whatever the mode name is, minus "-mode". Is it just xah-elisp-mode that is giving you a problem? Did you try with the example I gave in my previous message ($gmane/104430)? --=20 Kyle