On Mon, 11 Aug 2008 12:44:04 +0100, Nick Treleaven nick.treleaven@btinternet.com wrote:
On Sun, 10 Aug 2008 15:57:36 +0200 Enrico Tröger enrico.troeger@uvena.de wrote:
It seems you can't use the hash at any point in a line. But this is a limitation of the GLib key-value file parser. If nobody does it before I'll open a bugreport this evening or tomorrow.
One of the responses suggested something like: def=#define
I've tested this and it seems to work.
It does. It even works with a hash in the keys but this would also require to include the hash character in the wordchars (see section 'Special' in snippets.conf).
No idea why it didn't work for me before, I thought I tested it in all possibilities but obviously I didn't.
But an hash character at the beginning of the line is still a comment character because it can't be escaped. I'll add this note to the bug report even I think this won't be changed.
Regards, Enrico