Is a General Repentance from Sins OK?

Imām Ibn Taimiyyah, may Allāh have mercy on him, said:

A person might call [certain past] sins to mind and then repent of them, or he might make a general repentance without calling to mind, along with it, [any] sins of his [in particular]. However, if his intention was to make a general repentance, then [that] covers everything he holds to be a sin since a general repentance involves a general resolve to do what’s been commanded [in Islām] and leave off what’s been prohibited; similarly, it involves having general regret over [having fallen into] every prohibited thing.

Majmūʿ Al-Fatāwá, vol. 10, p. 325.