[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Spaces please!

From: Burkhard Schultheis
Subject: Re: Spaces please!
Date: Tue, 01 Dec 2009 19:21:04 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv: Gecko/20091121 Thunderbird/3.0

Am 01.12.2009 17:19, schrieb andrea:

I get sick sometimes to read something like
but I get even more sick to add spaces manually every time.
I ask help to you elisp gurus, should I use a regexp or a macro-like
function (go-here, do-this)?

I think I should define some rules like:
- which operators want spaces (and if before or after)
- what is the arity of them

One problem for example could arise from things like

but we could have some operators that could be binary or unary and check
that somehow.

I would do it with a beautifier like uncrustify with GUI universalident (<>. It can do that and much, much more!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]