From: Alan Schmitt <alan.schmitt@polytechnique.org>
To: Kyle Meyer <kyle@kyleam.com>
Cc: emacs-orgmode@gnu.org, Stefan Huchler <stefan.huchler@mail.de>
Subject: Re: set modes for org-edit-special (elisp block)
Date: Mon, 25 Jan 2016 16:45:20 +0100 [thread overview]
Message-ID: <m2oac9irxr.fsf@charm-ecran.irisa.fr> (raw)
In-Reply-To: <8737tl7kyx.fsf@kyleam.com> (Kyle Meyer's message of "Mon, 25 Jan 2016 10:11:18 -0500")
[-- Attachment #1: Type: text/plain, Size: 1485 bytes --]
On 2016-01-25 10:11, Kyle Meyer <kyle@kyleam.com> writes:
> Alan Schmitt <alan.schmitt@polytechnique.org> writes:
>
>> On 2016-01-24 18:35, Stefan Huchler <stefan.huchler@mail.de> writes:
>>
>>> Kyle Meyer <kyle@kyleam.com> 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’t it be "xah-elisp" (the mode is "xah-elisp-mode"). I gave it
>> a try and it’s also not working out of the box for me. I also restarted
>> 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’m having the same problem with python: I’m 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’s not the first one that is
picked up?
I’m using a fairly current org (compiled last week from master).
Alan
--
OpenPGP Key ID : 040D0A3B4ED2E5C7
Athmospheric CO₂ (Updated January 24, 2016, Mauna Loa Obs.): 402.49 ppm
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 472 bytes --]
next prev parent reply other threads:[~2016-01-25 15:45 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-24 5:26 set modes for org-edit-special (elisp block) Stefan Huchler
2016-01-24 5:33 ` Kyle Meyer
2016-01-24 17:35 ` Stefan Huchler
2016-01-24 17:50 ` Kyle Meyer
2016-01-25 13:05 ` Alan Schmitt
2016-01-25 15:11 ` Kyle Meyer
2016-01-25 15:45 ` Alan Schmitt [this message]
2016-01-25 17:32 ` Kyle Meyer
2016-01-25 17:37 ` Nick Dokos
2016-01-26 10:23 ` Alan Schmitt
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=m2oac9irxr.fsf@charm-ecran.irisa.fr \
--to=alan.schmitt@polytechnique.org \
--cc=emacs-orgmode@gnu.org \
--cc=kyle@kyleam.com \
--cc=stefan.huchler@mail.de \
/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.