This question How to start Emacs without the cmd.exe window (on MS Windows)? adresses how you start emacs without a cmd window in the first place.

This works out nicely until you pin emacs to your task bar, close it and open it again. Now you have the pinned emacs icon and another icon (not grouped with the pinned one) for the actual emacs frame.

How do I convince Windows to group these two icons (and all further emacs frames) together?

1 Answer 1

  1. Start Emacs by running runemacs.exe as describe in the link in the question above.
  2. Right-click on the Emacs icon and pin it to the taskbar.
  3. Right-click on the Emacs icon again, then right-click on the Emacs icon in the popup and select Properties.
  4. In the Properties dialog, alter the Target to point to the runemacs.exe you want to use to start a new Emacs instance.
  5. Click OK.
  • "Right-click -> pin" didn't work for me; dragging the good icon onto the taskbar did.
    – GLRoman
    Commented Dec 20, 2021 at 5:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.