As far as I know, if you repent from anything, than you can be forgiven. However, if you die in a state of unrepentence, Allah can forgive any sin except shirk. So, if I die while I was drinking, but I was a Muslim, Allah could still forgive me, even if I didn't repent before dying!
The...