From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marty Rosenberg Newsgroups: gmane.emacs.bugs Subject: bug#22938: 24.5; Cannot rename files in directory with escaped spaces Date: Tue, 8 Mar 2016 03:29:30 -0500 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b417dc7552aec052d856144 X-Trace: ger.gmane.org 1457425820 27665 80.91.229.3 (8 Mar 2016 08:30:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Mar 2016 08:30:20 +0000 (UTC) To: 22938@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 08 09:30:12 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 1adD1t-0000bp-KZ for geb-bug-gnu-emacs@m.gmane.org; Tue, 08 Mar 2016 09:30:09 +0100 Original-Received: from localhost ([::1]:33047 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adD1s-0006Bp-Vi for geb-bug-gnu-emacs@m.gmane.org; Tue, 08 Mar 2016 03:30:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40898) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adD1p-0006AE-5Q for bug-gnu-emacs@gnu.org; Tue, 08 Mar 2016 03:30:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1adD1n-0000Qf-K8 for bug-gnu-emacs@gnu.org; Tue, 08 Mar 2016 03:30:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41473) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adD1n-0000Qb-Gm for bug-gnu-emacs@gnu.org; Tue, 08 Mar 2016 03:30:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1adD1n-0004mD-C8 for bug-gnu-emacs@gnu.org; Tue, 08 Mar 2016 03:30:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Marty Rosenberg Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Mar 2016 08:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 22938 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.145742578218311 (code B ref -1); Tue, 08 Mar 2016 08:30:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Mar 2016 08:29:42 +0000 Original-Received: from localhost ([127.0.0.1]:38600 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1adD1S-0004lG-FT for submit@debbugs.gnu.org; Tue, 08 Mar 2016 03:29:42 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:49770) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1adD1Q-0004l2-F2 for submit@debbugs.gnu.org; Tue, 08 Mar 2016 03:29:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1adD1K-0000K0-1Z for submit@debbugs.gnu.org; Tue, 08 Mar 2016 03:29:35 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:35894) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adD1J-0000Jw-Ur for submit@debbugs.gnu.org; Tue, 08 Mar 2016 03:29:33 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40730) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adD1I-000677-Kf for bug-gnu-emacs@gnu.org; Tue, 08 Mar 2016 03:29:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1adD1H-0000JQ-DH for bug-gnu-emacs@gnu.org; Tue, 08 Mar 2016 03:29:32 -0500 Original-Received: from mail-ob0-x233.google.com ([2607:f8b0:4003:c01::233]:35219) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adD1H-0000JL-7L for bug-gnu-emacs@gnu.org; Tue, 08 Mar 2016 03:29:31 -0500 Original-Received: by mail-ob0-x233.google.com with SMTP id fp4so7436750obb.2 for ; Tue, 08 Mar 2016 00:29:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=0trOnT7QTuwc+fXiEOunXCH8BxQ6hkR3fQFdQgye0Zw=; b=q6lrTRL7761f3c77yqDktYPG7cQEKAPynDGgJgH78SoX95V7OPgOO2SFNOxRk/zX2w KO9fEBxEIFUUtfVqvn4kvwbbaQrtWhU995/EQrLUfp5qUuShy97w1X6CSGdlNLuoPB34 sKADwvV1nP58gEzYj8fGkXz8tNx1RgX+uevj+Ei766/WoNTklLKFx3CPSbtQDs6KURMx 6j1m6xTkXpRU3m+3eEEDmfCmW585eWntr75UZ9Q3poPLX3BhFDDW1rERz9qRKBSic+Ro eBqevSeIrrDJOemC5CRxZZGvXXkG6JcGdB0CLE1Yxc7zA0uJ0Td0jNVXoh+0F6ey0Z1N 0FHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=0trOnT7QTuwc+fXiEOunXCH8BxQ6hkR3fQFdQgye0Zw=; b=KlJtofiU8QYgCrFF7gjDbdgbd4SSq/eUCudS7vezcskdq7M07f01DnzWGS/IFuQBff TQu8HlU8ILeFPFeJv5E4bvvOMjFQPET1rvxD3JqMjamUjBYKFqLlWDx4BjFD5SAKh0LE tuh0VVOVeUL1WMV617LTBsoQ1XWk+6vJcpZmvOSwW1OIiBPZaN/qrXTSme2yWT5gxcCQ bwLIbeAxVTyZ9D6XZwWFCYs43Nwj4vVvnzrahQNWrB8J7qZDNkNEILXdHfd8b5vLpX6O 0M9ACb7CgHjaD1ZubOomNUGnOtCyr1N0QH/8B7gGWsdF5ps5J8vkPQm7HUbf7Vgmm/Uw G8Sg== X-Gm-Message-State: AD7BkJK0AGtnB30CA9qfyEV83CD64/hyUku0eMJoN82zsg1ptucmKKuk0EohTvfRb6W5HNgnwN/jnlTA8UHORg== X-Received: by 10.60.128.163 with SMTP id np3mr17301613oeb.16.1457425770422; Tue, 08 Mar 2016 00:29:30 -0800 (PST) Original-Received: by 10.60.17.42 with HTTP; Tue, 8 Mar 2016 00:29:30 -0800 (PST) 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:114563 Archived-At: --047d7b417dc7552aec052d856144 Content-Type: text/plain; charset=UTF-8 most of this happens outside of emacs: mkdir 'escape\ me' cd 'escape\ me' touch a emacs -Q . C-x C-q rename the file from a to b C-c C-c when I inspect the error, it looks like it is attempting to rename /home/mjrosenb/tmp/escapeme/a to /home/mjrosenb/tmp/escapeme/b which fails, because the name of the directory is 'escape\ me', not 'escapeme' In GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.6) of 2015-09-09 on foutrelis Configured using: `configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=gtk3 --with-xft 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Dired Minor modes in effect: tooltip-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 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. Press C-c C-c when finished or C-c ESC to abort changes 1 rename actions failed--type ? for details C-c C-c is undefined Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils dired-aux wdired dired xterm time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-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 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 make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 83726 8439) (symbols 48 18125 0) (miscs 40 36 149) (strings 32 10824 4459) (string-bytes 1 289384) (vectors 16 7637) (vector-slots 8 346167 28364) (floats 8 65 189) (intervals 56 214 3) (buffers 960 13) (heap 1024 10595 1622)) --047d7b417dc7552aec052d856144 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

most of this happens outside of emacs:<= br>mkdir 'escape\ me'
cd 'escape\ me'
touch a
emac= s -Q .
C-x C-q
rename the file from a to b
C-c C-c

wh= en I inspect the error, it looks like it is attempting to rename
/= home/mjrosenb/tmp/escapeme/a to /home/mjrosenb/tmp/escapeme/b
whic= h fails, because the name of the directory is 'escape\ me', not = 9;escapeme'


In GNU Emacs 24.5.1 (x86_64-= unknown-linux-gnu, GTK+ Version 3.16.6)
=C2=A0of 2015-09-09 on foutrelis=
Configured using:
=C2=A0`configure --prefix=3D/usr --sysconfdir=3D/e= tc --libexecdir=3D/usr/lib
=C2=A0--localstatedir=3D/var --with-x-toolkit= =3Dgtk3 --with-xft
=C2=A0'CFLAGS=3D-march=3Dx86-64 -mtune=3Dgeneric = -O2 -pipe -fstack-protector-strong
=C2=A0--param=3Dssp-buffer-size=3D4&#= 39; CPPFLAGS=3D-D_FORTIFY_SOURCE=3D2
=C2=A0LDFLAGS=3D-Wl,-O1,--sort-comm= on,--as-needed,-z,relro'

Important settings:
=C2=A0 value of = $LANG: en_US.UTF-8
=C2=A0 locale-coding-system: utf-8-unix

Major = mode: Dired

Minor modes in effect:
=C2=A0 tooltip-mode: t
=C2= =A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 tool-ba= r-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 auto-= composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compre= ssion-mode: t
=C2=A0 buffer-read-only: t
=C2=A0 line-number-mode: t=C2=A0 transient-mark-mode: t

Recent messages:
For information = about GNU Emacs and the GNU system, type C-h C-a.
Press C-c C-c when fin= ished or C-c ESC to abort changes
1 rename actions failed--type ? for de= tails
C-c C-c is undefined

Load-path shadows:
None found.
<= br>Features:
(shadow sort gnus-util mail-extr emacsbug message format-sp= ec rfc822 mml
easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse = rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-dr= ums
mm-util help-fns mail-prsvr mail-utils dired-aux wdired dired xterm<= br>time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type<= br>mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabul= ated-list newcomment lisp-mode prog-mode register page menu-bar
rfn-esha= dow timer select scroll-bar mouse jit-lock font-lock syntax
facemenu fon= t-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 nadvice loaddefs button
faces cus-face macroex= p files text-properties overlay sha1 md5 base64
format env code-pages mu= le custom widget hashtable-print-readable
backquote make-network-process= dbusbind gfilenotify dynamic-setting
system-font-setting font-render-se= tting move-toolbar gtk x-toolkit x
multi-tty emacs)

Memory inform= ation:
((conses 16 83726 8439)
=C2=A0(symbols 48 18125 0)
=C2=A0(m= iscs 40 36 149)
=C2=A0(strings 32 10824 4459)
=C2=A0(string-bytes 1 2= 89384)
=C2=A0(vectors 16 7637)
=C2=A0(vector-slots 8 346167 28364)=C2=A0(floats 8 65 189)
=C2=A0(intervals 56 214 3)
=C2=A0(buffers 96= 0 13)
=C2=A0(heap 1024 10595 1622))

--047d7b417dc7552aec052d856144--