"w#" sometimes knows about just out of sight walls
"w#" will sometimes turn around when there seems to be more to explore, and going back to such places reveals a dead end. It seems that the auto-explore code could see the wall even though the PC couldn't.