Re:
"Alexey Veretennikov (as alexey dot veretennikov at protonmail dot com)" <[email protected]>
| Newsgroups | gmane.lisp.lispworks.general |
|---|---|
| Message-ID | <69IHpR703_nsfaxYzBxJmknCMk51KjjbxrgpyPPJ2BeSZ55fmSdzeVT7IgqvGRS_rZwBrAlwsb1hrDwLwAybxxgVzJR7Cmc_Vw-Uf98snTA=@protonmail.com> |
Hi, You can also add the following to your config file. Unfortunately LW-Personal does not load the config file automatically, so you would need load it every time you restart your LW: ;; Enter will indent new line (editor:bind-key "Indent New Line" #\Return :mode "Lisp") BR, /Alexey On Wednesday, December 3rd, 2025 at 15:36, pc (as pc at p-cos dot net) <[email protected]> wrote: > Also really useful: Place the cursor on an opening parenthesis (for example the one left of a defun) and press meta-control-q (on Mac: control-option-q, on Windows/Linux: I don’t know ;) - then the whole form will be correctly indented. > > Also: meta-x (option-x), then type “indent”, then tab for completion, and you see a number of other commands for indenting in different ways. > > Pascal > >> On 3 Dec 2025, at 15:22, Marco Antoniotti (as marco dot antoniotti at unimib dot it) <[email protected]> wrote: >> >> Hi >> >> I second what Yuri said. >> The first thing you need to check is whether the buffer is in "Lisp" mode (check the bottom of the editor window). >> >> Next, anywhere on a line with code, just hit Tab and it should indent it, unless it is already indented. >> >> All the best >> >> Marco >> >> On Wed, Dec 3, 2025 at 2:48 PM Yuri Davidovsky (as work at disclosure dot ie) <[email protected]> wrote: >> >>>> On 3 Dec 2025, at 14:33, fmaurer (as frmaurer99 at gmail dot com) <[email protected]> wrote: >>>> >>>> BTW Thank you all for responding. I am having great difficulties with LISP editors >>> >>> Welcome to the club. >>> >>> It will get better once you figure out how to do customisations but overall UX bar in lisp IDEs is very low compared to modern development tools. Do not beat yourself up for not getting it after years of trying to figure them out, you are not doing anything wrong, it is simply how it is. >>> >>> _______________________________________________ >>> Lisp Hug - the mailing list for LispWorks users >>> [email protected] >>> http://www.lispworks.com/support/lisp-hug.html >> >> -- >> >> Marco Antoniotti, Professor, Director tel. +39 - 02 64 48 79 01 >> DISCo, University of Milan-Bicocca U14 2043 [http://dcb.disco.unimib.it](http://dcb.disco.unimib.it/) >> Viale Sarca 336 >> I-20126 Milan (MI) ITALY >> >> REGAINS: https://regains.disco.unimib.it/