Clearly you're the ones who don't know history, since you deny basic facts like the Aryan migration/invasion.
During Akbar's rule, Lahore was the capital for a good few years. He was also born in Sindh, and literally built towers out of the skulls of Hindustani princes. He's not yours.
You need to brush up on your reading skills. I never said the Mughals were the longest ruling dynasty, I said Muslims have had dominance over Hindustan for much longer than Hindustan has ever had dominance over Muslims/Pakistan.
Are you blind? That map clearly shows roughly half of Pakistan not being under Gupta control. Other maps show the Gupta's controlling even less of Pakistan:
It also only shows the rule of the Gupta's at their peak, nomadic tribes from Central Asia (who's descendants are mainly the Pashtuns, Gujjars, Jats and Rajputs) quickly came in and settled in Pakistan, conquering land previously ruled by the Gupta's and acted as the main cause of their decline.
That is true, but 142 years is peanuts compared to how long Muslims have ruled large portions of Hindustan for.
That map of the Pala dynasty is horrendously inaccurate. The Pala empire never ruled over large portions of Pakistan.
Menander, Kanishka, Akbar, Shah Jahan, the Lodi dynasty were all from Pakistan and ruled over large portions of Hindustan. Mir Chakar Rind also sent his forces to sack Delhi, and the Shah Mir dynasty that ruled over Kashmir was also originally from Swat district. I can name more individuals if you wish.