I think a bedroom cieling less than 7' is some sort of building violation but not the electricians problem.

The reason a keyless is alloud is because not much chance of anything touching it (except your head if have a 6' something cieling).

Open bulb lamps are a big fire hazard. If the closet is overfilled and the bulb is left on something near the bulb could start a fire. I have seen old appartments with a pullchain below the hanger rod. The bulb was tuching the cloths. No fire becuse everyone would remember to turn off the light.

We don't use any incadesent lamps in closests except walk-in. What would happen if the globe breaks in the fucture? The customer would probibly still use it like like a keyless lamp and you again have the fire hazard.

Floresent lamps don't get very hot but we still have to put the edge of them 12" from the shelf edge. Figure this for rough:
12" clearance
12" shelf
5/8" drywall
2 1/4" to center of lamp
--------------------------
About 27" to the center of box to closet back wall.

From the center of the box to the front of the closet you need:
2 1/4" for lamp
5/8" for drywall
-----------------
About 3"

So the rough opening of the closet front to back wall needs to be minimum 30" to put the light on the cieling.

To avoid this we will put it on the wall above the door if possable.

We have also put in recesed can lights with shower trims. This costs more and is disappointing with the dim light output.