GNU bug report logs -
#25423
25.1; Can't use dired with spaces or special characters in folder names using tramp
Previous Next
Reported by: Alex Branham <branham <at> utexas.edu>
Date: Wed, 11 Jan 2017 22:01:01 UTC
Severity: normal
Found in version 25.1
Fixed in version 26.1
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 25423 in the body.
You can then email your comments to 25423 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#25423
; Package
emacs
.
(Wed, 11 Jan 2017 22:01:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Alex Branham <branham <at> utexas.edu>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 11 Jan 2017 22:01:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
I can't navigate (or do anything else like dired-do-chmod) using dired when directories have spaces or special characters over a tramp connection. I think it's because Emacs is putting quotes '' or "" around the folders in question.
Using `emacs -Q` and navigate to a directory like below. I can hit RET to go to Folder1 but neither 'Folder 2' nor "Folder's 4". Note that the folders don't actually have quotation marks in their name --- Emacs is adding that in the dired buffer.
drwxrwsr-x 3 owner group 4096 Jan 9 19:29 Folder1
drwxrwsr-x 3 owner group 4096 Jan 9 20:47 'Folder 2'
drwxrwsr-x 3 owner group 4096 Jan 9 19:30 "Folder's_3"
In GNU Emacs 25.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.22.5)
of 2016-12-23 built on juergen
Windowing system distributor 'The X.Org Foundation', version 11.0.11804000
System Description: Arch Linux
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' CPPFLAGS=-D_FORTIFY_SOURCE=2
LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro'
Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS
NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11
Important settings:
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8-unix
--
J. Alexander Branham
PhD Candidate
Department of Government
University of Texas at Austin
https://www.jabranham.com
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#25423
; Package
emacs
.
(Wed, 11 Jan 2017 22:10:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 25423 <at> debbugs.gnu.org (full text, mbox):
Alex Branham wrote:
> Using `emacs -Q` and navigate to a directory like below. I can hit RET
> to go to Folder1 but neither 'Folder 2' nor "Folder's 4". Note that
> the folders don't actually have quotation marks in their name ---
> Emacs is adding that in the dired buffer.
>
> drwxrwsr-x 3 owner group 4096 Jan 9 19:29 Folder1
> drwxrwsr-x 3 owner group 4096 Jan 9 20:47 'Folder 2'
> drwxrwsr-x 3 owner group 4096 Jan 9 19:30 "Folder's_3"
Looks like newer coreutils ls's quoting, so probably already fixed in
Emacs by
http://lists.gnu.org/archive/html/emacs-diffs/2016-07/msg00171.html
bug Marked as fixed in versions 26.1.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Wed, 11 Jan 2017 22:12:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#25423
; Package
emacs
.
(Wed, 11 Jan 2017 22:17:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 25423 <at> debbugs.gnu.org (full text, mbox):
Thanks for the reply.
The commit happened in July of last year, is it not in Emacs 25.1? (Also, is there an easy way to see that information for myself?)
Alex
Glenn Morris <rgm <at> gnu.org> writes:
> Alex Branham wrote:
>
>> Using `emacs -Q` and navigate to a directory like below. I can hit RET
>> to go to Folder1 but neither 'Folder 2' nor "Folder's 4". Note that
>> the folders don't actually have quotation marks in their name ---
>> Emacs is adding that in the dired buffer.
>>
>> drwxrwsr-x 3 owner group 4096 Jan 9 19:29 Folder1
>> drwxrwsr-x 3 owner group 4096 Jan 9 20:47 'Folder 2'
>> drwxrwsr-x 3 owner group 4096 Jan 9 19:30 "Folder's_3"
>
>
> Looks like newer coreutils ls's quoting, so probably already fixed in
> Emacs by
>
> http://lists.gnu.org/archive/html/emacs-diffs/2016-07/msg00171.html
--
J. Alexander Branham
PhD Candidate
Department of Government
University of Texas at Austin
https://www.jabranham.com
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#25423
; Package
emacs
.
(Wed, 11 Jan 2017 22:17:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 25423 <at> debbugs.gnu.org (full text, mbox):
PS probably you can add QUOTING_STYLE=literal to your environment, or
tramp-remote-process-environment, to avoid this.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#25423
; Package
emacs
.
(Wed, 11 Jan 2017 22:22:01 GMT)
Full text and
rfc822 format available.
Message #19 received at 25423 <at> debbugs.gnu.org (full text, mbox):
Thanks, adding it to tramp-remote-process-environment works!
Alex
Glenn Morris <rgm <at> gnu.org> writes:
> PS probably you can add QUOTING_STYLE=literal to your environment, or
> tramp-remote-process-environment, to avoid this.
--
J. Alexander Branham
PhD Candidate
Department of Government
University of Texas at Austin
https://www.jabranham.com
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#25423
; Package
emacs
.
(Wed, 11 Jan 2017 22:22:02 GMT)
Full text and
rfc822 format available.
Message #22 received at 25423 <at> debbugs.gnu.org (full text, mbox):
Alex Branham wrote:
> The commit happened in July of last year, is it not in Emacs 25.1?
No. It will be in whatever-next-release-from-master-is (26.1).
> (Also, is there an easy way to see that information for myself?)
You could look at tramp-sh.el in your version of Emacs.
Otherwise, I don't know how you tell without having a copy of the Emacs
git repository.
bug closed, send any further explanations to
25423 <at> debbugs.gnu.org and Alex Branham <branham <at> utexas.edu>
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Wed, 11 Jan 2017 22:44:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 09 Feb 2017 12:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 8 years and 126 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.