emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Babel language support for Mathematica


From: Yi Wang
Subject: Re: [O] Babel language support for Mathematica
Date: Thu, 9 Jan 2014 11:03:24 +0000

> I don't think so, you may just have to check that the mode defined in
> mma.el is automatically boundled with .m files -- which is not the case
> with a default Emacs installation, where .m files are open with
> objc-mode.

I already have this line in my configuration file:

(add-to-list 'auto-mode-alist '("\\.m\\'" . mma-mode))

Now I have

(1) If I open a .m file, there is font lock. Thus the problem shouldn't be binding between mma.el and .m files.
(2) If I insert a src block of C or python code in org mode, there is font lock. Thus the problem shouldn't be org-src-fontify-natively (and I checked it is indeed t).

This is why I am confused. Actually I don't badly need this feature. Just it would be a little better to have things work properly.

Best,
Yi


On Thu, Jan 9, 2014 at 10:55 AM, Bastien <address@hidden> wrote:
Yi Wang <address@hidden> writes:

> Yes, I already set this. But curiously the Mathematica code is still
> not highlighted like other codes. I wonder there may be some
> non-standard things inside mma.el (the Mathematica package file major
> mode) then?

I don't think so, you may just have to check that the mode defined in
mma.el is automatically boundled with .m files -- which is not the case
with a default Emacs installation, where .m files are open with
objc-mode.

--
 Bastien


reply via email to

[Prev in Thread] Current Thread [Next in Thread]