How can we save and retrieve all the grep searches that we do using M-x grep command into history ?

  • Doesn't it already? Doesn't M-n and M-p step you through that history? – NickD Dec 4 '20 at 20:20
  • Please clarify (in the question itself, not just in a comment): Do you just want to save the grep command that you used, or do you want to save its results. For the former (only), @NickD's comment applies. – Drew Dec 5 '20 at 0:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.