unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Sam Steingold <sds@gnu.org>
To: Glenn Morris <rgm@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: /srv/bzr/emacs/trunk r107640: (dired-listing-switches): "ls -b" breaks dired - document this
Date: Wed, 21 Mar 2012 12:46:48 -0400	[thread overview]
Message-ID: <87haxh7vgn.fsf@gnu.org> (raw)
In-Reply-To: <epqc5apl4.fsf@fencepost.gnu.org> (Glenn Morris's message of "Wed, 21 Mar 2012 12:25:27 -0400")

> * Glenn Morris <etz@tah.bet> [2012-03-21 12:25:27 -0400]:
>
> Sam Steingold wrote:
>
>> ------------------------------------------------------------
>> revno: 107640
>> committer: Sam Steingold <sds@gnu.org>
>> branch nick: trunk
>> timestamp: Wed 2012-03-21 12:07:04 -0400
>> message:
>>   (dired-listing-switches): "ls -b" breaks dired - document this
>
> How does it break dired?
>
> I believe it works for most "normal" file names.
>
> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10469
> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10596

This change was lying around for quite some time; apparently, since
before these bugs were fixed. I just committed it today in a cleanup.
I guess I misunderstood the maintainers' intention: I thought that "-b"
was not supposed to be supported and was in the docs by mistake.
I will revert the change. Sorry.

Indeed, it appears that the space in a file name is now handled both
with and without "-b"; before I saw 
(error "File no longer exists; type `g' to update dired buffer")
on access with "-b".

Now I see the above error __WITHOUT__ "-b" for files with newline in
names. __WITH__ "-b" dired can handle files with newlines in names.


-- 
Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000
http://www.childpsy.net/ http://honestreporting.com http://mideasttruth.com
http://americancensorship.org http://openvotingconsortium.org
Business is a game. If you know the rules, you can win, unless you follow them.



      reply	other threads:[~2012-03-21 16:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1SAODu-0003EG-0f@vcs.savannah.gnu.org>
2012-03-21 16:25 ` /srv/bzr/emacs/trunk r107640: (dired-listing-switches): "ls -b" breaks dired - document this Glenn Morris
2012-03-21 16:46   ` Sam Steingold [this message]

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87haxh7vgn.fsf@gnu.org \
    --to=sds@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=rgm@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).