From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: set modes for org-edit-special (elisp block) Date: Mon, 25 Jan 2016 16:45:20 +0100 Message-ID: References: <87r3h74kf2.fsf@jupiter.lan> <8760yjpmnl.fsf@kyleam.com> <87lh7e5190.fsf@jupiter.lan> <8737tl7kyx.fsf@kyleam.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39923) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNjKT-0007YB-IS for emacs-orgmode@gnu.org; Mon, 25 Jan 2016 10:45:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aNjKP-0005iL-Go for emacs-orgmode@gnu.org; Mon, 25 Jan 2016 10:45:21 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:43404) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNjKP-0005ho-Au for emacs-orgmode@gnu.org; Mon, 25 Jan 2016 10:45:17 -0500 In-Reply-To: <8737tl7kyx.fsf@kyleam.com> (Kyle Meyer's message of "Mon, 25 Jan 2016 10:11:18 -0500") 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: Kyle Meyer Cc: emacs-orgmode@gnu.org, Stefan Huchler --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2016-01-25 10:11, Kyle Meyer writes: > 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 ga= ve it >> a try and it=E2=80=99s also not working out of the box for me. I also re= started >> 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)? I=E2=80=99m having the same problem with python: I=E2=80=99m still in emacs= -lisp mode. I checked the value of the variable and it is as expected. For some reason the change is not picked up. Is it because there are several occurrences of "elisp" in the list and it=E2=80=99s not the first one that = is picked up? I=E2=80=99m using a fairly current org (compiled last week from master). Alan =2D-=20 OpenPGP Key ID : 040D0A3B4ED2E5C7 Athmospheric CO=E2=82=82 (Updated January 24, 2016, Mauna Loa Obs.): 402.49= ppm --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBCgAGBQJWpkMQAAoJEAQNCjtO0uXHmRgH/0a/3kOZzRbfNHKCrX13Tk8s OXJp9XCJjNGuQYPbNKrVDa8MN+LYZd22vC7FR39vfmETJOrvtAq/zx5ylzDciZLc n4op/UC9gWSUCjwPQr0XpD0E0bB7M+bLn3nn0wnOsVXqGVa0Nk2VvMthOkyyybm6 6KpOx8M7O5SHQGF+538YXkQSlh04FN3iMoI3Z/jkkZQR7Gw1yWDPYmz7ZtyiuvLg 5KxzdM0nfyzvtxvpMxww/yxnDss7V/jVLPK7l0C6Ncugv2+NRkWOIQIYoVEwxpmD IHKxmg+jQbZvCxMQXkqZ228yFnv92BFgn+VgwiOBmSC6AFeR5H/LTHq6m5kJrFc= =AwTB -----END PGP SIGNATURE----- --=-=-=--