From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: nyc4bos@aol.com Newsgroups: gmane.emacs.bugs Subject: bug#8885: 24.0.50; Temporary failure with `select-frame-by-name' on Windows Date: Fri, 17 Jun 2011 14:18:39 -0400 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1308335013 6562 80.91.229.12 (17 Jun 2011 18:23:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 17 Jun 2011 18:23:33 +0000 (UTC) To: 8885@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 17 20:23:29 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QXdhX-0003zo-PU for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Jun 2011 20:23:28 +0200 Original-Received: from localhost ([::1]:38918 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QXdhW-0001lS-V2 for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Jun 2011 14:23:27 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:32810) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QXdhC-0001kT-1s for bug-gnu-emacs@gnu.org; Fri, 17 Jun 2011 14:23:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QXdh9-0001ob-LD for bug-gnu-emacs@gnu.org; Fri, 17 Jun 2011 14:23:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35977) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QXdh8-0001nr-UE for bug-gnu-emacs@gnu.org; Fri, 17 Jun 2011 14:23:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QXdh8-0003XQ-6S; Fri, 17 Jun 2011 14:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: nyc4bos@aol.com Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Jun 2011 18:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 8885 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.130833494413552 (code B ref -1); Fri, 17 Jun 2011 18:23:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 17 Jun 2011 18:22:24 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QXdgV-0003WX-7s for submit@debbugs.gnu.org; Fri, 17 Jun 2011 14:22:23 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QXdgS-0003WK-MH for submit@debbugs.gnu.org; Fri, 17 Jun 2011 14:22:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QXdgL-0001XD-9m for submit@debbugs.gnu.org; Fri, 17 Jun 2011 14:22:15 -0400 Original-Received: from lists.gnu.org ([140.186.70.17]:51829) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QXdgK-0001Wf-1C for submit@debbugs.gnu.org; Fri, 17 Jun 2011 14:22:12 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:60456) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QXdgH-0001W7-Na for bug-gnu-emacs@gnu.org; Fri, 17 Jun 2011 14:22:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QXdgF-0001Ue-Rq for bug-gnu-emacs@gnu.org; Fri, 17 Jun 2011 14:22:09 -0400 Original-Received: from imr-mb01.mx.aol.com ([64.12.207.164]:45448) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QXdgF-0001U5-GO for bug-gnu-emacs@gnu.org; Fri, 17 Jun 2011 14:22:07 -0400 Original-Received: from mtaout-mb01.r1000.mx.aol.com (mtaout-mb01.r1000.mx.aol.com [172.29.41.65]) by imr-mb01.mx.aol.com (8.14.1/8.14.1) with ESMTP id p5HILxXD028051 for ; Fri, 17 Jun 2011 14:21:59 -0400 Original-Received: from RPLPUBBAS07 (unknown [63.117.244.126]) by mtaout-mb01.r1000.mx.aol.com (MUA/Third Party Client Interface) with ESMTPA id 12C62E0000E8 for ; Fri, 17 Jun 2011 14:21:58 -0400 (EDT) x-aol-global-disposition: G X-AOL-SCOLL-SCORE: 0:2:422908896:93952408 X-AOL-SCOLL-URL_COUNT: 0 x-aol-sid: 3039ac1d29414dfb9b46299f X-AOL-IP: 63.117.244.126 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 17 Jun 2011 14:23:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:47270 Archived-At: On Windows, sometimes when executing: emacsclient -n --eval "(select-frame-by-name \"emacs@HOSTNAME\")" I get the error: C:\emacs-24.0.50\bin\emacsclient.exe: connected to remote socket at XX.XX.X.XXX AllowSetForegroundWindow failed with w32 error 5: Access is denied. This error appears to occur when Emacs is "busy" (for example when in the middle of loading a large .el file, etc) and executing the emacsclient `--eval' command from a Windows command prompt. A subsequent invocation of that same emacsclient command will work just fine (presumably Emacs is now no longer "busy") and bring the specified Emacs frame to the forefront. In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) of 2011-06-13 on 3249CTO Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (4.5) --no-opt --cflags -Ic:/build/include' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US value of $XMODIFIERS: nil locale-coding-system: cp1252 default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: jabber-activity-mode: t show-paren-mode: t tooltip-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 line-number-mode: t transient-mark-mode: t Recent input: x l o a d SPC f SPC d e b g . C-y SPC Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug offlineimap google-weather url-cache google-maps google-maps-static google-maps-geocode google-maps-base json pcmpl-ssh executable pcomplete jabber jabber-libnotify dbus jabber-awesome jabber-osd jabber-wmii jabber-xmessage jabber-festival jabber-sawfish jabber-ratpoison jabber-screen jabber-socks5 jabber-ft-server jabber-si-server jabber-ft-client jabber-ft-common jabber-si-client jabber-si-common jabber-feature-neg jabber-truncate jabber-time jabber-autoaway jabber-vcard-avatars jabber-chatstates jabber-events jabber-vcard jabber-avatar jabber-activity jabber-watch jabber-modeline jabber-ahc-presence jabber-ahc jabber-version jabber-ourversion jabber-muc-nick-completion hippie-exp comint ring jabber-browse jabber-search jabber-register jabber-roster jabber-presence jabber-muc jabber-muc-nick-coloring hexrgb jabber-newdisco jabber-widget jabber-disco jabber-chat jabber-history jabber-chatbuffer jabber-alert jabber-iq jabber-core jabber-console sgml-mode ewoc jabber-keymap jabber-sasl sasl sasl-anonymous sasl-login sasl-plain fsm jabber-logon jabber-conn srv dns starttls tls jabber-xml xml jabber-menu jabber-autoloads jabber-util epa-file epa derived epg epg-config sieve sieve-mode sieve-manage nnir gnus-sum gnus-group mm-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-util url-parse auth-source eieio byte-opt bytecomp byte-compile cconv macroexp assoc password-cache url-vars mailcap gnus-undo nnmail mail-source gnus-start gnus-spec gnus-int gnus-range message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus gnus-ems nnoo nnheader gnus-util time-date mm-util mail-prsvr mail-utils pcase advice advice-preload pager w3m-search w3m help-fns browse-url doc-view easymenu jka-compr dired regexp-opt image-mode timezone w3m-hist w3m-fb bookmark-w3m w3m-ems w3m-ccl ccl w3m-favicon w3m-image w3m-proc w3m-util wid-edit w3m-wget server easy-mmode cl edmacro kmacro paren tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs)