I don't know if in practice (I'm not mathematician, sorry) someone will need ever arcs wider than 4 or 5 lowercase characters. If this could be a real scenario, then \widearc of kpfonts, or \wideparen of yhmath or mathdesign, or \bigfrown, probably are not the best solution, since like others extensible accents, are unable to expand too much:

This problem seem well solved with \overparent in Aditya answer, but this require ConTeX. For pdflatex, I think that a decent alternative could be \overgroup from mathabx package:

\documentclass{minimal}
\usepackage{mathabx}
\begin{document}
$\overgroup{M'}$
$\overgroup{MM'}$
$\overgroup{MMMM'}$
$\overgroup{MMMMMMMM'}$
\end{document}
yhmath. BTW,\adotsinyhmathis wrong for different font size, one should use\iddotsfrommathdotspackage instead. That's another reason I don't likeyhmath. – Leo Liu Apr 10 '11 at 14:55amatrixenv. inyhmathis not compatible with latestamsmath. Pity. It should be\newenvironment{amatrix}{\left\langle\begin{matrix}}{\end{matrix}\right\rangle}– Leo Liu Apr 10 '11 at 15:21