[asdf-devel] How about a tabs versus spaces policy for asdf?

Faré fahree at gmail.com
Thu Dec 3 16:31:58 UTC 2009

I'd like such a filter applied to each and every text file, currently
excluding only the *.ico and *.png.

[ François-René ÐVB Rideau | Reflection&Cybernethics | http://fare.tunes.org ]
Ever stop thinking and forget to start again?

2009/12/3 Robert P. Goldman <rpgoldman at sift.info>:
> Only .lisp and .asd sounds sufficient to me, but Gary wrote a lot of
> shell scripts  I haven't really looked at. I don't have a strong
> opinion about the documentation source (perhaps surprisingly).
> Best,
> R
> On Dec 2, 2009, at 20:54, Daniel Herring <dherring at tentpost.com> wrote:
>> On Wed, 2 Dec 2009, Faré wrote:
>>> 2009/12/2 Robert Goldman <rpgoldman at sift.info>:
>>>> I should actually have been specific about something else:
>>>> If we prefer spaces to tabs (and I will not attempt to stack my
>>>> eloquence and vituperation against jwz's), we should probably
>>>> stick the
>>>> git-equivalent of a pre-commit-hook into the repo to refuse to
>>>> accept tabs.
>>>> Daniel --- is your git fu strong enough for this task?
>> It could be.  This would require putting the proper hooks/pre-commit
>> file in a .git directory.  Should it check all files in the project,
>> or only lisp sources?
>>> In either case, git-fu is nice. And if git-fu there be, can we also
>>> eliminate trailing whitespace?
>> See core.whitespace in the git-config manpage; by default git warns
>> about trailing whitespace.  Commands that apply patches (e.g. git-
>> apply and git-am) have an option to control this; --whitespace=error
>> or --whitespace=fix might be what you want.  This choice can be made
>> permanent by something like
>> # git config apply.whitespace error
>> Also look at the gitattributes manpage.
>> - Daniel

More information about the asdf-devel mailing list