all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* something recently broke dired for dirs that begin with a space
@ 2011-07-09 21:31 Randal L. Schwartz
  2011-07-09 22:33 ` Randal L. Schwartz
  2011-07-10  0:28 ` Chong Yidong
  0 siblings, 2 replies; 13+ messages in thread
From: Randal L. Schwartz @ 2011-07-09 21:31 UTC (permalink / raw
  To: emacs-devel


Not sure when, but it had to be in the past three weeks.  If I get a
chance, I'll bisect.

And yes, I use directories that begin with a space to force them to be
first in the listings.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: something recently broke dired for dirs that begin with a space
  2011-07-09 21:31 something recently broke dired for dirs that begin with a space Randal L. Schwartz
@ 2011-07-09 22:33 ` Randal L. Schwartz
  2011-07-09 23:04   ` Drew Adams
  2011-07-10  0:28 ` Chong Yidong
  1 sibling, 1 reply; 13+ messages in thread
From: Randal L. Schwartz @ 2011-07-09 22:33 UTC (permalink / raw
  To: emacs-devel

>>>>> "Randal" == Randal L Schwartz <merlyn@stonehenge.com> writes:

Randal> Not sure when, but it had to be in the past three weeks.  If I get a
Randal> chance, I'll bisect.

Randal> And yes, I use directories that begin with a space to force them to be
Randal> first in the listings.

Wow.  I take it back.  It's been broken since at least April 24th
(checking to find a "good" version for bisect).

I wonder if it *ever* worked?

Can I nudge the dired maintainer to look into this?  Thanks.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion




^ permalink raw reply	[flat|nested] 13+ messages in thread

* RE: something recently broke dired for dirs that begin with a space
  2011-07-09 22:33 ` Randal L. Schwartz
@ 2011-07-09 23:04   ` Drew Adams
  0 siblings, 0 replies; 13+ messages in thread
From: Drew Adams @ 2011-07-09 23:04 UTC (permalink / raw
  To: 'Randal L. Schwartz', emacs-devel

> It's been broken since at least April 24th
> I wonder if it *ever* worked?
> Can I nudge the dired maintainer to look into this?  Thanks.

In case it helps someone diagnose it, I don't see it on Windows.
Of course Windows uses ls-lisp.el to list files.




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: something recently broke dired for dirs that begin with a space
  2011-07-09 21:31 something recently broke dired for dirs that begin with a space Randal L. Schwartz
  2011-07-09 22:33 ` Randal L. Schwartz
@ 2011-07-10  0:28 ` Chong Yidong
  2011-07-10  0:41   ` Randal L. Schwartz
  2011-07-10  2:54   ` Eli Zaretskii
  1 sibling, 2 replies; 13+ messages in thread
From: Chong Yidong @ 2011-07-10  0:28 UTC (permalink / raw
  To: Randal L. Schwartz; +Cc: emacs-devel

merlyn@stonehenge.com (Randal L. Schwartz) writes:

> Not sure when, but it had to be in the past three weeks.  If I get a
> chance, I'll bisect.
>
> And yes, I use directories that begin with a space to force them to be
> first in the listings.

Please make a bug report using M-x report-emacs-bug, and include a
precise recipe.  There are insufficient details in your message to
figure out whether there is a bug, or where the bug is; a brief
experiment with a directory starting with a space revealed no problems
for me.




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: something recently broke dired for dirs that begin with a space
  2011-07-10  0:28 ` Chong Yidong
@ 2011-07-10  0:41   ` Randal L. Schwartz
  2011-07-10  0:52     ` Glenn Morris
                       ` (2 more replies)
  2011-07-10  2:54   ` Eli Zaretskii
  1 sibling, 3 replies; 13+ messages in thread
From: Randal L. Schwartz @ 2011-07-10  0:41 UTC (permalink / raw
  To: Chong Yidong; +Cc: emacs-devel

>>>>> "Chong" == Chong Yidong <cyd@stupidchicken.com> writes:

Chong> merlyn@stonehenge.com (Randal L. Schwartz) writes:
>> Not sure when, but it had to be in the past three weeks.  If I get a
>> chance, I'll bisect.
>> 
>> And yes, I use directories that begin with a space to force them to be
>> first in the listings.

Chong> Please make a bug report using M-x report-emacs-bug, and include a
Chong> precise recipe.  There are insufficient details in your message to
Chong> figure out whether there is a bug, or where the bug is; a brief
Chong> experiment with a directory starting with a space revealed no problems
Chong> for me.

I can't use report-emacs-bug because there's no email on the machine
where my emacs is running.

M-! mkdir " SPACE" RET
^X ^F . RET
then try to visit the " SPACE" dir with "f".

I get "dired-get-file-for-visit: File no longer exists; type `g' to
update dired buffer" in *Messages*.

Clear enough?

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: something recently broke dired for dirs that begin with a space
  2011-07-10  0:41   ` Randal L. Schwartz
@ 2011-07-10  0:52     ` Glenn Morris
  2011-07-10  2:15     ` Chong Yidong
  2011-07-10 12:32     ` Lars Magne Ingebrigtsen
  2 siblings, 0 replies; 13+ messages in thread
From: Glenn Morris @ 2011-07-10  0:52 UTC (permalink / raw
  To: Randal L. Schwartz; +Cc: Chong Yidong, emacs-devel

Randal L. Schwartz wrote:

> I can't use report-emacs-bug because there's no email on the machine
> where my emacs is running.

Part of what "report-emacs-bug" does is send bug reports to the right
address, bug-gnu-emacs@gnu.org. As the manual says:

    If you cannot send mail from inside Emacs, you can copy the text of
    your report to your normal mail client and send it to that address.
    Or you can simply send an email to that address describing the
    problem.

Please send reports there in future, not here.



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: something recently broke dired for dirs that begin with a space
  2011-07-10  0:41   ` Randal L. Schwartz
  2011-07-10  0:52     ` Glenn Morris
@ 2011-07-10  2:15     ` Chong Yidong
  2011-07-10  2:17       ` Randal L. Schwartz
  2011-07-10 12:32     ` Lars Magne Ingebrigtsen
  2 siblings, 1 reply; 13+ messages in thread
From: Chong Yidong @ 2011-07-10  2:15 UTC (permalink / raw
  To: Randal L. Schwartz; +Cc: emacs-devel

merlyn@stonehenge.com (Randal L. Schwartz) writes:

> M-! mkdir " SPACE" RET
> ^X ^F . RET
> then try to visit the " SPACE" dir with "f".
>
> I get "dired-get-file-for-visit: File no longer exists; type `g' to
> update dired buffer" in *Messages*.
>
> Clear enough?

Fraid I can't reproduce it.  Please follow the procedure that Glenn
said: copy the text of M-x report-emacs-bug and send it to
bug-gnu-emacs.  For one thing, that text will include information that
is likely relevant, such as the system on which you are running Emacs.

> I can't use report-emacs-bug because there's no email on the machine
> where my emacs is running.

BTW, with the latest changes in trunk, it should be easy to get SMTP
mail running; then you can send mail from Emacs (unless the machine has
no net connection at all).



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: something recently broke dired for dirs that begin with a space
  2011-07-10  2:15     ` Chong Yidong
@ 2011-07-10  2:17       ` Randal L. Schwartz
  0 siblings, 0 replies; 13+ messages in thread
From: Randal L. Schwartz @ 2011-07-10  2:17 UTC (permalink / raw
  To: Chong Yidong; +Cc: emacs-devel

>>>>> "Chong" == Chong Yidong <cyd@stupidchicken.com> writes:

Chong> BTW, with the latest changes in trunk, it should be easy to get SMTP
Chong> mail running; then you can send mail from Emacs (unless the machine has
Chong> no net connection at all).

No authorized port 25 would respect my laptop.  That'd be a spamsource.

I've now reproduced this on both an older FreeBSD Emacs and a current
OSX Emacs.  So it's been a problem for a Very Long Time.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: something recently broke dired for dirs that begin with a space
  2011-07-10  0:28 ` Chong Yidong
  2011-07-10  0:41   ` Randal L. Schwartz
@ 2011-07-10  2:54   ` Eli Zaretskii
  2011-07-10  3:01     ` Randal L. Schwartz
  1 sibling, 1 reply; 13+ messages in thread
From: Eli Zaretskii @ 2011-07-10  2:54 UTC (permalink / raw
  To: Chong Yidong; +Cc: emacs-devel, merlyn

> From: Chong Yidong <cyd@stupidchicken.com>
> Date: Sat, 09 Jul 2011 20:28:33 -0400
> Cc: emacs-devel@gnu.org
> 
> merlyn@stonehenge.com (Randal L. Schwartz) writes:
> 
> > Not sure when, but it had to be in the past three weeks.  If I get a
> > chance, I'll bisect.
> >
> > And yes, I use directories that begin with a space to force them to be
> > first in the listings.
> 
> Please make a bug report using M-x report-emacs-bug, and include a
> precise recipe.  There are insufficient details in your message to
> figure out whether there is a bug, or where the bug is; a brief
> experiment with a directory starting with a space revealed no problems
> for me.

Given what Drew says, I suspect that this is due to `ls' on Randal's
machine, not something with Dired.



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: something recently broke dired for dirs that begin with a space
  2011-07-10  2:54   ` Eli Zaretskii
@ 2011-07-10  3:01     ` Randal L. Schwartz
  0 siblings, 0 replies; 13+ messages in thread
From: Randal L. Schwartz @ 2011-07-10  3:01 UTC (permalink / raw
  To: Eli Zaretskii; +Cc: Chong Yidong, emacs-devel

>>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> writes:

Eli> Given what Drew says, I suspect that this is due to `ls' on Randal's
Eli> machine, not something with Dired.

Yes, fault me for having a *standard* ls.

By the way, (directory-files-and-attributes "~") does the right thing
with respect to this directory.  So it still looks like dired is doing
the Wrong Thing.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: something recently broke dired for dirs that begin with a space
  2011-07-10  0:41   ` Randal L. Schwartz
  2011-07-10  0:52     ` Glenn Morris
  2011-07-10  2:15     ` Chong Yidong
@ 2011-07-10 12:32     ` Lars Magne Ingebrigtsen
  2011-07-10 19:09       ` Randal L. Schwartz
  2 siblings, 1 reply; 13+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-07-10 12:32 UTC (permalink / raw
  To: emacs-devel

merlyn@stonehenge.com (Randal L. Schwartz) writes:

> I can't use report-emacs-bug because there's no email on the machine
> where my emacs is running.
>
> M-! mkdir " SPACE" RET
> ^X ^F . RET
> then try to visit the " SPACE" dir with "f".
>
> I get "dired-get-file-for-visit: File no longer exists; type `g' to
> update dired buffer" in *Messages*.

In case it's a BSD/Linux issue, I've tried this with Emacs 21 on an
OpenBSD machine.  I'm unable to reproduce the issue there.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: something recently broke dired for dirs that begin with a space
  2011-07-10 12:32     ` Lars Magne Ingebrigtsen
@ 2011-07-10 19:09       ` Randal L. Schwartz
  2011-07-10 21:40         ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 13+ messages in thread
From: Randal L. Schwartz @ 2011-07-10 19:09 UTC (permalink / raw
  To: emacs-devel

>>>>> "Lars" == Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

Lars> In case it's a BSD/Linux issue, I've tried this with Emacs 21 on an
Lars> OpenBSD machine.  I'm unable to reproduce the issue there.

But do you have the GNU tools installed on your OpenBSD machine, such
that "ls --dired" does something?  I don't.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: something recently broke dired for dirs that begin with a space
  2011-07-10 19:09       ` Randal L. Schwartz
@ 2011-07-10 21:40         ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 13+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-07-10 21:40 UTC (permalink / raw
  To: emacs-devel

merlyn@stonehenge.com (Randal L. Schwartz) writes:

> But do you have the GNU tools installed on your OpenBSD machine, such
> that "ls --dired" does something?  I don't.

I think it's a pretty virgin OpenBSD system:

bash-3.1# ls --dired
ls: unknown option -- -
usage: ls [-1AaCcdFfghikLlmnopqRrSsTtuWx] [file ...]

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2011-07-10 21:40 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-09 21:31 something recently broke dired for dirs that begin with a space Randal L. Schwartz
2011-07-09 22:33 ` Randal L. Schwartz
2011-07-09 23:04   ` Drew Adams
2011-07-10  0:28 ` Chong Yidong
2011-07-10  0:41   ` Randal L. Schwartz
2011-07-10  0:52     ` Glenn Morris
2011-07-10  2:15     ` Chong Yidong
2011-07-10  2:17       ` Randal L. Schwartz
2011-07-10 12:32     ` Lars Magne Ingebrigtsen
2011-07-10 19:09       ` Randal L. Schwartz
2011-07-10 21:40         ` Lars Magne Ingebrigtsen
2011-07-10  2:54   ` Eli Zaretskii
2011-07-10  3:01     ` Randal L. Schwartz

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.