From unknown Sat Aug 16 21:20:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7210: 23.2; w32 emacsclient passes malformed -dir when run from a root directory Resent-From: Paul Du Bois Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Oct 2010 23:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7210 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 7210@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.128701395430958 (code B ref -1); Wed, 13 Oct 2010 23:53:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Oct 2010 23:52:34 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P6B7Z-00083H-8k for submit@debbugs.gnu.org; Wed, 13 Oct 2010 19:52:33 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P6B0X-00080H-8B for submit@debbugs.gnu.org; Wed, 13 Oct 2010 19:45:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P6B3v-00035z-7F for submit@debbugs.gnu.org; Wed, 13 Oct 2010 19:48:48 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,T_DKIM_INVALID,T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:51310) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P6B3v-00035v-4T for submit@debbugs.gnu.org; Wed, 13 Oct 2010 19:48:47 -0400 Received: from [140.186.70.92] (port=57916 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P6B3t-0005yp-Ui for bug-gnu-emacs@gnu.org; Wed, 13 Oct 2010 19:48:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P6B3s-00035h-Ln for bug-gnu-emacs@gnu.org; Wed, 13 Oct 2010 19:48:45 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:46050) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P6B3s-00035b-CN for bug-gnu-emacs@gnu.org; Wed, 13 Oct 2010 19:48:44 -0400 Received: by bwz19 with SMTP id 19so22411bwz.0 for ; Wed, 13 Oct 2010 16:48:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=MUefkVSLrGGJ8bKnW7tWS8fKZ0S97OC+qX8ZDQ4zVPE=; b=w0Bkfnhd7zA4o2J+VNvzgMGnSSICnQJ9sykTt6+H9pmq2kK14vhHWyiDxbOyKX4wSo JcNb8mgwZZEoL1BcWX9pO9ywHTBnVD04zQmCFfC9gw4kciP9SBBX0dwDt3F/CHQ2fUHR bO8s1emrLeCt8PNTBxmKGFVXCBZk/Dq9tSk4A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=IAfIa+dXSO7iUiaWLHkm3W/P7iLfLCRCwGMuFqEK3k3UnIhxketWvDcGh3dyBTwmPH KU6lP6+EV3dB4Gv3+x3aLx1NU7buyY3fjbUa5ET3Vcfb1fhRw8/beNdyTuBbRCC+RNqy ddps3dnGY3DyyQx8FDVEOz38EJ7eoQOc1/pCc= Received: by 10.204.102.68 with SMTP id f4mr8360701bko.30.1287013722726; Wed, 13 Oct 2010 16:48:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.82.79 with HTTP; Wed, 13 Oct 2010 16:48:11 -0700 (PDT) From: Paul Du Bois Date: Wed, 13 Oct 2010 16:48:11 -0700 Message-ID: Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.9 (-----) X-Mailman-Approved-At: Wed, 13 Oct 2010 19:52:33 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. Please describe exactly what actions triggered the bug and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': 1. run emacs -q 2. load-library "server" 3. setq server-log t 4. M-x server-start In a shell: [c:\dfp-stack]emacsclient -V emacsclient 23.2 [c:\dfp-stack]emacsclient -e nil *server* log shows: Wed Oct 13 16:35:06 2010 server <127.0.0.1:2260>: Received -auth [elided] -dir c:\dfp-stack/ -current-frame -eval nil [c:\dfp-stack]cd .. [C:\]emacsclient -e nil *server* log shows: Wed Oct 13 16:35:23 2010 server <127.0.0.1:2261>: Received -auth [elided] -dir C:\/ -current-frame -eval nil In a non-root directory (c:\dfp-stack) the -dir argument contains a single trailing slash. In a root directory (c:\) the -dir argument contains two trailing slashes. The user-visible symptom is that files edited in a root directory have an incorrect absolute path, one that looks like a UNC path. It causes emacs to hang while windows times out looking for a server. For example: [C:\dfp-stack]emacsclient -n P4CONFIG Wed Oct 13 16:40:57 2010 server <127.0.0.1:2265>: New file: c:/dfp-stack/P4CONFIG [C:\]emacsclient -n foo Wed Oct 13 16:14:30 2010 server <127.0.0.1:2205>: New file: //foo.txt If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file c:/apps/emacs-23.2/etc/DEBUG. In GNU Emacs 23.2.1 (i386-mingw-nt5.1.2600) of 2010-05-08 on G41R2F1 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/xpm/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: ENU value of $XMODIFIERS: nil locale-coding-system: cp1252 default enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: 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 blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-( C-x k n C-x k M-( l o a d - l i b r a r y SPC " s e r v e r " C-e C-j M-( s e t q SPC s e r v e r - l o g SPC t C-e C-j M-( s e r v e r - s t a t r t C-e C-j M-x s e r v e r - s t a r t C-x b SPC s e r M-x r e p o r t - e m Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. insert-parentheses: Buffer is read-only: # Preparing tutorial ... Save your position in the tutorial? (y or n) Tutorial position not saved Loading server...done Restarting server Load-path shadows: None found. Features: (shadow sort mail-extr message ecomplete rfc822 mml 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 server tutorial help-mode easymenu view 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) From unknown Sat Aug 16 21:20:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7210: 23.2; w32 emacsclient passes malformed -dir when run from a root directory Resent-From: Juanma Barranquero Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Oct 2010 02:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7210 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Paul Du Bois Cc: 7210@debbugs.gnu.org Received: via spool by 7210-submit@debbugs.gnu.org id=B7210.12870249106012 (code B ref 7210); Thu, 14 Oct 2010 02:56:02 +0000 Received: (at 7210) by debbugs.gnu.org; 14 Oct 2010 02:55:10 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P6DyI-0001Yv-2b for submit@debbugs.gnu.org; Wed, 13 Oct 2010 22:55:10 -0400 Received: from mail-iw0-f172.google.com ([209.85.214.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P6DyG-0001Yq-2o for 7210@debbugs.gnu.org; Wed, 13 Oct 2010 22:55:08 -0400 Received: by iwn10 with SMTP id 10so6888748iwn.3 for <7210@debbugs.gnu.org>; Wed, 13 Oct 2010 19:58:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=q26WYf+8CgCW+KQlCZFR46DPZ9yr1oJZDSVnw2kyJlE=; b=c3fKlEL8zOwtS8p47f6pyQi8MGkGezJrektriA7UbJ83Qa6Vn0pqO4+p/zPoax45ez ihnTo4UZyNzngYJu/1HrQ+CGTxdOuzZZZ7KJ2xLAdRrQ44bQCxcHE2/YdNX/4yAqGSht w7tdp/LoWjN5qfzgXrtO5P+hAdM29Pjyv6hiI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=O70DQT4/sMlfA0NGE/nCgorSkfPgs6oT6gxihJtQzHlcG6N4HBPkhSemN8X953EHgZ 4do98Ht8uiMLBWmyXM5aSF6YnfZTkh/qy/meAh+veESRP35Al6fb/4IemJw5mhpCzFq+ JMv5j3dZ+tQhcpXXlmmGqxhzK84kLbuDfl0nM= Received: by 10.231.174.136 with SMTP id t8mr7777283ibz.158.1287025119184; Wed, 13 Oct 2010 19:58:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.180.226 with HTTP; Wed, 13 Oct 2010 19:57:59 -0700 (PDT) In-Reply-To: References: From: Juanma Barranquero Date: Thu, 14 Oct 2010 04:57:59 +0200 Message-ID: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.7 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) On Thu, Oct 14, 2010 at 01:48, Paul Du Bois wrote: > In a non-root directory (c:\dfp-stack) the -dir argument contains a > single trailing slash. =C2=A0In a root directory (c:\) the -dir argument > contains two trailing slashes. I can reproduce this, though I don't think it's a bug (though it is ugly). > [C:\dfp-stack]emacsclient -n P4CONFIG > Wed Oct 13 16:40:57 2010 server <127.0.0.1:2265>: New file: > c:/dfp-stack/P4CONFIG > > [C:\]emacsclient -n foo > Wed Oct 13 16:14:30 2010 server <127.0.0.1:2205>: New file: //foo.txt I can reproduce this with 23.1, but not 23.2 or any later version: Thu Oct 14 04:35:56 2010 server <127.0.0.1:50376>: New file: c:/dfp-stack/P4CONFIG [...] Thu Oct 14 04:36:21 2010 server <127.0.0.1:50378>: New file: c:/foo [...] =C2=A0 =C2=A0 Juanma From unknown Sat Aug 16 21:20:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7210: 23.2; w32 emacsclient passes malformed -dir when run from a root directory Resent-From: Paul Du Bois Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Oct 2010 00:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7210 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juanma Barranquero Cc: 7210@debbugs.gnu.org Received: via spool by 7210-submit@debbugs.gnu.org id=B7210.128710420128368 (code B ref 7210); Fri, 15 Oct 2010 00:57:01 +0000 Received: (at 7210) by debbugs.gnu.org; 15 Oct 2010 00:56:41 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P6YbA-0007NV-V3 for submit@debbugs.gnu.org; Thu, 14 Oct 2010 20:56:41 -0400 Received: from mail-bw0-f44.google.com ([209.85.214.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P6Yb8-0007NO-Fe for 7210@debbugs.gnu.org; Thu, 14 Oct 2010 20:56:38 -0400 Received: by bwz14 with SMTP id 14so811712bwz.3 for <7210@debbugs.gnu.org>; Thu, 14 Oct 2010 18:00:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=bjVw6D8uQzifpvG3HFDJiMVbDTmbw2dr1K9ZI+mI9W8=; b=vxyKCDYXDkwPmGccV1LZIN/J9eFWApdKOA04jXfYI9/xTY3+Hd1wlPj6QsvqaWhpcV RgICNGmqPVqw6hgVaiOSHEedFGu4lBJ6ye/9dJQpYuYwAJRBy6Onp9jFjmfAhmKhyF8U MPjtUun12qsDG26Sho5DLRBs+IUyZdvX+eaPA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=pZZYDQgbjeFX1dlTCvMb90VUrktHToHDRMdDfe3kY/sXVvwivxuZv2Hp7i5JDN4eA5 R3MPNlBxyRlfByt2My6viSZrt03BVMt4S7MPYfIgsbHntsBXPvuUMTSw9w/Ytf4Rypo4 9sLMpucafj6ea96nZYLLxj+wlofqd8GC4qswY= Received: by 10.204.76.132 with SMTP id c4mr103861bkk.14.1287104411586; Thu, 14 Oct 2010 18:00:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.82.79 with HTTP; Thu, 14 Oct 2010 17:59:41 -0700 (PDT) In-Reply-To: References: From: Paul Du Bois Date: Thu, 14 Oct 2010 17:59:41 -0700 Message-ID: Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -4.3 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.7 (---) >> [C:\]emacsclient -n foo >> Wed Oct 13 16:14:30 2010 server <127.0.0.1:2205>: New file: //foo.txt > > I can reproduce this with 23.1, but not 23.2 or any later version: My apologies; I noticed the behavior in 23.1 and upgraded to 23.2 before reporting, but only re-verified the emacsclient symptom. From unknown Sat Aug 16 21:20:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7210: 23.2; w32 emacsclient passes malformed -dir when run from a root directory Resent-From: Juanma Barranquero Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Oct 2010 01:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7210 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Paul Du Bois Cc: 7210@debbugs.gnu.org Received: via spool by 7210-submit@debbugs.gnu.org id=B7210.128710444228519 (code B ref 7210); Fri, 15 Oct 2010 01:01:01 +0000 Received: (at 7210) by debbugs.gnu.org; 15 Oct 2010 01:00:42 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P6Yf4-0007Pw-5m for submit@debbugs.gnu.org; Thu, 14 Oct 2010 21:00:42 -0400 Received: from mail-iw0-f172.google.com ([209.85.214.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P6Yf2-0007Po-Gq for 7210@debbugs.gnu.org; Thu, 14 Oct 2010 21:00:40 -0400 Received: by iwn10 with SMTP id 10so228999iwn.3 for <7210@debbugs.gnu.org>; Thu, 14 Oct 2010 18:04:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=5Y9nCmCPFKAyX6t85uzq+bklZ9l4OdVX9moVCOC9NWU=; b=mSFiZEI4La0QxWqFudsNRqjTacOGc6Ng2Mw2r3iO0spMFQiMXTS7Ri0cfD4gcvUxCa ZGm2xrDasDePXfmcVEjun6N1X2VSF25QnjNM3NuK1XG+Ewn4Jsxhn7puHLQsHg8qP94H eqdr2O+Q1i6hv2gXach5vDN5NEkr6aXXxKuEs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=RgmspPNEn6IulVL1YMOj3w4U8KSRm6ExOdEAvG2RY1G6CHRHWQbfLnrwpkoXc4saSG gdd4/Tn1XTeNKsDzJUQW/BR0MfiMVdPJwc2VIRjn/+ommOXQrUGEGVfWcsoCVLBp1NhE VXbqeehPfDNeZv9SjZZnLftXNYNkdM9snxzaY= Received: by 10.231.157.212 with SMTP id c20mr9175340ibx.186.1287104643676; Thu, 14 Oct 2010 18:04:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.180.226 with HTTP; Thu, 14 Oct 2010 18:03:23 -0700 (PDT) In-Reply-To: References: From: Juanma Barranquero Date: Fri, 15 Oct 2010 03:03:23 +0200 Message-ID: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.7 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) On Fri, Oct 15, 2010 at 02:59, Paul Du Bois wrote: > I noticed the behavior in 23.1 and upgraded to 23.2 > before reporting, > but only re-verified the emacsclient symptom. Do you see the problem then with both emacs and emacsclient from release 23= .2? =C2=A0 =C2=A0 Juanma From unknown Sat Aug 16 21:20:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7210: 23.2; w32 emacsclient passes malformed -dir when run from a root directory Resent-From: Paul Du Bois Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Oct 2010 02:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7210 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juanma Barranquero Cc: 7210@debbugs.gnu.org Received: via spool by 7210-submit@debbugs.gnu.org id=B7210.128710820030058 (code B ref 7210); Fri, 15 Oct 2010 02:04:01 +0000 Received: (at 7210) by debbugs.gnu.org; 15 Oct 2010 02:03:20 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P6Zdg-0007ol-Bw for submit@debbugs.gnu.org; Thu, 14 Oct 2010 22:03:20 -0400 Received: from mail-bw0-f44.google.com ([209.85.214.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P6Zdf-0007og-5C for 7210@debbugs.gnu.org; Thu, 14 Oct 2010 22:03:19 -0400 Received: by bwz14 with SMTP id 14so839211bwz.3 for <7210@debbugs.gnu.org>; Thu, 14 Oct 2010 19:06:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=yt3qAKMnFXQRasKruPZZ2F3H1SpcMW1AVQFGCX73U9E=; b=mse+xf37r/3xvDIW+biFe0v79sGw272SYHi5STKWOmt7ntJH4cbPJs535IeF++RWna /amXypXLVWdkQwYKr4PfFYsbZeo6lgE/NjpS87M2eLqMwZpPWJhM7uK55pDmuix9tQ1s dGmC4Ja64tkH0UMMMTtGukfpR8KKuS6Pg8P4M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=LFmfka7EyQVuLpiTGR6ESxOYnoLzMLpzmxA7k5OBgPscMlQ2SDweWtZUusNG0+4igk 6R29d3pMCLdPbYEsX2fs1YAnwdKCAERVUUhN2MTB8fAZp9IY+1+OvItagJ6d7A5wUOik 9VgKG/L8UmtcFSkHraRB3Vdu3V+pACUUazfOg= Received: by 10.204.113.18 with SMTP id y18mr157849bkp.54.1287108410990; Thu, 14 Oct 2010 19:06:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.82.79 with HTTP; Thu, 14 Oct 2010 19:06:20 -0700 (PDT) In-Reply-To: References: From: Paul Du Bois Date: Thu, 14 Oct 2010 19:06:20 -0700 Message-ID: Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -3.4 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.3 (---) On Thu, Oct 14, 2010 at 6:03 PM, Juanma Barranquero wrote: > Do you see the problem then with both emacs and emacsclient from release 23.2? To clarify: the proper file is edited in release 23.2. From unknown Sat Aug 16 21:20:43 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Paul Du Bois Subject: bug#7210: closed (Re: bug#7210: 23.2; w32 emacsclient passes malformed -dir when run from a root directory) Message-ID: References: X-Gnu-PR-Message: they-closed 7210 X-Gnu-PR-Package: emacs Reply-To: 7210@debbugs.gnu.org Date: Fri, 15 Oct 2010 08:15:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1287130502-9338-1" This is a multi-part message in MIME format... ------------=_1287130502-9338-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #7210: 23.2; w32 emacsclient passes malformed -dir when run from a root dir= ectory which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 7210@debbugs.gnu.org. --=20 7210: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D7210 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1287130502-9338-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 7210-done) by debbugs.gnu.org; 15 Oct 2010 08:14:17 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P6fQe-0002QH-Ty for submit@debbugs.gnu.org; Fri, 15 Oct 2010 04:14:17 -0400 Received: from mail-iw0-f172.google.com ([209.85.214.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P6fQd-0002QB-G5 for 7210-done@debbugs.gnu.org; Fri, 15 Oct 2010 04:14:15 -0400 Received: by iwn10 with SMTP id 10so583698iwn.3 for <7210-done@debbugs.gnu.org>; Fri, 15 Oct 2010 01:17:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=JgdRzKfMB2+uvT+qUjEPcnZWSS2QaEEiDMaEbeRMPgc=; b=qucjKzrIHvpOKOAYtnLdlFOBOh+TOgr5OK5zYnt9RQAQkXmOmirrOiDWGRWNp1ccoJ uvvaZoYyJEZ1OPaDbLk6cP0WbmJ0RePktL93Du/Cm/WGgyfLCT2abjC1058vqfssvS6k f1bSlbbL8acLEvaqGct11+c8kHvd81fVAGDL4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=FNMrOhqdraDC2sPblupe4655yZ6iwb78EiIERfPMvTvbkWtPsQZCfJlj0UN46AFSTJ Wn5AMrQBIUb0ALJKWcTrod8J1qmz1enpF1vWu3gbYCRPnAuK6As3bL6blVSOFJdZ4zGh eIszdQobKpPMz1rXgeNJJiptqV6GkebC/+qUI= Received: by 10.231.152.146 with SMTP id g18mr293611ibw.48.1287130669693; Fri, 15 Oct 2010 01:17:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.180.226 with HTTP; Fri, 15 Oct 2010 01:09:46 -0700 (PDT) In-Reply-To: References: From: Juanma Barranquero Date: Fri, 15 Oct 2010 10:09:46 +0200 Message-ID: Subject: Re: bug#7210: 23.2; w32 emacsclient passes malformed -dir when run from a root directory To: Paul Du Bois Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 7210-done Cc: 7210-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) > To clarify: the proper file is edited in release 23.2. OK, I'm closing this bug then. Thanks, =C2=A0 =C2=A0 Juanma ------------=_1287130502-9338-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 13 Oct 2010 23:52:34 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P6B7Z-00083H-8k for submit@debbugs.gnu.org; Wed, 13 Oct 2010 19:52:33 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P6B0X-00080H-8B for submit@debbugs.gnu.org; Wed, 13 Oct 2010 19:45:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P6B3v-00035z-7F for submit@debbugs.gnu.org; Wed, 13 Oct 2010 19:48:48 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,T_DKIM_INVALID,T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:51310) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P6B3v-00035v-4T for submit@debbugs.gnu.org; Wed, 13 Oct 2010 19:48:47 -0400 Received: from [140.186.70.92] (port=57916 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P6B3t-0005yp-Ui for bug-gnu-emacs@gnu.org; Wed, 13 Oct 2010 19:48:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P6B3s-00035h-Ln for bug-gnu-emacs@gnu.org; Wed, 13 Oct 2010 19:48:45 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:46050) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P6B3s-00035b-CN for bug-gnu-emacs@gnu.org; Wed, 13 Oct 2010 19:48:44 -0400 Received: by bwz19 with SMTP id 19so22411bwz.0 for ; Wed, 13 Oct 2010 16:48:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=MUefkVSLrGGJ8bKnW7tWS8fKZ0S97OC+qX8ZDQ4zVPE=; b=w0Bkfnhd7zA4o2J+VNvzgMGnSSICnQJ9sykTt6+H9pmq2kK14vhHWyiDxbOyKX4wSo JcNb8mgwZZEoL1BcWX9pO9ywHTBnVD04zQmCFfC9gw4kciP9SBBX0dwDt3F/CHQ2fUHR bO8s1emrLeCt8PNTBxmKGFVXCBZk/Dq9tSk4A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=IAfIa+dXSO7iUiaWLHkm3W/P7iLfLCRCwGMuFqEK3k3UnIhxketWvDcGh3dyBTwmPH KU6lP6+EV3dB4Gv3+x3aLx1NU7buyY3fjbUa5ET3Vcfb1fhRw8/beNdyTuBbRCC+RNqy ddps3dnGY3DyyQx8FDVEOz38EJ7eoQOc1/pCc= Received: by 10.204.102.68 with SMTP id f4mr8360701bko.30.1287013722726; Wed, 13 Oct 2010 16:48:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.82.79 with HTTP; Wed, 13 Oct 2010 16:48:11 -0700 (PDT) From: Paul Du Bois Date: Wed, 13 Oct 2010 16:48:11 -0700 Message-ID: Subject: 23.2; w32 emacsclient passes malformed -dir when run from a root directory To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 13 Oct 2010 19:52:33 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. Please describe exactly what actions triggered the bug and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': 1. run emacs -q 2. load-library "server" 3. setq server-log t 4. M-x server-start In a shell: [c:\dfp-stack]emacsclient -V emacsclient 23.2 [c:\dfp-stack]emacsclient -e nil *server* log shows: Wed Oct 13 16:35:06 2010 server <127.0.0.1:2260>: Received -auth [elided] -dir c:\dfp-stack/ -current-frame -eval nil [c:\dfp-stack]cd .. [C:\]emacsclient -e nil *server* log shows: Wed Oct 13 16:35:23 2010 server <127.0.0.1:2261>: Received -auth [elided] -dir C:\/ -current-frame -eval nil In a non-root directory (c:\dfp-stack) the -dir argument contains a single trailing slash. In a root directory (c:\) the -dir argument contains two trailing slashes. The user-visible symptom is that files edited in a root directory have an incorrect absolute path, one that looks like a UNC path. It causes emacs to hang while windows times out looking for a server. For example: [C:\dfp-stack]emacsclient -n P4CONFIG Wed Oct 13 16:40:57 2010 server <127.0.0.1:2265>: New file: c:/dfp-stack/P4CONFIG [C:\]emacsclient -n foo Wed Oct 13 16:14:30 2010 server <127.0.0.1:2205>: New file: //foo.txt If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file c:/apps/emacs-23.2/etc/DEBUG. In GNU Emacs 23.2.1 (i386-mingw-nt5.1.2600) of 2010-05-08 on G41R2F1 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/xpm/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: ENU value of $XMODIFIERS: nil locale-coding-system: cp1252 default enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: 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 blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-( C-x k n C-x k M-( l o a d - l i b r a r y SPC " s e r v e r " C-e C-j M-( s e t q SPC s e r v e r - l o g SPC t C-e C-j M-( s e r v e r - s t a t r t C-e C-j M-x s e r v e r - s t a r t C-x b SPC s e r M-x r e p o r t - e m Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. insert-parentheses: Buffer is read-only: # Preparing tutorial ... Save your position in the tutorial? (y or n) Tutorial position not saved Loading server...done Restarting server Load-path shadows: None found. Features: (shadow sort mail-extr message ecomplete rfc822 mml 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 server tutorial help-mode easymenu view 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) ------------=_1287130502-9338-1--