\documentclass{article}

\begin{document}


\section{first}

\section{ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssecond}

\section{third}



\end{document}

%%% Local Variables: 
%%% mode: latex
%%% TeX-master: t
%%% End: 
