Dear all,

in Julia, blocks of code are delimited by pairs of keywords such as 
module/end, function/end, for/end, quote/end etc.  Sometimes I get the 
pairings between the opening and closing keyword wrong, which leads to at 
least syntax errors, but sometimes other hard to catch errors. 
It would be useful to be able to find at a glance very quickly, where each 
block starts and ends. Emacs already seems to understand Julia syntax, 
 when I do 'indent-region', the results are usually correct. However, in 
longer functions, I still need to verify manually, if what I think is the 
beginning of the block is at the same indentation level as the closing 
'end'. What I would like is something like the 'rainbow-mode', which colors 
parentheses (but only parentheses) with matching colors, which is very 
useful for Lisp-like languages. I also liked the idea of the 'smartparens' 
package, which highlights the matching keyword delimiter if you put a 
cursor over the other one - it however seems to be confused by 'end' being 
a universal closing keyword, so it just finds the first 'end', even if it 
is not on the right level.

Would you have any other suggestions, what other Emacs package I could use 
to get the desired effect?

Thanks,

Jan

Reply via email to