From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Anders Lindgren Newsgroups: gmane.emacs.bugs Subject: bug#23687: 25.0.94; Emacsclient doesn't raise frame on win32 Date: Fri, 3 Jun 2016 09:55:26 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c1244f6b227c705345b0b2a X-Trace: ger.gmane.org 1464943326 31421 80.91.229.3 (3 Jun 2016 08:42:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 3 Jun 2016 08:42:06 +0000 (UTC) To: 23687@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 03 10:41:58 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1b8kg0-0005ee-JD for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Jun 2016 10:41:56 +0200 Original-Received: from localhost ([::1]:53321 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8kfz-0008MH-R2 for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Jun 2016 04:41:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42057) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8jxc-0000ZJ-W3 for bug-gnu-emacs@gnu.org; Fri, 03 Jun 2016 03:56:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b8jxa-0005HW-Nl for bug-gnu-emacs@gnu.org; Fri, 03 Jun 2016 03:56:04 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40007) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8jxa-0005HS-KH for bug-gnu-emacs@gnu.org; Fri, 03 Jun 2016 03:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b8jxa-00045g-D1 for bug-gnu-emacs@gnu.org; Fri, 03 Jun 2016 03:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Anders Lindgren Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Jun 2016 07:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23687 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.146494054015696 (code B ref -1); Fri, 03 Jun 2016 07:56:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Jun 2016 07:55:40 +0000 Original-Received: from localhost ([127.0.0.1]:52344 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b8jxE-000455-9y for submit@debbugs.gnu.org; Fri, 03 Jun 2016 03:55:40 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50985) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b8jxC-00044t-Tq for submit@debbugs.gnu.org; Fri, 03 Jun 2016 03:55:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b8jx6-0005Dt-3N for submit@debbugs.gnu.org; Fri, 03 Jun 2016 03:55:33 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:53579) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8jx5-0005Dj-II for submit@debbugs.gnu.org; Fri, 03 Jun 2016 03:55:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41929) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8jx2-0008Ul-Pa for bug-gnu-emacs@gnu.org; Fri, 03 Jun 2016 03:55:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b8jx1-0005D5-Ha for bug-gnu-emacs@gnu.org; Fri, 03 Jun 2016 03:55:28 -0400 Original-Received: from mail-vk0-x233.google.com ([2607:f8b0:400c:c05::233]:35948) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8jx1-0005Cu-BJ for bug-gnu-emacs@gnu.org; Fri, 03 Jun 2016 03:55:27 -0400 Original-Received: by mail-vk0-x233.google.com with SMTP id a6so104143973vkg.3 for ; Fri, 03 Jun 2016 00:55:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=bglpIbdmZZIbfhqzlN6e8zgo/ub51JHNVhkf5PZNP5g=; b=dZUuB6pBrfJF5ZbO3QC6loJ0xSsE6V33eKuQQ9xVq0XRdWE2fxbLUa0lrrmNvSAKdM HfyD9hpY4APzkPSONgcrub1yJohQEgaTR5McUM6HAIaewLJKSGbgZReeTZnsmz6lIhJi v2LGO3IIFgLbS68qE/yvY26X18MnT9JZsqoDIjd6qcYjGyvy1q7hr+ApeVhq6uTJp8Pg cCujXJc+2UAoUjo/X7Fqc+SGJvhj/+13I/VDlK8Er3tSJNofJJ0eDrvir7eVqgJid0bH 2c7UkxTvCzVT75GX86Zh70qzbaYjjoIFTtoQGfUf/aXmicznt8nxwZe1+cOGiz8V/C1S rhdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=bglpIbdmZZIbfhqzlN6e8zgo/ub51JHNVhkf5PZNP5g=; b=Kvy68tOlO3cw9TFpUODgIBeWJWkOTVKO90KaUWgRZDFAE2clP7D0AXcBL1w069O2MV SSgTVwoC9zYhC4GycwIS6mPzWO69ettS19d4yCo6L7rt5HDYGwjOgluTIimXHuRepbp4 9Hd3mgf8ZXtxb2u+oAMYdvMxlWD/dx+zrC+uVHa6/G8GkIRaLQxwFl+U9tj1SKVI19H3 abknuzNPgAp26xgbZ9nRGdlBhmKBdHbobZf3h7JQlXcv8adrOseHq1N5DHMiiCq5NcZU zsvqRARq3eymT3VaHsF6NLoR/S2MXauuVbgTCquTl5pJoVxkUX6FMFgqP+dzQdWQ01PZ a+Jw== X-Gm-Message-State: ALyK8tKvQ7OvHiq9x0b6Uif5+aBx2S3MkjT/TijJkBE6mJfMvzOZDOj+z6wk1rUVcOvDgPydzchBdOok0ZA9Lg== X-Received: by 10.159.39.7 with SMTP id a7mr860598uaa.59.1464940526444; Fri, 03 Jun 2016 00:55:26 -0700 (PDT) Original-Received: by 10.31.216.195 with HTTP; Fri, 3 Jun 2016 00:55:26 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:119004 Archived-At: --94eb2c1244f6b227c705345b0b2a Content-Type: text/plain; charset=UTF-8 Hi! When running under MS-Windows, `emacsclient' doesn't raise the Emacs frame above other non-Emacs windows. Under other system (like NS) it does. runemacs -Q M-x start-server RET Place another window on top of the Emacs frame In a command-line window: emacslient . RET Now, the Emacs icon in the Windows task bar is highlighted. When clicking on it, the entry for the frame blinks. However, the Emacs frame is still behind the other window. What I expected was that the frame should be brought to the front. I also noticed that on Windows, `(raise-frame)' only raises the Emacs frame above other Emacs frames but not above other non-Emacs windows. -- Anders Lindgren In GNU Emacs 25.0.94.2 (x86_64-w64-mingw32) of 2016-05-26 built on KAEL Windowing system distributor 'Microsoft Corp.', version 6.1.7601 Configured using: 'configure --prefix=/tmp/emacs --without-imagemagick 'CFLAGS=-O2 -fomit-frame-pointer -g0'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND DBUS NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS Important settings: value of $LANG: SVE locale-coding-system: cp1252 Major mode: Dired by name Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. When done with a buffer, type C-x # [2 times] Making completion list... Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message format-spec rfc822 mml mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr mail-utils dired server time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote w32notify dbusbind w32 multi-tty make-network-process emacs) Memory information: ((conses 16 91203 6862) (symbols 56 19738 0) (miscs 48 49 215) (strings 32 16268 4905) (string-bytes 1 449333) (vectors 16 11872) (vector-slots 8 424457 5050) (floats 8 160 98) (intervals 56 505 47) (buffers 976 15)) --94eb2c1244f6b227c705345b0b2a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi!

When running under MS-Wi= ndows, `emacsclient' doesn't raise the Emacs frame above other non-= Emacs windows. Under other system (like NS) it does.

=C2=A0 =C2=A0 runemacs -Q
=C2=A0 =C2=A0 M-x start-server RET
=C2=A0 =C2=A0 Place another window on top of the Emacs frame
=
=C2=A0 =C2=A0 In a command-line window: emacslient . RET
Now, the Emacs icon in the Windows task bar is highlighted. Whe= n clicking on it, the entry for the frame blinks. However, the Emacs frame = is still behind the other window.

What I expected = was that the frame should be brought to the front.

I also noticed that on Windows, `(raise-frame)' only raises the Emacs = frame above other Emacs frames but not above other non-Emacs windows.

=C2=A0 =C2=A0 -- Anders Lindgren


In GNU Emacs 25.0.94.2 (x86_64-w64-mingw32)
=C2=A0of 2016-05-26 built on KAEL
Windowing system distributor &= #39;Microsoft Corp.', version 6.1.7601
Configured using:
=C2=A0'configure --prefix=3D/tmp/emacs --without-imagemagick '= ;CFLAGS=3D-O2
=C2=A0-fomit-frame-pointer -g0''
=
Configured features:
XPM JPEG TIFF GIF PNG RSVG SO= UND DBUS NOTIFY ACL GNUTLS LIBXML2 ZLIB
TOOLKIT_SCROLL_BARS
=

Important settings:
=C2=A0 value of $LANG: SV= E
=C2=A0 locale-coding-system: cp1252

Ma= jor mode: Dired by name

Minor modes in effect:
=C2=A0 tooltip-mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mode: t
=C2=A0 menu-bar-mode: t
= =C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mod= e: t
=C2=A0 auto-compression-mode: t
=C2=A0 buffer-read= -only: t
=C2=A0 line-number-mode: t
=C2=A0 transient-ma= rk-mode: t

Recent messages:
For informat= ion about GNU Emacs and the GNU system, type C-h C-a.
When done w= ith a buffer, type C-x # [2 times]
Making completion list...

Load-path shadows:
None found.
Features:
(shadow sort mail-extr emacsbug message for= mat-spec rfc822 mml mml-sec
password-cache epg epg-config gnus-ut= il mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gm= m-utils mailheader sendmail rfc2047
rfc2045 ietf-drums mm-util he= lp-fns help-mode easymenu cl-loaddefs pcase
cl-lib mail-prsvr mai= l-utils dired server time-date mule-util tooltip
eldoc electric u= niquify ediff-hook vc-hooks lisp-float-type mwheel
dos-w32 ls-lis= p disp-table w32-win w32-vars term/common-win tool-bar dnd
fontse= t image regexp-opt fringe tabulated-list newcomment elisp-mode
li= sp-mode prog-mode register page menu-bar rfn-eshadow timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame
<= div>cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai
tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romania= n
slovak czech european ethiopic indian cyrillic chinese charscri= pt
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffe= r
cl-preloaded nadvice loaddefs button faces cus-face macroexp fi= les
text-properties overlay sha1 md5 base64 format env code-pages= mule
custom widget hashtable-print-readable backquote w32notify = dbusbind w32
multi-tty make-network-process emacs)

=
Memory information:
((conses 16 91203 6862)
= =C2=A0(symbols 56 19738 0)
=C2=A0(miscs 48 49 215)
=C2= =A0(strings 32 16268 4905)
=C2=A0(string-bytes 1 449333)
=C2=A0(vectors 16 11872)
=C2=A0(vector-slots 8 424457 5050)
=C2=A0(floats 8 160 98)
=C2=A0(intervals 56 505 47)
<= div>=C2=A0(buffers 976 15))

--94eb2c1244f6b227c705345b0b2a--