I'm trying to upgrade my Emacs distribution from 25 to 27 (aspell no longer works... I use Emacs for org mode and LaTeX).

When I select runemacs.exe, emacs starts just fine. It uses my init file. I can drag/drop files to open in this Emacs instance.

However, when I attempt to open any file associated with emacs by double clicking it (which starts an Emacs instance), I get the following message:

enter image description here

  • How do I change the search directories?
  • Alternatively, are there other fixes for this?
  • Which executable are you double–clicking on? Try runemacs.exe, if you haven’t already.
    – db48x
    Oct 13 at 16:52
  • Thanks for the reply. I'm clicking on a file I want to open in emacs (such as any of my LaTeX files). Emacs will open if I run runemacs.exe. I get that error message when I'm directly choosing a file that I have associated with emacs. I think it's a PATH error, but I haven't figured it out... yet
    – MVH
    Oct 13 at 18:30
  • 1
    Check that your files are associated with runemacs.exe, and not one of the other executables.
    – db48x
    Oct 14 at 3:17
  • This sounds like you've associated the wrong runemacs.exe file. Barring that, the variable load-path contains all the paths being searched. Do you have a shortcut to the exe on your desktop? Does that work? Oct 20 at 2:16

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.