From: Glenn Morris <rgm@gnu.org>
To: Whitfield Diffie <whitfield.diffie@gmail.com>
Cc: 13165@debbugs.gnu.org
Subject: bug#13165: Fwd: Newlines in file names
Date: Wed, 12 Dec 2012 18:04:09 -0500 [thread overview]
Message-ID: <s3lid2dg9i.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <CAF+O-CV=cn+nsqVCs-Z5SJPDoxMQ=Nwfif5i=YEuzNVn=AiGNQ@mail.gmail.com> (Whitfield Diffie's message of "Wed, 12 Dec 2012 14:50:41 -0800")
Whitfield Diffie wrote:
> Since this didn't attract much attention as a request for help,
> let me try it as a bug report.
>
> In emacs 22.1.1, if you have a file whose name contains a carriage
> return and put the cursor on the line with that file in dired, then
> (file-exists-p (dired-get-filename)) is nil.
It works fine if you add -b to dired-listing-switches.
emacs-22.1 -Q --eval '(setq dired-listing-switches "-alb")'
This was a suggestion when this was a help request:
http://lists.gnu.org/archive/html/help-gnu-emacs/2012-12/msg00133.html
I see no prospect of Dired handling file names with newlines without the
-b switch in use. Note there are some issues with -b that are fixed in
newer versions of Emacs than the one you are using, eg
http://debbugs.gnu.org/10469
http://debbugs.gnu.org/10596
next prev parent reply other threads:[~2012-12-12 23:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-10 19:47 Newlines in file names Whitfield Diffie
2012-12-11 14:02 ` Doug Lewan
2012-12-11 15:19 ` Whitfield Diffie
2012-12-11 16:34 ` Doug Lewan
2012-12-12 22:50 ` bug#13165: Fwd: " Whitfield Diffie
2012-12-12 23:04 ` Glenn Morris [this message]
2012-12-15 5:33 ` Whitfield Diffie
2012-12-15 20:04 ` Whitfield Diffie
2012-12-17 15:29 ` Stefan Monnier
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=s3lid2dg9i.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=13165@debbugs.gnu.org \
--cc=whitfield.diffie@gmail.com \
/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.