Subject: emacs on Windows 7

From: Ben Straub <[email-masked]>
Date: Sat, 30 May 2009 07:47:25 -0700

It seems Microsoft has anticipated this.

The fix is for all executables that want to stack their icons to set
an Application Identifier, as documented at
http://msdn.microsoft.com/en-us/library/dd378459.aspx. Just have
emacsclientw.exe and emacs.exe call
SetCurrentProcessExplicitAppUserModelID with the same string (I
suggest "GNU.Emacs") during their startup.

 I've submitted a patch to emacs-devel
(http://lists.gnu.org/archive/html/emacs-devel/2009-05/msg00461.html),
though I wasn't aware this bug existed then.