[pro] The Best Examples of "Code is Data"

Scott L. Burson Scott at sympoiesis.com
Thu Sep 9 18:00:16 UTC 2010


[Sorry for the dup, Dan -- my previous attempt didn't go to the list
-- didn't notice that they removed the Reply-To: header from the list
messages.]

On Thu, Sep 9, 2010 at 8:26 AM, Daniel Weinreb <dlw at itasoftware.com> wrote:
>
> One of the very first things you want when
> you start writing macros is for auto-indentation
> to do the right thing.  The IDE can't just
> know this for a macro.

Huh.  I always thought Zmacs did an adequate job of this.  Just know
what &BODY means and give me COM-INDENT-DIFFERENTLY for special cases,
and I'm pretty happy.

(Dan will of course know what I'm referring to, but for everyone else,
the Zmacs command COM-INDENT-DIFFERENTLY -- bound to C-Tab, if memory
serves -- could be used to manually cycle through a series of
alternate indentation points for the current line.  I'm not aware of
an equivalent command having been implemented for GNU Emacs.)

-- Scott




More information about the pro mailing list