On Monday 11 August 2008 19.05.51 Enrico Tröger wrote:
On Mon, 11 Aug 2008 15:54:05 +0200, Enrico Tröger enrico.troeger@uvena.de wrote:
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
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.
The key-value format just doesn't allow hashes or even escaped hashes in keys especially not at the beginning.
I guess you can workaround the problem, maybe with the the suggestino mentioned above.
Regards, Enrico
Was this aimed at me? I realized, and used the "workaround" all the time, but it is not really great, since you have to relearn (instead of writing #d .. before hitting TAB, you have to deliberatly omit the hash) which is a route I'd rather not go.
Having said that, I think this is a quite small issue, and maybe not worth any extra work.
Thanks, Micael