Lisp HUG Maillist Archive

Unable to render article 1536 because of ":DEFAULT stream decoding error on #<SB-SYS:FD-STREAM for \"socket 192.168.43.216:64882, peer: 116.202.254.214:119\" {1006012D43}>: the octet sequence #(252 110 116 104) cannot be decoded." error

Re: Editor question: outline (folding) sections of code?

Unable to parse email body. Email id is 1542

Re: Editor question: outline (folding) sections of code?

davef@xanalys.com writes:

>    is it possible to "fold" a section of code away similar as in Emacs?
>
> No, though when you simply want a list of the definitions in a buffer,
> you can use the Definitions tab of the Editor tool.
>
> What Emacs command are you describing?
>
>    My code ist getting pretty long and quite nested (well I suppose most 
>    LISP Code is) and it would be much easier to navigate if I could "fold" 
>    some code away.
>
> Sounds like you might want to split some of your functions into
> smaller ones.
>
> I wonder if you've found all the ways to navigate swiftly around your
> source code. I'm thinking of keys like Alt+Ctrl+F (Forward Form)
> Alt+Ctrl+A (Beginning of Defun) etc, and also the source location
> utilities like Alt+. (Find Source) and the Find Definitions tab.

Jumping around by pages is also pretty cool.
  Ctrl-x [   => backward page
  Ctrl-x ]   => forward page

Ctrl-q Ctrl-l to insert a page marker.

Works the same in lispworks and emacs.

-russ


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