compute default pattern the same M-x grep does