Mercurial > emacs
view lisp/gnus/uu-post.xpm @ 53323:a053c8c470f3
Handle non-readable directories.
(ido-decorations): Add 9th element for non-readable directory.
(ido-directory-nonreadable): New dynamic var.
(ido-set-current-directory): Set it.
(ido-read-buffer, ido-file-internal):
(ido-read-file-name, ido-read-directory-name): Let-bind it.
(ido-file-name-all-completions1): Return empty list for
non-readable directory.
(ido-exhibit): Print [Not readable] if directory is not readable.
(ido-expand-directory): New defun (based on tiny fix from Karl Chen).
(ido-read-file-name, ido-file-internal, ido-read-directory-name):
Use it.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Sat, 27 Dec 2003 21:56:51 +0000 |
parents | 354a5b33d058 |
children | 55fd4f77387a |
line wrap: on
line source
/* XPM */ static char *magick[] = { /* columns rows colors chars-per-pixel */ "24 24 27 1", " c Gray0", ". c #0bfb0bfb0bfb", "X c Gray9", "o c Gray12", "O c #2fef2fef2fef", "+ c #3fff3fff3fff", "@ c Gray28", "# c #4ccc4ccc4ccc", "$ c #53e353e353e3", "% c #566656665666", "& c #5fe25fe25fe2", "* c #6fff6fff6fff", "= c Gray45", "- c #77d777d777d7", "; c Gray50", ": c #866586658665", "> c Gray56", ", c Gray60", "< c #9bcb9bcb9bcb", "1 c #9fff9fff9fff", "2 c #a7c7a7c7a7c7", "3 c Gray70", "4 c Gray75", "5 c Gray81", "6 c #dfffdfffdfff", "7 c #efffefffefff", "8 c Gray100", /* pixels */ "$44$44$44$44$44$44$44$44", "444444444444-44444444444", "4444444444-O-O,444444444", "$44$44$2>O-4$4$@>3$44$44", "444444&&&4444442&&-44444", "44444$ XOOOOOOOOO..-4444", "$44$4O,,,,,,,,,,,,=&4$44", "44444O,=#########:=&4444", "44444O,#>4444444&==&4444", "$44$4O,#48888888;==&4$44", "44444O,#48818888;==&4444", "44444O,#45+1+1*8;==&4444", "$44$4O,#4*6&8158;==&4$44", "44444O,#46;61888;==&4444", "44444O,#44o++888;==&4444", "$44$4O,#48885;78;==&4$44", "44444O,#48888468;==&4444", "44444O,#48888888;==&4444", "$44$4O,#48888888;==&4$44", "44444O,#&;;;;;;;+==&4444", "44444O,:=========>=&4444", "$44$4O============%&4$44", "44444-&&&&&&&&&&&&&>4444", "444444444444444444444444" };