all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Dired without ls?
@ 2011-02-02 11:05 Deniz Dogan
  2011-02-02 15:47 ` Eli Zaretskii
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Deniz Dogan @ 2011-02-02 11:05 UTC (permalink / raw)
  To: emacs-help

I've used Emacs on Windows for years now and only recently have I been
unable to use dired. I get the error that ls is not found.

Did I dream that ls is not required for dired? I'm almost 100 percent
sure I've used dired on Windows and I've never had ls installed.

-- 
Deniz Dogan



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

* Re: Dired without ls?
       [not found] <mailman.2.1296657205.25145.help-gnu-emacs@gnu.org>
@ 2011-02-02 14:51 ` Stefan Monnier
  0 siblings, 0 replies; 10+ messages in thread
From: Stefan Monnier @ 2011-02-02 14:51 UTC (permalink / raw)
  To: help-gnu-emacs

> Did I dream that ls is not required for dired? I'm almost 100 percent
> sure I've used dired on Windows and I've never had ls installed.

Indeed, it's not required.  The ls-lisp.el package included in Emacs
provides the necessary functions to let Dired works without ls.
AFAIK, this is used by default when running on Windows, tho it's
controlled by ls-lisp-use-insert-directory-program.


        Stefan


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

* Re: Dired without ls?
  2011-02-02 11:05 Dired without ls? Deniz Dogan
@ 2011-02-02 15:47 ` Eli Zaretskii
  2011-02-02 16:47   ` Deniz Dogan
  2011-02-02 15:53 ` Eli Zaretskii
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 10+ messages in thread
From: Eli Zaretskii @ 2011-02-02 15:47 UTC (permalink / raw)
  To: help-gnu-emacs

> From: Deniz Dogan <deniz.a.m.dogan@gmail.com>
> Date: Wed, 2 Feb 2011 12:05:26 +0100
> 
> I've used Emacs on Windows for years now and only recently have I been
> unable to use dired. I get the error that ls is not found.
> 
> Did I dream that ls is not required for dired? I'm almost 100 percent
> sure I've used dired on Windows and I've never had ls installed.

No, you didn't dream.  Dired on Windows uses the Lisp emulation of ls,
in ls-lisp.el.

What does "C-h f insert-directory RET" say regarding where the
function is defined?  It should say that it's defined on ls-lisp.el,
if you are on Windows.



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

* Re: Dired without ls?
  2011-02-02 11:05 Dired without ls? Deniz Dogan
  2011-02-02 15:47 ` Eli Zaretskii
@ 2011-02-02 15:53 ` Eli Zaretskii
  2011-02-02 16:19 ` Drew Adams
  2011-02-02 16:25 ` Eli Zaretskii
  3 siblings, 0 replies; 10+ messages in thread
From: Eli Zaretskii @ 2011-02-02 15:53 UTC (permalink / raw)
  To: help-gnu-emacs

> From: Deniz Dogan <deniz.a.m.dogan@gmail.com>
> Date: Wed, 2 Feb 2011 12:05:26 +0100
> 
> I've used Emacs on Windows for years now and only recently have I been
> unable to use dired. I get the error that ls is not found.

Is that in the development version of Emacs 24?  If so, I see that as
well, now.  Will investigate.



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

* RE: Dired without ls?
  2011-02-02 11:05 Dired without ls? Deniz Dogan
  2011-02-02 15:47 ` Eli Zaretskii
  2011-02-02 15:53 ` Eli Zaretskii
@ 2011-02-02 16:19 ` Drew Adams
  2011-02-02 16:25 ` Eli Zaretskii
  3 siblings, 0 replies; 10+ messages in thread
From: Drew Adams @ 2011-02-02 16:19 UTC (permalink / raw)
  To: 'Deniz Dogan', 'emacs-help'

> I've used Emacs on Windows for years now and only recently have I been
> unable to use dired. I get the error that ls is not found.
> 
> Did I dream that ls is not required for dired? I'm almost 100 percent
> sure I've used dired on Windows and I've never had ls installed.

`ls' is not required for Dired on Windows.
On Windows, Dired uses `ls-lisp.el'.

Did you try with `emacs -Q'?  If so, and you see a problem, then please use `M-x
send-emacs-bug-report'.  If it works with `emacs -Q' but not otherwise, then
binary-search your init file to see where the problem lies.




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

* Re: Dired without ls?
  2011-02-02 11:05 Dired without ls? Deniz Dogan
                   ` (2 preceding siblings ...)
  2011-02-02 16:19 ` Drew Adams
@ 2011-02-02 16:25 ` Eli Zaretskii
  2011-02-02 17:16   ` Deniz Dogan
  3 siblings, 1 reply; 10+ messages in thread
From: Eli Zaretskii @ 2011-02-02 16:25 UTC (permalink / raw)
  To: help-gnu-emacs

> From: Deniz Dogan <deniz.a.m.dogan@gmail.com>
> Date: Wed, 2 Feb 2011 12:05:26 +0100
> 
> I've used Emacs on Windows for years now and only recently have I been
> unable to use dired. I get the error that ls is not found.

There was a bug in dired.el on the development trunk.  I think I fixed
it, so please try again with the latest repository.



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

* Re: Dired without ls?
  2011-02-02 15:47 ` Eli Zaretskii
@ 2011-02-02 16:47   ` Deniz Dogan
  2011-02-02 16:52     ` Eli Zaretskii
  0 siblings, 1 reply; 10+ messages in thread
From: Deniz Dogan @ 2011-02-02 16:47 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: help-gnu-emacs

2011/2/2 Eli Zaretskii <eliz@gnu.org>:
>> From: Deniz Dogan <deniz.a.m.dogan@gmail.com>
>> Date: Wed, 2 Feb 2011 12:05:26 +0100
>>
>> I've used Emacs on Windows for years now and only recently have I been
>> unable to use dired. I get the error that ls is not found.
>>
>> Did I dream that ls is not required for dired? I'm almost 100 percent
>> sure I've used dired on Windows and I've never had ls installed.
>
> No, you didn't dream.  Dired on Windows uses the Lisp emulation of ls,
> in ls-lisp.el.
>
> What does "C-h f insert-directory RET" say regarding where the
> function is defined?  It should say that it's defined on ls-lisp.el,
> if you are on Windows.
>

insert-directory is a compiled Lisp function in `ls-lisp.el'.

I tried with -Q and everything and couldn't get it to work. I filed a
bug report on it, but later found that it has already been reported in
#7869. Somebody should probably merge those two once my report comes
in.

-- 
Deniz Dogan



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

* Re: Dired without ls?
  2011-02-02 16:47   ` Deniz Dogan
@ 2011-02-02 16:52     ` Eli Zaretskii
  2011-02-02 21:59       ` Eli Zaretskii
  0 siblings, 1 reply; 10+ messages in thread
From: Eli Zaretskii @ 2011-02-02 16:52 UTC (permalink / raw)
  To: help-gnu-emacs

> From: Deniz Dogan <deniz.a.m.dogan@gmail.com>
> Date: Wed, 2 Feb 2011 17:47:36 +0100
> Cc: help-gnu-emacs@gnu.org
> 
> I tried with -Q and everything and couldn't get it to work. I filed a
> bug report on it, but later found that it has already been reported in
> #7869. Somebody should probably merge those two once my report comes
> in.

Merge, and then close, because I just fixed it ;-)

Will do.  Thanks for reporting this bug, it looks like it's been there
for at least a month.



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

* Re: Dired without ls?
  2011-02-02 16:25 ` Eli Zaretskii
@ 2011-02-02 17:16   ` Deniz Dogan
  0 siblings, 0 replies; 10+ messages in thread
From: Deniz Dogan @ 2011-02-02 17:16 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: help-gnu-emacs

2011/2/2 Eli Zaretskii <eliz@gnu.org>:
>> From: Deniz Dogan <deniz.a.m.dogan@gmail.com>
>> Date: Wed, 2 Feb 2011 12:05:26 +0100
>>
>> I've used Emacs on Windows for years now and only recently have I been
>> unable to use dired. I get the error that ls is not found.
>
> There was a bug in dired.el on the development trunk.  I think I fixed
> it, so please try again with the latest repository.
>
>

It works! Thanks.

-- 
Deniz Dogan



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

* Re: Dired without ls?
  2011-02-02 16:52     ` Eli Zaretskii
@ 2011-02-02 21:59       ` Eli Zaretskii
  0 siblings, 0 replies; 10+ messages in thread
From: Eli Zaretskii @ 2011-02-02 21:59 UTC (permalink / raw)
  To: help-gnu-emacs

> Date: Wed, 02 Feb 2011 18:52:02 +0200
> From: Eli Zaretskii <eliz@gnu.org>
> 
> > From: Deniz Dogan <deniz.a.m.dogan@gmail.com>
> > Date: Wed, 2 Feb 2011 17:47:36 +0100
> > Cc: help-gnu-emacs@gnu.org
> > 
> > I tried with -Q and everything and couldn't get it to work. I filed a
> > bug report on it, but later found that it has already been reported in
> > #7869. Somebody should probably merge those two once my report comes
> > in.
> 
> Merge, and then close, because I just fixed it ;-)
> 
> Will do.

Done.



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

end of thread, other threads:[~2011-02-02 21:59 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-02 11:05 Dired without ls? Deniz Dogan
2011-02-02 15:47 ` Eli Zaretskii
2011-02-02 16:47   ` Deniz Dogan
2011-02-02 16:52     ` Eli Zaretskii
2011-02-02 21:59       ` Eli Zaretskii
2011-02-02 15:53 ` Eli Zaretskii
2011-02-02 16:19 ` Drew Adams
2011-02-02 16:25 ` Eli Zaretskii
2011-02-02 17:16   ` Deniz Dogan
     [not found] <mailman.2.1296657205.25145.help-gnu-emacs@gnu.org>
2011-02-02 14:51 ` Stefan Monnier

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.