Lisp HUG Maillist Archive

Automatic indentation? (newbie question)

Hello,

1. Could you please tell me the right key binding string to make 
LispWorks editor indent my code automatically as I press RETURN?

2. I created .lispworks file in my home directory (under OS X 10.3). 
However, LispWorks seems to ignore it. What am I doing wrong?

Thank you.


Re: Automatic indentation? (newbie question)

On Thu, 30 Oct 2003 09:11:21 +0300, Tyro <tyro@yandex.ru> wrote:

> I created .lispworks file in my home directory (under OS X
> 10.3). However, LispWorks seems to ignore it. What am I doing wrong?

Do you have the Personal Edition? IIRC the .lispworks file is only
read by the Professional and Enterprise Edition.

Edi.


Re: Automatic indentation? (newbie question)

Hello Tyro,

| 1. Could you please tell me the right key binding string to make 
| LispWorks editor indent my code automatically as I press RETURN?

Assuming that you mean the new line by "my code", there you go:

    (bind-key "Indent New Line" #\Return)

--
Sincerely,
Dmitri Ivanov
www.ystok.ru


Updated at: 2020-12-10 08:59 UTC