|
From: <dan...@ie...> - 2005-02-13 22:03:04
|
> On Sunday 13 February 2005 01:17 pm, Harald Harders wrote: >> > > >> Then I ask myself why isn't that done in that way for all options that >> contain strings. Thas has been a question to me for a long time: If I >> type >> in >> set title '\hello' >> why is it saved as >> set title "\\hello" >> ? I would prefer to preserve the quotation marks and the original form= at >> in all cases. > > I agree. I pointed this out as being a problem while I was struggling > with handling string variables. I ended up being able to work around > it, but I also think that the single-quoted-ness or double-quoted-ness > of a string should be maintained across a save/load operation. > Currently it is not, so you cannot guarantee to reproduce the current > state. Keep in mind that if one is to type in a newline character "\n", double quotes are a must, for otherwise stuff like "\newenvironment" or somethin= g similar would fail. It would have to be "\\newenvironment". Dan |