annotate etc/=TO-DO @ 19860:c17fd465ea95 libc-970911 libc-970912 libc-970913 libc-970914 libc-970915 libc-970916 libc-970917 libc-970918 libc-970919 libc-970920 libc-970921 libc-970922 libc-970923 libc-970924 libc-970925 libc-970926 libc-970927 libc-970928 libc-970929 libc-970930 libc-971001 libc-971018 libc-971019 libc-971020 libc-971021 libc-971022 libc-971023 libc-971024 libc-971025 libc-971026 libc-971027 libc-971028 libc-971029 libc-971030 libc-971031 libc-971101 libc-971102 libc-971103 libc-971104 libc-971105 libc-971106 libc-971107 libc-971108 libc-971109 libc-971110 libc-971111 libc-971112 libc-971113 libc-971114 libc-971115 libc-971116 libc-971117 libc-971118 libc-971120 libc-971121 libc-971122 libc-971123 libc-971124 libc-971125 libc-971126 libc-971127 libc-971128 libc-971129 libc-971130 libc-971201 libc-971203 libc-971204 libc-971205 libc-971206 libc-971207 libc-971208 libc-971209 libc-971210 libc-971211 libc-971212 libc-971213 libc-971214 libc-971217 libc-971218 libc-971219 libc-971220 libc-971221 libc-971222 libc-971223 libc-971224 libc-971225 libc-971226 libc-971227 libc-971228 libc-971229 libc-971230 libc-971231 libc-980103 libc-980104 libc-980105 libc-980106 libc-980107 libc-980108 libc-980109 libc-980110 libc-980111 libc-980112 libc-980114 libc-980115 libc-980116 libc-980117 libc-980118 libc-980119 libc-980120 libc-980121 libc-980122 libc-980123 libc-980124 libc-980125 libc-980126 libc-980127 libc-980128

typos.
author Jeff Law <law@redhat.com>
date Wed, 10 Sep 1997 21:16:20 +0000
parents 59c8668f70c7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2251
216f86e5891d Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
1 Things useful to do for GNU Emacs:
216f86e5891d Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
2
216f86e5891d Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
3 * Primitive for random access insertion of part of a file.
216f86e5891d Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
4
216f86e5891d Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
5 * Making I/O streams for files, so that read and prin1 can
216f86e5891d Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
6 be used on files directly. The I/O stream itself would
216f86e5891d Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
7 serve as a function to read or write one character.
216f86e5891d Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
8
216f86e5891d Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
9 * If a file you can't write is in a directory you can write,
216f86e5891d Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
10 make sure it works to modify and save this file.
216f86e5891d Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
11
216f86e5891d Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
12 * Make dired's commands handle correctly the case where
216f86e5891d Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
13 ls has listed several subdirectories' contents.
216f86e5891d Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
14 It needs to be able to tell which directory each file
216f86e5891d Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
15 is really in, by searching backward for the line
216f86e5891d Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
16 which identifies the start of a directory.
216f86e5891d Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
17
216f86e5891d Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
18 * Add more dired commands, such as sorting (use the
216f86e5891d Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
19 sort utility through call-process-region).
216f86e5891d Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
20
216f86e5891d Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
21 * Make display.c record inverse-video-ness on
216f86e5891d Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
22 a character by character basis. Then make non-full-screen-width
216f86e5891d Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
23 mode lines inverse video, and display the marked location in
216f86e5891d Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
24 inverse video.
216f86e5891d Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
25
216f86e5891d Initial revision
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
diff changeset
26 * VMS code to list a file directory. Make dired work.
2306
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
27
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
28 Long range:
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
29
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
30 Ideas for extending GNU Emacs to deal with arbitrary character sets.
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
31
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
32 I would like GNU Emacs to be extended to handle all the world's alphabets
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
33 and word signs. I don't expect to have time to do such a thing in the next
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
34 few years, so here are my ideas on the best way to do it.
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
35
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
36 * Each graphic is represented by a sequence of ordinary 8-bit characters.
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
37
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
38 * All the characters that make up such a sequence have codes >= 0200.
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
39
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
40 * The first character of such a sequence is between 0200 and 0237.
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
41
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
42 * The remaining characters of such a sequence are all 0240 or higher.
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
43
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
44 * The first character of the sequence determines the number of characters
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
45 in the sequence. Thus, 0200...0207 could start two-character sequences,
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
46 0210...0227 could start three-character sequences, and 0230 could start
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
47 four-character sequences. (Codes 0231...0237 would be reserved.)
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
48
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
49 * Several common alphabets, and some mathematical symbols, would get
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
50 two-character sequences. (Probably Greek, Russian, Hebrew(?), Arabic(?),
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
51 Korean, and Japanese kana). The remaining alphabets, and some versions of
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
52 Chinese, would get three-character sequences. Other sets of Chinese
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
53 characters would get four-character sequences.
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
54
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
55 Each country that uses Chinese characters has its own standard character
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
56 set, and it is not easy to correlate them to avoid overlap. So there may
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
57 need to be several sets of Chinese characters. That is why they need so
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
58 much code space.
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
59
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
60 True support for Hebrew and Arabic requires dealing with the problem of
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
61 writing direction for mixed text; I don't know what to do for that.
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
62
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
63 * The functions that use syntax table would determine the
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
64 syntax of a sequence from its first character.
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
65
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
66 * Functions in indent.c for computing widths and columns would
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
67 determine the width of a sequence from its first character.
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
68 So would display routines.
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
69
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
70 * Only a few other editing routines would need any change. In
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
71 particular, searching and regexp matching might not need any change.
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
72
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
73 * Most of the work required would be in redisplay. The only case that
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
74 needs to be supported is with X windows, since ordinary terminals
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
75 can't display all these characters anyway.
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
76
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
77 * There might need to be code to translate files from this format
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
78 to whatever format is typically stored on disk.
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
79
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
80
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
81 I would be very unhappy with half-measures, such as support for
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
82 Japanese only.
59c8668f70c7 Merged in CHARACTERS
Eric S. Raymond <esr@snark.thyrsus.com>
parents: 2251
diff changeset
83