Re: [Bug-apl] APL code indentation

2014-05-27 Thread Elias Mårtenson
I'd like to follow up a little on my previous email. The documentation for 'tab-always-indent' says this: *This variable can be used to customize the behavior of the (indent-for-tab-command) command. If the value is t (the default), the command normally just indents the current line. If the value

Re: [Bug-apl] APL code indentation

2014-05-27 Thread Elias Mårtenson
You can use both. Just map TAM to normal tab insertion, and map a different key to 'completion-at-point '. What probably messes things up for you is that my implementation of the indentation function only works

Re: [Bug-apl] APL code indentation

2014-05-27 Thread Blake McBride
When you edit an existing function, it would be nice if the initial display of the function had the indentation applied. The enter key working for me - sort of. It indents EVERY line by one character. When I hit Enter at the end of the line, shouldn't it fix the line? When editing a new functio

Re: [Bug-apl] APL code indentation

2014-05-27 Thread Elias Mårtenson
You are supposed to press TAB to indent. There is also electric indentation, which I normally have disabled, but it will automatically indent when you press RET. Regards, Elias On 27 May 2014 18:03, Blake McBride wrote: > Greetings, > > I looked at the comments in your function. Not only are

Re: [Bug-apl] APL code indentation

2014-05-27 Thread Blake McBride
Greetings, I looked at the comments in your function. Not only are labels typically moved one character to the left, but lines beginning with a comment are too. I did a git pull. When I edit a function, there is no indenting added at all. Am I doing something wrong, or is there some other plac