he pressed the button on the automatic coffeemaker , programmed by their housekeeper after the previous night 's dinner , waited until nearly a cup was filled , poured it , and trudged into his study beyond the living room .