[darcs-devel] [issue330] guidance on hacking would be useful
Jason Dagit
dagit at codersbase.com
Sat Nov 4 13:39:28 PST 2006
We have a developer FAQ
http://darcs.net/DarcsWiki/DeveloperFAQ
And some developer Tips
http://darcs.net/DarcsWiki/DeveloperTips
You're right that we should probably say something about tabs, but on
the other hand with the test suite checking for it gets found right
away for most people :)
And also, discouraging tabs seems to be common in the Haskell
community so I think it's assumed for many darcs contributors.
If we added a HACKING file my proposal is have it point at the above
links and add something to the FAQ that shows how to disable tabs in
both Vim and Emacs.
Thoughts?
Jason
On 11/4/06, Dave Love <bugs at darcs.net> wrote:
>
> New submission from Dave Love <fx at gnu.org>:
>
> I found that the test suite in the unstable branch complains at tabs
> in the source. It might be useful to have a HACKING (or something)
> file with guidance on that sort of thing.
>
> You could tell Emacs users to use
>
> (add-hook 'haskell-mode-hook '(lambda () (setq indent-tabs-mode nil)))
>
> or use <URL:http://www.loveshack.ukfsn.org/emacs/dir-locals.el> or
> <URL:http://www.loveshack.ukfsn.org/emacs/indent-tabs-maybe.el> to set
> indent-tabs-mode locally. It could actually be set in local variables
> in the Haskell source files, and I guess something similar can be done
> for anyone cursed with vi.
>
> ----------
> messages: 1169
> nosy: EricKow, droundy, fx, tommy
> status: unread
> title: guidance on hacking would be useful
>
> ____________________________________
> Darcs issue tracker <bugs at darcs.net>
> <http://bugs.darcs.net/issue330>
> ____________________________________
>
> _______________________________________________
> darcs-devel mailing list
> darcs-devel at darcs.net
> http://www.abridgegame.org/cgi-bin/mailman/listinfo/darcs-devel
>
>
More information about the darcs-devel
mailing list