unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#13954: Emacs for Windows: runemacs.exe launches Emacs behind other windows
@ 2013-03-14 13:35 Andrew Pennebaker
  2013-03-14 16:40 ` Eli Zaretskii
  0 siblings, 1 reply; 9+ messages in thread
From: Andrew Pennebaker @ 2013-03-14 13:35 UTC (permalink / raw)
  To: 13954

[-- Attachment #1: Type: text/plain, Size: 112 bytes --]

This occurs in Windows XP up to Windows 8, with Emacs v24.2.1.

-- 
Cheers,

Andrew Pennebaker
www.yellosoft.us

[-- Attachment #2: Type: text/html, Size: 261 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#13954: Emacs for Windows: runemacs.exe launches Emacs behind other windows
  2013-03-14 13:35 bug#13954: Emacs for Windows: runemacs.exe launches Emacs behind other windows Andrew Pennebaker
@ 2013-03-14 16:40 ` Eli Zaretskii
  2013-03-14 22:35   ` Daniel Colascione
  0 siblings, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2013-03-14 16:40 UTC (permalink / raw)
  To: Andrew Pennebaker; +Cc: 13954

> Date: Thu, 14 Mar 2013 09:35:29 -0400
> From: Andrew Pennebaker <andrew.pennebaker@gmail.com>
> 
> 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?





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#13954: Emacs for Windows: runemacs.exe launches Emacs behind other windows
  2013-03-14 16:40 ` Eli Zaretskii
@ 2013-03-14 22:35   ` Daniel Colascione
  2013-03-15 11:07     ` Eli Zaretskii
  0 siblings, 1 reply; 9+ messages in thread
From: Daniel Colascione @ 2013-03-14 22:35 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 13954

[-- Attachment #1: Type: text/plain, Size: 565 bytes --]

On 3/14/2013 9:40 AM, Eli Zaretskii wrote:
>> Date: Thu, 14 Mar 2013 09:35:29 -0400
>> From: Andrew Pennebaker <andrew.pennebaker@gmail.com>
>>
>> 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.



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#13954: Emacs for Windows: runemacs.exe launches Emacs behind other windows
  2013-03-14 22:35   ` Daniel Colascione
@ 2013-03-15 11:07     ` Eli Zaretskii
       [not found]       ` <CAHXt_SWZbGU9S_FVCUB_rQ2y6WiMXZvDaJePAnY67GOi8ziKuA@mail.gmail.com>
  0 siblings, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2013-03-15 11:07 UTC (permalink / raw)
  To: Daniel Colascione; +Cc: 13954

> Date: Thu, 14 Mar 2013 15:35:56 -0700
> From: Daniel Colascione <dancol@dancol.org>
> CC: Andrew Pennebaker <andrew.pennebaker@gmail.com>, 
>  13954@debbugs.gnu.org
> 
> On 3/14/2013 9:40 AM, Eli Zaretskii wrote:
> >> Date: Thu, 14 Mar 2013 09:35:29 -0400
> >> From: Andrew Pennebaker <andrew.pennebaker@gmail.com>
> >>
> >> 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.

IIRC, if the conditions are not met, the taskbar button that
corresponds to the Emacs frame should flash.  Andrew, do you see this
happening when you launch Emacs?





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#13954: Emacs for Windows: runemacs.exe launches Emacs behind other windows
       [not found]       ` <CAHXt_SWZbGU9S_FVCUB_rQ2y6WiMXZvDaJePAnY67GOi8ziKuA@mail.gmail.com>
@ 2013-03-15 20:07         ` Eli Zaretskii
       [not found]           ` <CAHXt_SUMEev2_mp+0Fopbo-YCPsUC9jfUp2RFN6eJ6XvhvfnFQ@mail.gmail.com>
  0 siblings, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2013-03-15 20:07 UTC (permalink / raw)
  To: Andrew Pennebaker; +Cc: 13954


[Please keep the bug number on the CC list.]

> Date: Fri, 15 Mar 2013 15:34:23 -0400
> From: Andrew Pennebaker <andrew.pennebaker@gmail.com>
> 
> I do not see any taskbar buttons flashing. Emacs launches behind the
> terminal, like it's hiding from me.

Then perhaps you made some local changes on those Windows systems,
which modify the way the windows are managed.  I've never seen such a
problem in years.

What happens if you invoke Emacs in some other way, like type
"runemacs RET" on the cmd command line or from the Start->Run dialog,
or click on a desktop shortcut to runemacs?  What happens when you
invoke emacs.exe instead of runemacs.exe?





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#13954: Emacs for Windows: runemacs.exe launches Emacs behind other windows
       [not found]           ` <CAHXt_SUMEev2_mp+0Fopbo-YCPsUC9jfUp2RFN6eJ6XvhvfnFQ@mail.gmail.com>
@ 2013-03-15 21:28             ` Eli Zaretskii
  2013-03-15 21:31               ` Eli Zaretskii
  0 siblings, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2013-03-15 21:28 UTC (permalink / raw)
  To: Andrew Pennebaker; +Cc: 13954


[Once again, PLEASE keep the bug number on the CC list.]

> Date: Fri, 15 Mar 2013 17:11:09 -0400
> From: Andrew Pennebaker <andrew.pennebaker@gmail.com>
> 
> Have you tried using Emacs from Git Bash <http://msysgit.github.com/>?

No.  But I tried that now, and I still cannot reproduce the problem.
What version of msysgit do you have installed?  Also, what do the
following 2 commands produce inside Emacs?

  M-: system-configuration RET
  M-: system-configuration-options RET

> I've been running Emacs as follows:
> 
> Start -> Run -> gb -> runemacs <file|dir> RET
> "gb.bat" is a straightforward script to start a Git Bash terminal.

Please show the contents of that batch file.

Please also try the other methods I mentioned of launching runemacs,
and see if the problem persists then.





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#13954: Emacs for Windows: runemacs.exe launches Emacs behind other windows
  2013-03-15 21:28             ` Eli Zaretskii
@ 2013-03-15 21:31               ` Eli Zaretskii
       [not found]                 ` <CAHXt_SWCce7m_jOJ6Ejofq6G8ArgDD=V7jwjbBcTT2XiXGS6EQ@mail.gmail.com>
  0 siblings, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2013-03-15 21:31 UTC (permalink / raw)
  To: andrew.pennebaker; +Cc: 13954

> Date: Fri, 15 Mar 2013 23:28:32 +0200
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: 13954@debbugs.gnu.org
> 
> What version of msysgit do you have installed?  Also, what do the
> following 2 commands produce inside Emacs?
> 
>   M-: system-configuration RET
>   M-: system-configuration-options RET
> 
> > I've been running Emacs as follows:
> > 
> > Start -> Run -> gb -> runemacs <file|dir> RET
> > "gb.bat" is a straightforward script to start a Git Bash terminal.
> 
> Please show the contents of that batch file.
> 
> Please also try the other methods I mentioned of launching runemacs,
> and see if the problem persists then.

And one more request: what happens if you invoke "runemacs -Q"?





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#13954: Emacs for Windows: runemacs.exe launches Emacs behind other windows
       [not found]                 ` <CAHXt_SWCce7m_jOJ6Ejofq6G8ArgDD=V7jwjbBcTT2XiXGS6EQ@mail.gmail.com>
@ 2013-03-16  7:46                   ` Eli Zaretskii
  2013-04-04 17:06                     ` Glenn Morris
  0 siblings, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2013-03-16  7:46 UTC (permalink / raw)
  To: Andrew Pennebaker; +Cc: 13954


Once again, PLEASE keep the bug address CC'ed to your messages, so
that this discussion is recorded by the bug tracker.

> Date: Fri, 15 Mar 2013 18:54:11 -0400
> From: Andrew Pennebaker <andrew.pennebaker@gmail.com>
> 
> I use Emacs at work and at home. At work, I use Windows XP, at home, I use
> Windows 8. I use the same .emacs configuration file for both.
> 
> The only difference is Windows XP: That one has Emacs appearing behind
> other windows. I cannot reproduce this on my Windows 8 computer.

I'm confused.  The original report said:

  This occurs in Windows XP up to Windows 8, with Emacs v24.2.1.

I though this meant you see this on XP, Windows 7, and Windows 8.  Did
I misunderstand?

I don't have access to Windows 8, but since you say the problem
doesn't exist there, that's not important.

> I thought you would be curious about the gb.bat, in case it caused
> conflicts. The contents of gb.bat are:
> 
> sh --login -i

That's what I have in the Properties of the desktop icon that opens
the MsysGit Bash terminal window on my XP system.  So we do the same
thing to start the shell.  And I cannot reproduce the problem even
when I invoke runemacs from MsysGit Bash.

> That's it. And I use it at work and at home. I repeat, the problem appears
> to be limited to Windows XP.

Can you please answer my other questions:

 . What version of MsysGit do you have installed on XP?

 . Does the problem happen when you invoke "runemacs -Q file"?

 . Does the problem happen when you invoke runemacs NOT from the
   MsysGit shell?

Thanks.





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#13954: Emacs for Windows: runemacs.exe launches Emacs behind other windows
  2013-03-16  7:46                   ` Eli Zaretskii
@ 2013-04-04 17:06                     ` Glenn Morris
  0 siblings, 0 replies; 9+ messages in thread
From: Glenn Morris @ 2013-04-04 17:06 UTC (permalink / raw)
  To: 13954-done


No response to request for more information.
Feel free to reopen if you get that info.





^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-04-04 17:06 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-14 13:35 bug#13954: Emacs for Windows: runemacs.exe launches Emacs behind other windows Andrew Pennebaker
2013-03-14 16:40 ` Eli Zaretskii
2013-03-14 22:35   ` Daniel Colascione
2013-03-15 11:07     ` Eli Zaretskii
     [not found]       ` <CAHXt_SWZbGU9S_FVCUB_rQ2y6WiMXZvDaJePAnY67GOi8ziKuA@mail.gmail.com>
2013-03-15 20:07         ` Eli Zaretskii
     [not found]           ` <CAHXt_SUMEev2_mp+0Fopbo-YCPsUC9jfUp2RFN6eJ6XvhvfnFQ@mail.gmail.com>
2013-03-15 21:28             ` Eli Zaretskii
2013-03-15 21:31               ` Eli Zaretskii
     [not found]                 ` <CAHXt_SWCce7m_jOJ6Ejofq6G8ArgDD=V7jwjbBcTT2XiXGS6EQ@mail.gmail.com>
2013-03-16  7:46                   ` Eli Zaretskii
2013-04-04 17:06                     ` Glenn Morris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).