From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Novimir Pablant Newsgroups: gmane.emacs.bugs Subject: bug#5486: 23.1.91; emacsclient -c not working on windows Date: Thu, 28 Jan 2010 01:41:59 -0800 Message-ID: <4B615BE7.6000302@amicitas.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1264682782 5426 80.91.229.12 (28 Jan 2010 12:46:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Jan 2010 12:46:22 +0000 (UTC) Cc: amicitas@gmail.com To: 5486@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 28 13:46:15 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NaTl2-0006ga-Ts for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Jan 2010 13:46:09 +0100 Original-Received: from localhost ([127.0.0.1]:57185 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NaTkt-0000Q0-4k for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Jan 2010 07:45:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NaRKF-0006gc-K2 for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2010 05:10:11 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NaRKA-0006ek-Hx for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2010 05:10:11 -0500 Original-Received: from [199.232.76.173] (port=39907 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NaRKA-0006eR-3q for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2010 05:10:06 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46900) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NaRK9-0005D7-Ae for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2010 05:10:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NaQvv-0003gQ-EC; Thu, 28 Jan 2010 04:45:03 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Novimir Pablant Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Jan 2010 09:45:03 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: report 5486 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: X-Debbugs-Original-To: emacs-pretest-bug@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.126467189514122 (code B ref -1); Thu, 28 Jan 2010 09:45:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Jan 2010 09:44:55 +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 1NaQvm-0003fj-Oa for submit@debbugs.gnu.org; Thu, 28 Jan 2010 04:44:55 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NaQtA-0003eL-2W for submit@debbugs.gnu.org; Thu, 28 Jan 2010 04:42:12 -0500 Original-Received: from mail.gnu.org ([199.232.76.166]:36200 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NaQt7-0005W5-97 for emacs-pretest-bug@gnu.org; Thu, 28 Jan 2010 04:42:09 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NaQt6-0007t6-0s for emacs-pretest-bug@gnu.org; Thu, 28 Jan 2010 04:42:09 -0500 Original-Received: from pop-borzoi.atl.sa.earthlink.net ([207.69.195.70]:54179) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NaQt5-0007s4-Ld for emacs-pretest-bug@gnu.org; Thu, 28 Jan 2010 04:42:07 -0500 Original-Received: from user-0c9hbj5.cable.mindspring.com ([24.152.174.101] helo=[192.168.1.58]) by pop-borzoi.atl.sa.earthlink.net with esmtp (Exim 3.36 #1) id 1NaQsz-0004UD-00; Thu, 28 Jan 2010 04:42:01 -0500 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 X-detected-operating-system: by monty-python.gnu.org: Solaris 8 (1) X-Spam-Score: -6.6 (------) X-Mailman-Approved-At: Thu, 28 Jan 2010 04:44:54 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list X-Spam-Score: -6.6 (------) Resent-Date: Thu, 28 Jan 2010 04:45:03 -0500 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Thu, 28 Jan 2010 07:45:46 -0500 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:34771 Archived-At: Running emacsclientw.exe does not behave as expected on windows. The command that I am attempting to run is: emacsclientw.exe -c FILE The behavior I expect is for the file to be opened in a new frame. The actual behavior is to open the buffer in an existing frame (if present). In the windows environmental variables I have set: ALTERNATE_EDITOR=C:\Programs\text\emacs\bin\runemacs.exe In my .emacs file I have added: (server-start) Here is the behavior that I have observed: 1. Emacs is not running. "emacsclientw.exe -c", starts emacs as expected. 2. Emacs running with an existing frame. "emacsclientw.exe -c", nothing happens. "emacscilentw.exe FILE", file is opened in an existing frame. "emacscilentw.exe -c FILE", nothing happens, the file is not opened. "emacscilentw.exe -c -n FILE", file is opened in the existing frame (new frame expected). If I open up a windows command prompt (cmd.exe) and type "emacscilent -c [-n]" I get the following error: *ERROR*: Not using an ASCII terminal now; cannot make a new ASCII frame This error is not displayed with emacscilentw, otherwise the behavior is the same. If I run the commands from a cygwin xterm terminal (instead of using the windows terminal), then both emacsclient.exe and emacsclientw.exe work as expected. No errors are reported. Note that this is a normal windows installation of emacs, NOT a cygwin installation. I have tested this with emacs-23.1.0 and emacs-23.1.91. Novimir Pablant amicitas@gmail.com In GNU Emacs 23.1.91.1 (i386-mingw-nt5.1.2600) of 2010-01-02 on PRETEST Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4)' 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: ENU value of $XMODIFIERS: nil locale-coding-system: cp1252 default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: show-paren-mode: t msb-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 global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x M-x M-x r e p o r t - e m a c s - b u g Recent messages: Loading font-lock...done Loading msb...done Loading paren...done For information about GNU Emacs and the GNU system, type C-h C-a. repeat-complex-command: There are no previous complex commands to repeat Load-path shadows: ~/.emacs.d/lisp/longlines hides c:/Programs/text/emacs/lisp/longlines ~/.emacs.d/lisp/idlwave hides c:/Programs/text/emacs/lisp/progmodes/idlwave ~/.emacs.d/lisp/idlw-toolbar hides c:/Programs/text/emacs/lisp/progmodes/idlw-toolbar ~/.emacs.d/lisp/idlw-shell hides c:/Programs/text/emacs/lisp/progmodes/idlw-shell ~/.emacs.d/lisp/idlw-help hides c:/Programs/text/emacs/lisp/progmodes/idlw-help ~/.emacs.d/lisp/idlw-complete-structtag hides c:/Programs/text/emacs/lisp/progmodes/idlw-complete-structtag Features: (shadow sort mail-extr message smtpmail sendmail regexp-opt ecomplete rfc822 mml easymenu mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils emacsbug paren msb cus-start cus-load server 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 mldrag 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 loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs)