[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
dired bug
From: |
Vinicius Jose Latorre |
Subject: |
dired bug |
Date: |
Wed, 5 Mar 2003 13:38:57 -0300 |
Hi,
I'm using RedHat 8.0:
Linux localhost.localdomain 2.4.18-24.8.0 #1 Fri Jan 31 07:28:55 EST 2003 i686
athlon i386 GNU/Linux
And:
GNU Emacs 21.3.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2003-03-03 on localhost.localdomain
There is an error on dired-mode. I have the following setting on my .emacs:
(setq dired-listing-switches " -laoF --sort=version ")
If I go to a directory like (using dired-mode):
/home/vinicius/bin:
total used in directory 8 available 64787596
drwxrwxr-x 2 vinicius 4096 Aug 27 2002 ./
drwx--x--x 42 vinicius 4096 Mar 4 18:54 ../
And then I type + (to add directory xxx), I got:
/home/vinicius/bin:
total used in directory 8 available 64787596
drwxrwxr-x 2 vinicius 4096 Aug 27 2002 ./
drwx--x--x 42 vinicius 4096 Mar 4 18:54 ../
/bin/ls: d: No such file or directory
xxx:
total 8
drwxrwxr-x 2 vinicius 4096 Mar 4 20:28 ./
drwxrwxr-x 3 vinicius 4096 Mar 4 20:28 ../
//DIRED// 66 67 118 120
//SUBDIRED// 2 5
//DIRED-OPTIONS// --quoting-style=literal
And typing g (to update dired buffer):
/home/vinicius/bin:
total used in directory 12 available 64787588
drwxrwxr-x 3 vinicius 4096 Mar 4 20:28 ./
drwx--x--x 42 vinicius 4096 Mar 4 18:54 ../
drwxrwxr-x 2 vinicius 4096 Mar 4 20:28 xxx/
I got the following debugger message (setting debug-on-error to t):
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("xxx" "--dired -laoF --sort=version d" nil nil)
dired-insert-directory("/home/vinicius/bin/" " -laoF --sort=version d"
("xxx"))
byte-code(".....SKIPPED FOR BREVITY......" [directory cur-dir p opoint
buffer-read-only default-directory "^\n" nil 13 dired-unhide-subdir
dired-after-subdir-garbage dired-goto-subdir looking-at "
" dired-goto-next-nontrivial-file throw not-found "Subdir not found"
beginning-of-line dired-insert-directory "d" dired-mark dired-get-filename
verbatim file-name-directory text-properties-at delete-char set-text-properties
1 -1 run-hooks dired-after-readin-hook dired-move-to-filename
dired-actual-switches filename marker-char dired-marker-char inserted-name
props pt] 5)
dired-omit-old-add-entry("/home/vinicius/bin/xxx" nil nil)
dired-add-entry("/home/vinicius/bin/xxx" nil)
apply(dired-add-entry ("/home/vinicius/bin/xxx" nil))
dired-fun-in-all-buffers("/home/vinicius/bin/" "xxx" dired-add-entry
"/home/vinicius/bin/xxx" nil)
dired-add-file("/home/vinicius/bin/xxx")
dired-create-directory("~/bin/xxx")
call-interactively(dired-create-directory)
I made some tests and found that if I set to:
(setq dired-listing-switches "-laoF --sort=version")
or
(setq dired-listing-switches " --sort=version -laoF ")
or
(setq dired-listing-switches "--sort=version -laoF ")
The error still persists!!
But if I set to:
(setq dired-listing-switches " --sort=version -laoF")
or
(setq dired-listing-switches "--sort=version -laoF")
The error disappears!!!
Regards,
Vinicius
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- dired bug,
Vinicius Jose Latorre <=