What Rick said.
A 24mm lens at f/2.8 has the capability of giving you everything from 13 feet out to infinity in focus with a focus point set at around 26 feet. At f/5.6 you can get everything from 6 feet to infinity with the focus set at 12'. By f/11 you have just about everything. With the hyperfocal markings missing on modern digital lenses I opt for the digital alternative, a DoF app on my iPhone. I use
TrueDoF-Intro, which is a free app. It covers all apertures from f/1.4-22, but if that's not enough then you can fork over $2.99 for the version that gives you f/1.0-33. I'm not sure why they charge for one and not the other, but I'm guessing they figure if you can afford glass that fast then you won't think twice about $3. LOL
Whether or not I use the app depends on just how close the first object is that I want in focus. If there are no foreground objects then I usually just aim at the subject with the lens at f/5.6-9, shoot and have a look. Otherwise I'll use the app to give me an idea of my DoF at given apertures and use it to select my aperture and focal point, but I still use the autofocus. The only time I regularly set focus using the lens marking is on my Rokinon 8mm since I have issues focusing with a fisheye and that one lacks AF.