@classmethod
def tags_line(cls, name, tagmap):
    """ Transcribe a `name` and its `tagmap` for use as a `.fstags` file line.
    """
    fields = [cls.encode_name(name)]
    for tag in tagmap:
        fields.append(str(tag))
    return ' '.join(fields)
