[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Comments in emacs
From: |
novakyu |
Subject: |
Re: Comments in emacs |
Date: |
Thu, 27 Dec 2007 20:12:18 -0800 |
I don't know if this is helpful or not ... but it seemed like emacs'
octave-mode recognized only "#" for beginning comments. I think when
you type "%", emacs doesn't think it's a comment (probably an operator
or something).
GNU Octave can handle .m files using "#" for comments, but I don't
think Matlab can, if Matlab compatibility matters to you.
Since Matlab compatibility was important to me, I just ended up
editing my .m files in fundamental-mode, since I didn't really need
any of automatic indenting features for .m files (although the lack of
keyword highlighting is somewhat missed ...).
Regards,
Andrzej
On Dec 27, 2007 7:12 PM, Olivier Lefevre <address@hidden> wrote:
> I am editing m files in emacs, in the Octave mode. Whenever
> After I start a comment line with a %, the moment I insert
> a blank space emacs insists on positioning the % at col 32!
> This is extremely annoying behaviour and a strong disincentive
> to writing comments. Would anyone know how to make that stop?
> I had a look at octave-mod.el but nothing struck me.
>
> Thanks,
>
> -- O.L.
>
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www.cae.wisc.edu/mailman/listinfo/help-octave
>
--
UC Berkeley Physics Department
275 Birge Hall
Berkeley CA 94720-7300
(510) 642-2207
- Comments in emacs, Olivier Lefevre, 2007/12/27
- Re: Comments in emacs,
novakyu <=
- Re: Comments in emacs, Olivier Lefevre, 2007/12/27
- Re: Comments in emacs, Jordi Gutiérrez Hermoso, 2007/12/28
- Re: Comments in emacs, Olivier Lefevre, 2007/12/28
- Re: Comments in emacs, Jordi Gutiérrez Hermoso, 2007/12/28
- Re: Comments in emacs, Olivier Lefevre, 2007/12/28
- String in emacs octave mode. Was: Comments in emacs, Peter A. Gustafson, 2007/12/29
- Re: String in emacs octave mode. Was: Comments in emacs, Jordi Gutiérrez Hermoso, 2007/12/29
Re: Comments in emacs, Peter A. Gustafson, 2007/12/28