Hiya,
Does anyone have any pointers on how to achieve code-folding in Emacs
for Common Lisp source?
Something like:
(defun foo (x)
...)
when the DEFUN symbol is clicked .. or, if I click a LET
(let ((foo1 baz1)
(foo2 baz2))
...)
Anyone have some ideas?
In article <························@o80g2000hse.googlegroups.com>,
"Mike G." <···············@gmail.com> wrote:
> Hiya,
>
> Does anyone have any pointers on how to achieve code-folding in Emacs
> for Common Lisp source?
>
> Something like:
>
> (defun foo (x)
> ...)
>
> when the DEFUN symbol is clicked .. or, if I click a LET
>
> (let ((foo1 baz1)
> (foo2 baz2))
> ...)
>
> Anyone have some ideas?
With GNU Emacs:
See 'hideshow' minor mode.
in a Lisp buffer do: M-x hs-minor-mode
--
http://lispm.dyndns.org
On Aug 21, 3:15 pm, Rainer Joswig <······@lisp.de> wrote:
> In article <························@o80g2000hse.googlegroups.com>,
> "Mike G." <···············@gmail.com> wrote:
>
>
>
> > Hiya,
>
> > Does anyone have any pointers on how to achieve code-folding in Emacs
> > for Common Lisp source?
>
> > Something like:
>
> > (defun foo (x)
> > ...)
>
> > when the DEFUN symbol is clicked .. or, if I click a LET
>
> > (let ((foo1 baz1)
> > (foo2 baz2))
> > ...)
>
> > Anyone have some ideas?
>
> With GNU Emacs:
>
> See 'hideshow' minor mode.
>
> in a Lisp buffer do: M-x hs-minor-mode
>
> --http://lispm.dyndns.org
Oh man, this is awesome, thanks!
And I don't even have to hack it to fold up stuff inside curly
brackets either.
(A string processing macro that I wrote).
Really, guys -- why don't we just add some boot code to Emacs and be
done with it?
:)