Mercurial > emacs
comparison lisp/ChangeLog @ 35162:a201a118a373
*** empty log message ***
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Tue, 09 Jan 2001 12:00:29 +0000 |
parents | 9276c6d67ee4 |
children | 2aa481613ac4 |
comparison
equal
deleted
inserted
replaced
35161:0495de5487ae | 35162:a201a118a373 |
---|---|
1 2001-01-09 Alex Schroeder <alex@gnu.org> | |
2 | |
3 * ansi-color.el (ansi-color-process-output): Use markers instead | |
4 of positions for start and end of region. | |
5 (ansi-color-apply-on-region): Rewrote code to make it more robust. | |
6 Previously, occasional mistakes happend when fontifying many | |
7 chunks of output (eg. ls --color=yes /dev). This happened | |
8 whenever an overlay was created up to the end of the region, which | |
9 coincided with the process-mark. New text would then be added | |
10 within that overlay instead of after it. | |
11 (ansi-color-make-extent): Overlays are created with the property | |
12 `modification-hooks' set to '(ansi-color-freeze-overlay). | |
13 (ansi-color-freeze-overlay): New function. When inserting text at | |
14 the end of the overlay, the overlay will resize. | |
15 | |
16 2000-01-09 Alex Schroeder <alex@gnu.org> | |
17 | |
18 * ansi-color.el (ansi-color-process-output): Doc change. | |
19 (ansi-color-unfontify-region): Doc change. No longer installed | |
20 automatically in font-lock-unfontify-region-function. | |
21 (ansi-color-apply): Doc change. | |
22 (ansi-color-apply-on-region): Use extents or overlays instead of | |
23 text-properties. | |
24 (ansi-color-make-extent): New function. | |
25 (ansi-color-set-extent-face): New function. | |
26 | |
27 2000-01-09 Alex Schroeder <alex@gnu.org> | |
28 | |
29 * ansi-color.el (ansi-color-process): Removed, Emacs and XEmacs | |
30 both use ansi-color-process-output, now. | |
31 (ansi-color-process-output): Doesn't return string anymore. It is | |
32 installed in comint-output-filter-functions for both Emacs and | |
33 XEmacs, now. | |
34 (ansi-color-unfontify-region): Simplified code removing variables | |
35 pos and start-ansi. | |
36 (ansi-color-apply): Put text-property ansi-color before putting | |
37 text-property face because ansi-color-unfontify-region is called | |
38 immediately after the call to put-text-property. | |
39 (ansi-color-context-region): Doc change. | |
40 (ansi-color-filter-region): Simplified code. | |
41 (ansi-color-apply-on-region): Changed start to start-marker, using | |
42 a marker explicitly. Put text-property ansi-color before putting | |
43 text-property face because ansi-color-unfontify-region is called | |
44 immediately after the call to put-text-property. | |
45 | |
46 2000-01-09 Alex Schroeder <alex@gnu.org> | |
47 | |
48 * ansi-color.el (ansi-color-faces-vector): Doc change. | |
49 (ansi-color-for-comint-mode): Changed :type property to choice. | |
50 (ansi-color-last-context): Removed. | |
51 (ansi-color-process-output): Don't use ansi-color-last-context, as | |
52 the main functions will store their context now. | |
53 (ansi-color-context): Doc change. | |
54 (ansi-color-filter-apply): Rewrote it based on ansi-color-apply. | |
55 Uses ansi-color-context such that repeated calls will strip | |
56 partial escape sequences, too. | |
57 (ansi-color-apply): Simplified code. Colorize end of string if | |
58 face is not null. Store context in new (FACE STRING) format, such | |
59 that repeated calls will strip partial escape sequences, too. | |
60 Append faces to face property using ansi-color-apply-sequence such | |
61 that cumulative mode actually works. | |
62 (ansi-color-context-region): New variable. | |
63 (ansi-color-filter-region): Rewrote it based on | |
64 ansi-color-apply-on-region. Uses ansi-color-context-region such | |
65 that repeated calls will strip partial escape sequences, too. | |
66 (ansi-color-apply-on-region): Simplified code. Colorize end of | |
67 region if face is not null. Store context in new (FACE POS) | |
68 format, such that repeated calls will strip partial escape | |
69 sequences, too. Append faces to face property using | |
70 ansi-color-apply-sequence such that cumulative mode actually | |
71 works. | |
72 (ansi-color-apply-sequence): New function. | |
73 (ansi-color-get-face): When the default face is added to the list | |
74 of faces, all previous settings are discarded and the list of | |
75 faces is set to '(default). | |
76 | |
77 2000-01-09 Alex Schroeder <alex@gnu.org> | |
78 | |
79 * ansi-color.el (ansi-color-faces-vector): Use nil for the default | |
80 face, such that ansi-color-apply and ansi-color-apply-on-region | |
81 will do the right thing. | |
82 (ansi-color-apply): Do the right thing, ie. if ansi-color-get-face | |
83 returns nil, set the list of faces back to nil instead of | |
84 appending the result of ansi-color-get-face to the front of the | |
85 list. | |
86 | |
87 2000-01-09 Alex Schroeder <alex@gnu.org> | |
88 | |
89 * ansi-color.el (ansi-color-for-comint-mode): Doc change. | |
90 (ansi-color-process): Doc change. | |
91 (ansi-color-last-context): New buffer-local variable. | |
92 (ansi-color-process-output): New function. It is automatically | |
93 added to comint-output-filter-functions if this is XEmacs. | |
94 (ansi-color-unfontify-region): New optional parameter for XEmacs | |
95 compatibility. Check wether font-lock-syntactic-keywords is | |
96 boundp before removing the syntax table text property, as XEmacs | |
97 doesn't have it. | |
98 (ansi-color-filter-region): Doc change. | |
99 (ansi-color-apply-on-region): Doc change. | |
100 (ansi-color-make-face): New function. Compatibility layer for | |
101 XEmacs. Return temporary faces instead of cons cells for XEmacs. | |
102 (ansi-color-make-color-map): Use ansi-color-make-face. | |
103 (ansi-color-get-face): Avoid face text property '(nil) as results | |
104 in an errow for XEmacs. | |
105 | |
106 2000-01-09 Alex Schroeder <alex@gnu.org> | |
107 | |
108 * ansi-color.el (ansi-color-unfontify-region): New function. Uses | |
109 text-property ansi-color in order to preserve fontification by | |
110 ansi-color. When the package is loaded, a lambda expression is | |
111 put onto font-lock-mode-hook. This lambda expression will check | |
112 font-lock-unfontify-region-function and replace | |
113 font-lock-default-unfontify-region with | |
114 ansi-color-unfontify-region. | |
115 (ansi-color-apply): Add text-property ansi-color in addition to | |
116 text-property face. | |
117 (ansi-color-apply-on-region): Add text-property ansi-color in | |
118 addition to text-property face. | |
119 (save-buffer-state): Copy of the macro that is also used by | |
120 lazy-lock and font-lock. | |
121 | |
122 (ansi-color-for-comint-mode): New option. | |
123 (ansi-color-for-comint-mode-on): Set ansi-color-for-comint-mode. | |
124 (ansi-color-for-comint-mode-off): Ditto. | |
125 (ansi-color-for-comint-mode-filter): Ditto. | |
126 (ansi-color-process): New function. Uses | |
127 ansi-color-for-comint-mode to decide what to do. This function is | |
128 added to comint-preoutput-filter-functions when the package is | |
129 loaded. | |
130 | |
131 (ansi-color-for-shell-mode-set): Removed. | |
132 (ansi-color-for-shell-mode): Removed. | |
133 | |
134 2000-01-09 Alex Schroeder <alex@gnu.org> | |
135 | |
136 * ansi-color.el (ansi-color-for-shell-mode-set): New function with | |
137 the lambda expression from the ansi-color-for-shell-mode :set | |
138 property. Additionally, modify shell-mode-hook to enable or | |
139 disable font-lock-mode for future shell buffers. | |
140 (ansi-color-for-shell-mode): The :set property calls | |
141 ansi-color-for-shell-mode-set instead of a lambda expression. | |
142 | |
143 2000-01-09 Alex Schroeder <alex@gnu.org> | |
144 | |
145 * ansi-color.el (ansi-color-for-shell-mode): Doc change. | |
146 (ansi-color-context): New variable. | |
147 (ansi-color-apply): Save context between calls. | |
148 | |
1 2001-01-09 Eli Zaretskii <eliz@is.elta.co.il> | 149 2001-01-09 Eli Zaretskii <eliz@is.elta.co.il> |
2 | 150 |
3 * isearch.el (isearch, isearch-lazy-highlight-face): New | 151 * isearch.el (isearch, isearch-lazy-highlight-face): New |
4 definitions for face colors and attributes. | 152 definitions for face colors and attributes. |
5 | 153 |