I've gone through all the .trm files and removed
extraneous help keys now that gnuplot can complete all
words in a help string, not just the last word.
Just wondering... So many of these help search strings
have this form:
"?commands set terminal png",
"?set terminal png",
I wonder if that couldn't simply be reduced to just the
first string with a smart enough algorithm. Probably,
but I wonder if it would create possible ambiguities.
There is a bit of reluctance to jump into this sort of
thing because taking out lines is easy. Putting them
back in isn't so easy.
One way to deal with ambiguities might be to include in
the string the question mark before every word at which
level should be included. For example, say the above
could be condensed as:
"?commands ?set ?terminal ?png",
and the key building code know to construct the four
If one level was to be left out for some reason:
"?commands set ?terminal ?png",
commands set terminal png
set terminal png
Log in to post a comment.