app-vim/gentoo-syntax uses tabs for indentation in metadata.xml. https://gitweb.gentoo.org/proj/gentoo-syntax.git/tree/ftplugin/gentoo-metadata.vim?h=gentoo-syntax-20200120#n16 It would be nice if emacs would do the same.
I would argue the other way around, Emacs uses two spaces, to Vim should do the same. :-) Two spaces is also what was always used for all XML documentation files. Anyway, every time this was mentioned in gentoo-dev in the past, there was no agreement. So the policy is to have no policy: https://devmanual.gentoo.org/ebuild-writing/misc-files/metadata/index.html#syntax
I don’t understand how we have a policy for white space in ebuilds, but not metadata.xml.
(In reply to Mike Gilbert from comment #2) > I don’t understand how we have a policy for white space in ebuilds, but not > metadata.xml. "My 2 cents: So long as it is a well-formed XML document and doesn't look horribly ugly in an editor, it really doesn't matter what we use, and I don't think we need a policy for it." https://archives.gentoo.org/gentoo-dev/message/7225591b720fee442f8d25c48489ff33 :)