On 3/14/2013 9:40 AM, Eli Zaretskii wrote: >> Date: Thu, 14 Mar 2013 09:35:29 -0400 >> From: Andrew Pennebaker >> >> This occurs in Windows XP up to Windows 8, with Emacs v24.2.1. > > I cannot reproduce this, neither on XP nor on Windows 7. > > Could you try the latest release 24.3? How are you launching runemacs.exe? Windows has focus stealing prevention. Please review the rules for SetForegroundWindow on MSDN and see whether your use case satisfies the conditions mentioned for bringing a window to the fore.