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 13:45:07 -0500 Message-ID: References: <87oaapxsg5.fsf@mbork.pl> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e01177049fc1b5a052d8dfa73 X-Trace: ger.gmane.org 1457462799 29344 80.91.229.3 (8 Mar 2016 18:46:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Mar 2016 18:46:39 +0000 (UTC) Cc: 22938@debbugs.gnu.org To: Marcin Borkowski Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 08 19:46:30 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 1adMeM-0005Lw-3r for geb-bug-gnu-emacs@m.gmane.org; Tue, 08 Mar 2016 19:46:30 +0100 Original-Received: from localhost ([::1]:36646 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adMeL-0000xh-CD for geb-bug-gnu-emacs@m.gmane.org; Tue, 08 Mar 2016 13:46:29 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60230) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adMdy-0000M5-3i for bug-gnu-emacs@gnu.org; Tue, 08 Mar 2016 13:46:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1adMdt-0007rq-W2 for bug-gnu-emacs@gnu.org; Tue, 08 Mar 2016 13:46:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42859) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adMdt-0007rl-S6 for bug-gnu-emacs@gnu.org; Tue, 08 Mar 2016 13:46:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1adMdt-0005wR-NG for bug-gnu-emacs@gnu.org; Tue, 08 Mar 2016 13:46:01 -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 18:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22938 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22938-submit@debbugs.gnu.org id=B22938.145746271622786 (code B ref 22938); Tue, 08 Mar 2016 18:46:01 +0000 Original-Received: (at 22938) by debbugs.gnu.org; 8 Mar 2016 18:45:16 +0000 Original-Received: from localhost ([127.0.0.1]:39986 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1adMdA-0005vS-2I for submit@debbugs.gnu.org; Tue, 08 Mar 2016 13:45:16 -0500 Original-Received: from mail-ob0-f177.google.com ([209.85.214.177]:33088) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1adMd7-0005vC-TR for 22938@debbugs.gnu.org; Tue, 08 Mar 2016 13:45:14 -0500 Original-Received: by mail-ob0-f177.google.com with SMTP id fz5so23076650obc.0 for <22938@debbugs.gnu.org>; Tue, 08 Mar 2016 10:45:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=9zLrIQ9Ncmgf75N+EsH8wzEoru4UhN5grXiuljIq3Yg=; b=HEfc3wnL/CvUGxkOy3pO1GA4xKdwIYMiFJuzmtevPFrr3V+33jEx+nQS9tZWgwrt3n q5Z9tVJo2K8r5eW2ozjVwNT4If+wAWacRVliJv2byafKF39xEwmqvng/Vx+Xecx5wD3d /P4vTlIf8+RPbxsTyoCfY4i4n1Yg1jJkFq4Yzt2IIh3hTz3ziSliRxvVdvFTCaZcCbm/ YgzMpILLXH6+JYVZeFcEojZQDjAQzs91W8bKd3LmNznfxGPY+L5vi/fjEvDArvo/RPgv /HFVZH8I+BjTHfHukgf+Lc1tWpTe/rgfWODdFIkg66wqdz0GA8ipozhcFs8Fj7M2cOCg g/Sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=9zLrIQ9Ncmgf75N+EsH8wzEoru4UhN5grXiuljIq3Yg=; b=HZH1YX/6fNazznTFFihfLtwA4CQ0a77o/x5g0qmEWuqMesZLimgfIQ88CqJya9CUCC TOWMRoS5gJWVK16KIZJTqFxjD8+GhA97nu/NacdLEqbU/N5NRu2d1tY9FhAU3Rg5Csfm penyjFErLj2H4hYk3ohxyuZVUzLtA/QFzeeic54qSREEL3bPRSxdZTEh7eldTRILrhxN lc7HqbJEUfzNfPR7l91kJZBWiwnBzKX1aEAHwGPII2VcIKT6+5NPILGeswO/r/tnJUfQ HviC6PKpjRtZhtliJzKB8u1mYOci1kdjWDAXefbrvKl037kZodOhBv10Dg31mJWgKy6S Zmjg== X-Gm-Message-State: AD7BkJK2oMbfZ1p27Om3/xLh06AuIim/aBJNkZ8PbKE7sBzPSAX9/z8VQ14oh8v8nSzJJyv8Hffz0LGftUGrvA== X-Received: by 10.60.116.35 with SMTP id jt3mr19655814oeb.79.1457462708015; Tue, 08 Mar 2016 10:45:08 -0800 (PST) Original-Received: by 10.60.17.42 with HTTP; Tue, 8 Mar 2016 10:45:07 -0800 (PST) In-Reply-To: <87oaapxsg5.fsf@mbork.pl> 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:114592 Archived-At: --089e01177049fc1b5a052d8dfa73 Content-Type: text/plain; charset=UTF-8 Strange, I just checked out git master, and reproduced it (I used e0400b72a24). Did you both quote and escape the space? (alternately, you can run mkdir escape\\\ me) I've reproduced this on both an ubuntu system, an arch-linux system, and a gentoo system. I haven't tried on a redhat based system, nor on OSX. On Tue, Mar 8, 2016 at 3:52 AM, Marcin Borkowski wrote: > > On 2016-03-08, at 09:29, Marty Rosenberg > wrote: > > > 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' > > Hi, > > and thanks for the report. > > However, it seems to work just fine on GNU Emacs 25.1.50.6 (commit > ac9a931). It might have been fixed in the meantime. > > Best, > > -- > Marcin Borkowski > http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski > Faculty of Mathematics and Computer Science > Adam Mickiewicz University > --089e01177049fc1b5a052d8dfa73 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Strange, I just checked out git master, and reproduced it = (I used=C2=A0e0400b72a24). Did you both quote and escape the space? (altern= ately, you can run mkdir escape\\\ me) =C2=A0I've reproduced this on bo= th an ubuntu system, an arch-linux system, and a gentoo system.=C2=A0 I hav= en't tried on a redhat based system, nor on OSX.

On Tue, Mar 8, 2016 at 3:52 AM, Ma= rcin Borkowski <mbork@mbork.pl> wrote:

On 2016-03-08, at 09:29, Marty Rosenberg <marty.rosenberg@gmail.com> wrote:

> 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'

Hi,

and thanks for the report.

However, it seems to work just fine on GNU Emacs 25.1.50.6 (commit
ac9a931).=C2=A0 It might have been fixed in the meantime.

Best,

--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University

--089e01177049fc1b5a052d8dfa73--