bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Some bad quoting in directory manipulations.


From: David Kastrup
Subject: Some bad quoting in directory manipulations.
Date: 11 Feb 2003 00:16:09 +0100

I have, for the sake of experimentation, added a symbolic link with a
shell command like
ln -sf /usr/local/emacs-21 'c:\\artifical prefix'
to a Unix-type directory.

dired displays this as
c:\\\\artifical prefix

When I try to delete it with the D command, dired fails claiming that
this would mean deleting a directory.  Which is, of course,
ridiculous but actually not related to the stupid file name.

shell-mode also has a problem with that file name.  It does
completion to
rm c:\\artifical\ prefix
which is missing out on one of the two backslashes after c: and thus
fails.

Agreed, this is a pathetic file name, but I made it up to simulate
autoconf macros in pathetic environments that _have_ such file names.

Emacs  : GNU Emacs 21.3.50.14 (i686-pc-linux-gnu)
 of 2003-02-06 on lola.goethe.zz
Package: dired-x

current state:
==============
(setq
 dired-bind-vm nil
 dired-vm-read-only-folders nil
 dired-bind-jump t
 dired-bind-info t
 dired-bind-man t
 dired-find-subdir nil
 dired-enable-local-variables t
 dired-local-variables-file ".dired"
 dired-guess-shell-gnutar nil
 dired-guess-shell-gzip-quiet t
 dired-guess-shell-znew-switches nil
 dired-guess-shell-alist-user nil
 dired-clean-up-buffers-too t
 dired-omit-files-p nil
 dired-omit-files "^\\.?#\\|^\\.$\\|^\\.\\.$"
 dired-omit-extensions '("CVS/" ".o" "~" ".bin" ".lbin" ".so" ".a" ".ln"
                         ".blg" ".bbl" ".elc" ".lof" ".glo" ".idx" ".lot"
                         ".dvi" ".fmt" ".tfm" ".pdf" ".class" ".fas" ".lib"
                         ".mem" ".x86f" ".sparcf" ".fasl" ".ufsl" ".fsl"
                         ".dxl" ".lo" ".la" ".gmo" ".mo" ".toc" ".log" ".aux"
                         ".cp" ".fn" ".ky" ".pg" ".tp" ".vr" ".cps" ".fns"
                         ".kys" ".pgs" ".tps" ".vrs" ".idx" ".lof" ".lot"
                         ".glo" ".blg" ".bbl" ".cp" ".cps" ".fn" ".fns" ".ky"
                         ".kys" ".pg" ".pgs" ".tp" ".tps" ".vr" ".vrs")
 )
-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

[Prev in Thread] Current Thread [Next in Thread]