suddenly he noticed that the sun was setting , and felt that his supper-time was drawing near ; but he discovered that he was in a part of the country that he did not know at all and had lost his way .