Mercurial > emacs
annotate lisp/toolbar/open.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 | 8f4a34146a9d |
children | 734ff40978ad |
rev | line source |
---|---|
31591 | 1 /* XPM */ |
32389
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
31591
diff
changeset
|
2 static char *magick[] = { |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
31591
diff
changeset
|
3 /* columns rows colors chars-per-pixel */ |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
31591
diff
changeset
|
4 "24 24 4 1", |
32452
8f4a34146a9d
Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents:
32389
diff
changeset
|
5 " c Gray0", |
8f4a34146a9d
Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents:
32389
diff
changeset
|
6 ". c #999990907b7b", |
8f4a34146a9d
Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents:
32389
diff
changeset
|
7 "X c #fffffefef7f7", |
32389
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
31591
diff
changeset
|
8 "o c None", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
31591
diff
changeset
|
9 /* pixels */ |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
31591
diff
changeset
|
10 "oooooooooooooooooooooooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
31591
diff
changeset
|
11 "oooooooooooooooooooooooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
31591
diff
changeset
|
12 "oooooooooooooooooooooooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
31591
diff
changeset
|
13 "oooooooooooooooooooooooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
31591
diff
changeset
|
14 "oooooooooooooooooooooooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
31591
diff
changeset
|
15 "oooooooooooooo oooooooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
31591
diff
changeset
|
16 "ooooooooooo .. ooooooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
31591
diff
changeset
|
17 "oooo oo ....XXo ooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
31591
diff
changeset
|
18 "ooo .. ....XXXX .. ooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
31591
diff
changeset
|
19 "ooo .....XXXXX .... ooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
31591
diff
changeset
|
20 "oooo ..XXXXX ...... ooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
31591
diff
changeset
|
21 "oooo ..XXX ........ ooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
31591
diff
changeset
|
22 "ooooo .XX .......... ooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
31591
diff
changeset
|
23 "ooooo ..X .......... ooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
31591
diff
changeset
|
24 "oooooo .X .......... ooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
31591
diff
changeset
|
25 "oooooo .. ........ oooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
31591
diff
changeset
|
26 "ooooooo . ...... oooooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
31591
diff
changeset
|
27 "ooooooo . ..... oooooooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
31591
diff
changeset
|
28 "oooooooo ... ooooooooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
31591
diff
changeset
|
29 "oooooooo . ooooooooooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
31591
diff
changeset
|
30 "ooooooooo ooooooooooooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
31591
diff
changeset
|
31 "oooooooooooooooooooooooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
31591
diff
changeset
|
32 "oooooooooooooooooooooooo", |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
31591
diff
changeset
|
33 "oooooooooooooooooooooooo" |
03a8b6779868
Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents:
31591
diff
changeset
|
34 }; |