The things that make a good carry gun are diametrically opposed to the characteristics that make a comfortable, easy to shoot range pistol. There is no way around it--if you only want one gun for both range and carry, there will be a compromise. Which is more important to you?
I have owned and carried a P11, a G-23 and a G-19. Tried a G-26 as well. Yeah, I have also owned about half a dozen j-frames, too.
Note the use of the past tense on all of the above.
If you get a good Kel-Tec, your luck is better than mine. I had four and had multiple issues with each. Wasted a lot of money and time trying to make them right, and lost more (nearly) giving them away. Trigger on the P-11 was terrible compared to pretty much anything else. K-T will never again see a dime of my money.
Glocks--they work well, shoot okay, but I could never get comfortable with a double-stack anything on my hip. For pocket carry, absolutely no way. Like putting a piece of 2x4 in your pocket.
J-frames...they are actually longer end-to-end than some semi-autos. Their trigger is also heavy and long (obviously) and they are not easy to shoot well. By the time you get into the ones that are light enougfh to carry frequently, they start to get nasty to shoot...an AirLite in .357 is the ultimate expression of this.
For pocket carry, I go with the Kahr PM9. I can put 300 rounds through it in one range session. It is thinner and shorter than any J-frame. Far lighter and thinner than any Glock. Lighter, thinner, far more reliable than the P-11. Better trigger than any of them. No, it's not cheap, but you can find a used one for ~$500.
I also owned a Springfield EMP for a while, and it was a gem. Great 1911 trigger, small, reasonably light, and just like a diamond, it was pricey. That is a $1000 gun, and it's compromises include high price, 24 oz weight, 9+1 capacity.
Lots of neat stuff out there. Try everything you can and go with what works for you.