Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 789185
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T21:29:00+00:00 2026-05-14T21:29:00+00:00

I’ve downloaded and installed the GnuWin32 tools, and added the grep executables to the

  • 0

I’ve downloaded and installed the GnuWin32 tools, and added the grep executables to the Emacs bin. I’ve also, for what its worth, added the GnuWin32 bin folder to my Path variable.

Problem is though, when I try and run with suggested grep commands, I always get:

Grep exited abnormally with code 53 at Wed Feb 24 17:16:12

For the life of me, I can’t find any reference to error code 53 anywhere! 🙁

I’ve tried the exact examples on a number of websites for example, when I enter:

M-x grep <ret>

It comes up with

Run grep (like this): grep -n 

Which is fine, but I have no idea of what parameters it expects. I’ve tried some in some tuorials, but I get error code 53 again!

One of the things I’ve tried is straight from the emacs wiki (http://www.emacswiki.org/emacs/GrepMode#toc2) (maybe not for the windows version though?) and it says to try this command:

M-x grep -n -e setq ~/.emacs

Which I’ve tried and I get:

-*- mode: grep; default-directory: "c:/[My Directory]/" -*-
Grep started at Wed Feb 24 17:30:47

grep -n -e setq ~/.emacs NUL

Grep exited abnormally with code 53 at Wed Feb 24 17:30:47

So frustrating as this is meant to be a powerful feature of Emacs and I’m really trying to learn it as I’ve heard good things about it!

Any help would be appreciated! 🙂

Andy

UPDATE

From the suggestion below, I’ve tried it via command line and it seems to work fine, perhaps there some config I’m missing?

UPDATE

I’ve found the command M-x Occur which seems to do much the same as I would image grep does. Are there many extra benefits to using grep over occur if I can’t get this working?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T21:29:01+00:00Added an answer on May 14, 2026 at 9:29 pm

    Download the dependencies zip file and copy libiconv2.dll, libintl3.dll, pcre3.dll and regex2.dll to Emacs’ bin directory.

    Copy grep.exe and find.exe to Emacs’ own bin directory. Emacs will then use these files over any other executables with the same name, including Windows’ own find utility.

    Note: if you don’t use the installer, you need to download the dependencies zip file as well and copy libiconv2.dll, libintl3.dll, pcre3.dll and regex2.dll to Emacs’ bin directory, otherwise you may get an “exited abnormally with code 53” error message.

    EmacsWiki: Grep Mode

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a bunch of posts stored in text files formatted in yaml/textile (from
I am trying to loop through a bunch of documents I have to put
I'm making a simple page using Google Maps API 3. My first. One marker
I have some data like this: 1 2 3 4 5 9 2 6

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.