Created on 2006-11-04.17:22:37 by fx, last changed 2009-08-27.13:50:40 by admin.
msg1169 (view) |
Author: fx |
Date: 2006-11-04.17:22:31 |
|
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.
|
msg1171 (view) |
Author: kowey |
Date: 2006-11-04.21:20:54 |
|
On Sat, Nov 04, 2006 at 17:22:38 +0000, Dave Love wrote:
> 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.
Incidentally, have you seen the Developers' Tips page on the wiki?
http://darcs.net/DarcsWiki/DeveloperTips
|
msg1172 (view) |
Author: dagit |
Date: 2006-11-04.21:39:45 |
|
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@darcs.net> wrote:
>
> New submission from Dave Love <fx@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@darcs.net>
> <http://bugs.darcs.net/issue330>
> ____________________________________
>
> _______________________________________________
> darcs-devel mailing list
> darcs-devel@darcs.net
> http://www.abridgegame.org/cgi-bin/mailman/listinfo/darcs-devel
>
>
|
msg1173 (view) |
Author: fx |
Date: 2006-11-05.14:05:29 |
|
Eric Kow <bugs@darcs.net> writes:
> Incidentally, have you seen the Developers' Tips page on the wiki?
> http://darcs.net/DarcsWiki/DeveloperTips
No; thanks. It's probably worth at least pointing to that somewhere
in the source tree, though.
|
msg1174 (view) |
Author: fx |
Date: 2006-11-05.14:15:54 |
|
"Jason Dagit" <dagit@codersbase.com> writes:
> 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 :)
The test suite takes an age on my system, though, which is a
disincentive to run it.
> 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.
Actually, I just noticed that the current version of the Emacs Haskell
mode that monnier maintains sets indent-tabs-mode to nil anyhow, but I
happened to be using another.
|
msg1175 (view) |
Author: kowey |
Date: 2006-11-05.14:22:21 |
|
On Sun, Nov 05, 2006 at 14:16:00 +0000, Dave Love wrote:
> The test suite takes an age on my system, though, which is a
> disincentive to run it.
Well, you can also run limited fragments of test suite. Just put the
name of the tests you want to run in tests/test_to_run (newline
seperated)
In your case, you might have the entry haskell_policy.sh
which checks for tabs and what not
--eric (who is very slowly making his way through patches)
|
msg1932 (view) |
Author: kowey |
Date: 2007-07-23.20:40:39 |
|
Part of the 1.0.9 README
|
|
Date |
User |
Action |
Args |
2006-11-04 17:22:37 | fx | create | |
2006-11-04 21:21:02 | kowey | set | status: unread -> unknown nosy:
droundy, tommy, kowey, fx messages:
+ msg1171 |
2006-11-04 21:39:52 | dagit | set | nosy:
+ dagit messages:
+ msg1172 |
2006-11-05 09:53:46 | dagit | set | nosy:
droundy, tommy, kowey, fx, dagit |
2006-11-05 14:05:34 | fx | set | nosy:
droundy, tommy, kowey, fx, dagit messages:
+ msg1173 |
2006-11-05 14:16:00 | fx | set | nosy:
droundy, tommy, kowey, fx, dagit messages:
+ msg1174 |
2006-11-05 14:22:22 | kowey | set | nosy:
droundy, tommy, kowey, fx, dagit messages:
+ msg1175 |
2006-11-11 12:33:33 | kowey | set | status: unknown -> resolved-in-unstable nosy:
droundy, tommy, kowey, fx, dagit |
2007-07-23 20:40:06 | kowey | set | status: resolved-in-unstable -> resolved nosy:
+ beschmi |
2007-07-23 20:40:40 | kowey | set | status: resolved -> unknown messages:
+ msg1932 |
2007-08-01 07:11:22 | kowey | set | status: unknown -> resolved |
2009-08-06 17:43:16 | admin | set | nosy:
+ markstos, jast, Serware, dmitry.kurochkin, darcs-devel, zooko, mornfall, simon, thorkilnaur, - droundy, fx |
2009-08-06 20:40:19 | admin | set | nosy:
- beschmi |
2009-08-10 21:58:11 | admin | set | nosy:
+ fx, - markstos, darcs-devel, zooko, jast, Serware, mornfall |
2009-08-10 23:57:37 | admin | set | nosy:
- dagit |
2009-08-25 17:56:30 | admin | set | nosy:
+ darcs-devel, - simon |
2009-08-27 13:50:40 | admin | set | nosy:
tommy, kowey, fx, darcs-devel, thorkilnaur, dmitry.kurochkin |
|