[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
directory-files bug
From: |
Joakim Verona |
Subject: |
directory-files bug |
Date: |
Mon, 03 Jan 2005 21:18:44 +0100 |
Symptoms:
(directory-files "/home/joakim/Plans" t "^[^.]" t)
randomly dies with this trace:
Debugger entered--Lisp error: (args-out-of-range 5 15)
utf-8-post-read-conversion(10)
directory-files("/home/joakim/Plans" t "^[^.]" t)
eval((directory-files "/home/joakim/Plans" t "^[^.]" t))
eval-last-sexp-1(nil)
eval-last-sexp(nil)
call-interactively(eval-last-sexp)
this happens in a pretty recent emacs, but I suffered from the problem
about 2 weeks.
I tried to reduce it to a small set of directories with swedish utf-8
names, but the bug doesnt happen then:
/tmp/tstx:
total used in directory 36 available 22831096
drwxrwxr-x 2 joakim joakim 4096 Jan 3 19:06 å
drwxrwxr-x 2 joakim joakim 4096 Jan 3 19:06 ä
drwxrwxr-x 2 joakim joakim 4096 Jan 3 19:06 ö
theres about 500 files in the dir which randomly causes the problem.
Theres a few files with the swedish character "ö" in it, but not much.
(directory-files "/usr/lib" t "^[^.]" t)
also provokes the problem, even quicker for me.
I cant find any odd characters in the filenames in /usr/lib.
sadly the problem doesnt happen with:
emacs -nw --no-init.
so I guess the problem will be pretty hard to find.
Ill be happy to supply any further information that can help find the error.
/Joakim
In GNU Emacs 21.3.50.1 (i686-pc-linux-gnu, GTK+ Version 2.4.14)
of 2005-01-03 on naru.home
configured using `configure '--with-gtk' '--with-x' '--with-xpm' '--with-jpeg'
'--with-tiff' '--with-gif' '--with-png' 'CFLAGS=-O3''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8
default-enable-multibyte-characters: t
Major mode: Lisp Interaction
Minor modes in effect:
auto-compression-mode: t
display-time-mode: t
show-paren-mode: t
erc-truncate-mode: t
erc-log-mode: t
erc-bbdb-mode: t
erc-autoaway-mode: t
erc-autojoin-mode: t
erc-button-mode: t
erc-ring-mode: t
erc-pcomplete-mode: t
erc-track-mode: t
erc-fill-mode: t
erc-stamp-mode: t
erc-netsplit-mode: t
erc-smiley-mode: t
eldoc-mode: t
which-function-mode: t
encoded-kbd-mode: t
menu-bar-mode: t
global-font-lock-mode: t
font-lock-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
b u g SPC DEL DEL DEL RET ESC z C-g q ESC x a p r o
p SPC RET e m e DEL a c s - DEL - DEL DEL DEL DEL DEL
DEL b u g RET ESC O 2 B ESC [ 6 ~ C-s s u b m i t C-s
C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s
C-s ESC < C-s e m a c s - C-s ESC O 2 A ESC x r e p
o r t SPC e m SPC b SPC RET
Recent messages:
Mark set
Back to top level.
Making completion list...
call-interactively: No command name given
Entering debugger...
Back to top level.
Mark saved where search started
Mark set
Mark saved where search started
Loading emacsbug...done
- directory-files bug,
Joakim Verona <=