rename buffer.attr['marks'] to buffer.attr['bookmarks']