Re: editor for direct editing of the syntax tree: possible?
- From: Evans Winner <thorne@xxxxxxxxxxx>
- Date: Tue, 08 Jan 2008 17:09:59 -0700
Xah Lee <xah@xxxxxxxxxx> wrote:
(1) have a function, such that when invoked, the current block of
lisp code the cursor is on, will be all reformatted by a mechanical
rule. (somewhat analogous to fill-paragraph)
Something like this in Emacs lisp?
(defun grind ()
(interactive)
(save-excursion
(beginning-of-defun)
(indent-pp-sexp)))
It probably needs tweeking, may require a late version of Emacs, may not
leave point where you expect. I haven't tested it. Just wondering if
it is the general idea you are looking for.
.
- References:
- editor for direct editing of the syntax tree: possible?
- From: ruzsa . balazs
- Re: editor for direct editing of the syntax tree: possible?
- From: Xah Lee
- Re: editor for direct editing of the syntax tree: possible?
- From: Rainer Joswig
- editor for direct editing of the syntax tree: possible?
- Prev by Date: Re: editor for direct editing of the syntax tree: possible?
- Next by Date: Re: Lisp and Scheme with fewer parentheses / Mathematica??
- Previous by thread: Re: editor for direct editing of the syntax tree: possible?
- Next by thread: byte order
- Index(es):