From: Glenn Morris <rgm@gnu.org>
To: Francesco Potorti` <pot@gnu.org>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: dired cannot access file names with a quote
Date: Fri, 05 Oct 2007 03:38:20 -0400 [thread overview]
Message-ID: <jhwsu29fkj.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <E1Id5VV-0002nD-Ih@tucano.isti.cnr.it> (Francesco Potorti`'s message of "Wed, 03 Oct 2007 16:47:25 +0200")
Francesco Potorti` wrote:
> The subject describes what I suspect is the cause of the bug, but I am
> not sure, because I made no real investigation
>
> $ touch /tmp/First-October\ \'07.pdf
> $ emacs -Q
> C-x d /tmp/Firs TAB RET
> ==> Listing directory failed but `access-file' worked
This comment from insert-directory looks relevant:
Quote some characters that have special meanings in shells; but
don't quote the wildcards--we want them to be special. We also
currently don't quote the quoting characters in case people want to
use them explicitly to quote wildcard characters.
Ie,
(shell-quote-wildcard-pattern "/tmp/First-October '07.pdf")
returns "/tmp/First-October\\ '07.pdf", rather than
"/tmp/First-October\\ \\'07.pdf".
next prev parent reply other threads:[~2007-10-05 7:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-03 14:47 dired cannot access file names with a quote Francesco Potorti`
2007-10-05 7:38 ` Glenn Morris [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-01-21 20:31 [jidanni@jidanni.org: find-library-name perhaps should try .emacs] Richard Stallman
2008-02-23 22:28 ` dired cannot access file names with a quote Chong Yidong
2008-02-23 22:49 ` Glenn Morris
2008-02-23 23:55 ` Chong Yidong
2008-02-24 0:26 ` Stefan Monnier
2008-02-25 17:41 ` Chong Yidong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jhwsu29fkj.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=bug-gnu-emacs@gnu.org \
--cc=pot@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.