unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: Dired confused by filenames starting with date-like strings
Date: Thu, 24 Aug 2006 08:27:42 -0600	[thread overview]
Message-ID: <eckd20$53q$1@sea.gmane.org> (raw)
In-Reply-To: <F00E6DF6-C40A-4129-BF59-4839BCDF3874@web.DE>

Peter Dyballa wrote:
> 
> Am 24.08.2006 um 00:17 schrieb Miles Bader:
> 
>> This works correctly on my system, because dired invokes ls with the
>> "--dired" option (a feature of GNU ls, which causes ls to output extra
>> information about where the names are located).
>>
>> The variable `dired-use-ls-dired' controls whether dired does this or
>> not.
> 
> When I do
> 
>     (setq dired-use-ls-dired "/sw/bin/gls --dired")
> 
> (with or without "/sw/bin/") and then open a directory in dired-mode, my 
> GNU Emacsen 22.0.50 and 23.0.0 tell me:
> 
>     Debugger entered--Lisp error: (error "Listing directory failed but 
> `access-file' worked")
>       signal(error ("Listing directory failed but `access-file' worked"))
>       error("Listing directory failed but `access-file' worked")
>       insert-directory("/Users/pete/" "--dired -al" nil t)
>       dired-insert-directory("/Users/pete/" "-al" nil nil t)
>       dired-readin-insert()
>       dired-readin()
>       dired-internal-noselect("~/" nil)
>       dired-noselect("~/" nil)
>       dired("~/" nil)
>       call-interactively(dired)
> 
> and no listing.

There is no reason to set dired-use-ls-dired to anything but t or nil.
In particular, it does not determine which ls program is run.  Try:

(setq insert-directory-program "/sw/bin/ls"
       dired-use-ls-dired t)

-- 
Kevin

  reply	other threads:[~2006-08-24 14:27 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-23 18:15 Dired confused by filenames starting with date-like strings kg6mar
2006-08-23 22:17 ` Miles Bader
2006-08-24 11:56   ` Peter Dyballa
2006-08-24 14:27     ` Kevin Rodgers [this message]
     [not found]   ` <mailman.5544.1156420601.9609.help-gnu-emacs@gnu.org>
2006-08-24 14:35     ` Miles Bader
2006-08-24 15:05       ` Peter Dyballa
2006-08-24 16:12         ` Dired doesn't decode UTF-8 file names (was: Dired confused by filenames starting with date-like strings) Kevin Rodgers
2006-08-24 19:48           ` Peter Dyballa
2006-08-28 15:02             ` Dired doesn't decode UTF-8 file names Kevin Rodgers
2006-08-28 15:44               ` Peter Dyballa
2006-08-28 20:52                 ` Kevin Rodgers
2006-08-28 21:29                   ` Peter Dyballa
     [not found]                   ` <mailman.5855.1156800592.9609.help-gnu-emacs@gnu.org>
2006-08-28 21:36                     ` David Kastrup
     [not found] ` <mailman.5520.1156371436.9609.help-gnu-emacs@gnu.org>
2006-08-24 17:43   ` Dired confused by filenames starting with date-like strings kg6mar
2006-08-24 23:35     ` Eli Zaretskii
2006-08-25  0:41     ` Miles Bader
     [not found]     ` <mailman.5588.1156462534.9609.help-gnu-emacs@gnu.org>
2006-08-25 23:28       ` B. T. Raven
2006-08-26 12:09         ` Eli Zaretskii
     [not found]         ` <mailman.5676.1156594178.9609.help-gnu-emacs@gnu.org>
2006-08-27  0:58           ` B. T. Raven
2006-08-27  1:41             ` Miles Bader
     [not found]             ` <mailman.5698.1156642923.9609.help-gnu-emacs@gnu.org>
2006-09-07  3:08               ` kg6mar
2006-09-07 13:44                 ` Miles Bader
2006-11-02 17:59               ` John Olson
2006-08-24 21:48   ` Jesse Alama

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='eckd20$53q$1@sea.gmane.org' \
    --to=ihs_4664@yahoo.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.
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).