Problem: Cmdline ruler may be drawn for autocommand window. Solution: Check that the current window is not an autocommand window when deciding whether to draw the ruler.