Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006468 [DCSS] Documentation trivial N/A 2012-12-25 02:37 2014-04-03 15:39
Reporter blackcustard View Status public  
Assigned To Medar
Priority normal Resolution done  
Status closed   Product Branch 0.12 ancient branch
Summary 0006468: Mistake in documentation in default config file on trunk
Description Line 252+253 of the default config:
"# You can change colours by using something like
# $contaminated := magenta"

https://gitorious.org/crawl/crawl/blobs/stone_soup-0.11/crawl-ref/settings/init.txt [^]

This does NOT work.

The options_guide shows how to do this correctly. Line 1455+1456:
"If you want to colour all items that contain a certain prefix, use
menu_colour ^= lightgreen:poisonous"

http://gitorious.org/crawl/crawl/blobs/master/crawl-ref/docs/options_guide.txt [^]

I've tested both versions,
$poisonous := red
and
menu_colour ^= inventory:magenta:poisonous

The second version works, the first does NOT. I think the default rc should be fixed. It doesn't have to document the correct way to do it, but it shouldn't document a way that doesn't work.
Additional Information
Tags No tags attached.
Attached Files ? file icon 0001-Changing-the-variables-used-by-the-default-options-f.patch [^] (8,813 bytes) 2013-03-23 23:12 [Show Content]
? file icon 0001-Read-constant-variables-in-rcs-before-any-other-opti.patch [^] (13,419 bytes) 2013-03-23 23:12 [Show Content]
? file icon 0002-Changing-the-variables-used-by-the-default-options-f.patch [^] (2,954 bytes) 2013-03-29 19:05 [Show Content]
? file icon 0001-Document-initfile.cc-a-little-bit-better.patch [^] (2,942 bytes) 2013-03-29 19:05 [Show Content]

- Relationships

-  Notes
(0021782)
blackcustard (reporter)
2013-03-23 23:14
edited on: 2013-03-29 19:07

Okay ignore the first two files.

Apply the second two files.

This adds comments in initfile.cc and also changes the documentation.

Either order should work.

(0025142)
Medar (developer)
2014-01-30 08:24

Both patches are now in: 0.14-a0-2346-gfb55b4f

Fixed a white space error in the first commit and changed the commit message to follow git standards.

Thanks a lot! Again, sorry about this taking absolutely forever.

- Issue History
Date Modified Username Field Change
2012-12-25 02:37 blackcustard New Issue
2013-03-23 23:12 blackcustard File Added: 0001-Changing-the-variables-used-by-the-default-options-f.patch
2013-03-23 23:12 blackcustard File Added: 0001-Read-constant-variables-in-rcs-before-any-other-opti.patch
2013-03-23 23:14 blackcustard Note Added: 0021782
2013-03-23 23:18 blackcustard Note Edited: 0021782
2013-03-29 19:03 blackcustard Note Edited: 0021782
2013-03-29 19:05 blackcustard File Added: 0002-Changing-the-variables-used-by-the-default-options-f.patch
2013-03-29 19:05 blackcustard File Added: 0001-Document-initfile.cc-a-little-bit-better.patch
2013-03-29 19:07 blackcustard Note Edited: 0021782
2013-03-31 17:01 blackcustard Issue Monitored: blackcustard
2014-01-30 08:24 Medar Note Added: 0025142
2014-01-30 08:24 Medar Status new => resolved
2014-01-30 08:24 Medar Fixed in Branch => 0.14 development branch
2014-01-30 08:24 Medar Resolution open => done
2014-01-30 08:24 Medar Assigned To => Medar
2014-04-03 15:39 blackcustard Issue End Monitor: blackcustard
2014-04-03 15:39 blackcustard Status resolved => closed


Mantis 1.1.8[^]
Copyright © 2000 - 2009 Mantis Group
Powered by Mantis Bugtracker