bug-xboard
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-XBoard] [bug #27799] fix for nested-nested-nested variations


From: anonymous
Subject: [Bug-XBoard] [bug #27799] fix for nested-nested-nested variations
Date: Wed, 28 Oct 2009 14:10:15 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; GTB6; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

Follow-up Comment #12, bug #27799 (project xboard):

OK, this is what I was afraid of. So the method of stripping outer
parentheses, and then replacing them with braces, is not safe.

I guess the only solution is to not strip off the {} or () hen storing the
comment ith the move. Then you also don't have to add them when you save them
on file. Just append the various comment tokens with a space between them.

A little complication is that I currently also weave in the engine
score/depth and time on saving and displaying, when they are available, and
extract and strip them from the comment when they are present in it on
reading. (To prevent they will apper twice when you save again.) This would
then have to be done in a slightly smarter way, depending on if the comment
starts with { or (.

I guess I am not going to fix that now. Re-saving heavily commented games is
not really an application XBoard is designed for. We can put it on the to-do
list.

H.G. Muller

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?27799>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]