不清楚你要这些历史记录的用途, 但如果要回到某个View,你可以这样...
putting the following line at the beginning of your program:
(command "-view" "save" "my-temporary-view")
and these two at the end:
(command "-view" "restore" "my-temporary-view")
(command "-view" "delete" "my-temporary-view")