By using k-factorization, we derive resummation formulas for the non-abelian <q(q)over bar> contributions to both heavy flavour production by gluon fusion, and to the next-to-leading BFKL kernel. By combining this result with previous ones by Fadin et al. on the virtual terms, we also compute in closed form the complete <q(q)over bar> contribution to the gluon anomalous dimension in the Q(0)-scheme. We find that <q(q)over bar> resummation effects are important for heavy flavour production, but are instead small in the anomalous dimension eigenvalues, because of a cancellation between abelian and non-abelian contributions.