help-octave
[Top][All Lists]
Advanced

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

Re: New development for emacs's octave-mode


From: Leo Liu
Subject: Re: New development for emacs's octave-mode
Date: Fri, 03 May 2013 07:12:09 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (OS X 10.8.3)

On 2013-05-02 08:45 +0800, c. wrote:
[snipped 32 lines]
> try automatic indentation on this code:
>
> if (true)
> a = (1 \(2-3)); 
> else
> a = 0;
> endif
>
> it seems the sequence '\(' is misinterpreted and I get the result in
> the attachment.

Should be fixed. Please update your octave.el.

On 2013-05-02 19:44 +0800, Olaf Till wrote:
[snipped 9 lines]
> Hi Leo,
>
> I'v just seen that it doesn't always work:
>
> a(1, end) -> 'end' not highlighted
>
> a(1, [1, end]) -> 'end' highlighted (always if 'end' is within [])
>
> I know nothing of emacs mode programming, so perhaps a stupid thought,
> but since in indentation it seems to be always correctly recognized if
> 'end' is _not_ part of an index expression, can't this information be
> used for highlighting?
>
> BTW I don't know if its better to highlight 'end' within index
> expressions or not.
>
> a = 'abc' -> highlighted as string
>
> 'abc' -> not highlighted
>
> "abc" -> highlighted as string
>
> Olaf

Hopefully all these issues are resolved. Please update octave.el.

Leo



reply via email to

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