Answered by Sayyidi Habib Umar bin Hafiz (may Allah protect him and benefit us by him)
What is the state of a seeker who continues to commit sins while maintaining an attachment to and a longing for the people of Allah?
Good is hoped for this person. They should be constantly aware of their state and they should attempt to rectify it. They should know that an attachment to the pious and a longing to be in their company are good deeds in themselves. They should increase in remorse for their wrongdoings.