Mercurial > emacs
comparison admin/FOR-RELEASE @ 59621:3cc63cc58421
Fixed Partial highlighting of wrapped overlay bug
reported by Ralf Angeli.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Tue, 18 Jan 2005 12:46:04 +0000 |
parents | 6f663dc1995f |
children | 25d02ab709fc |
comparison
equal
deleted
inserted
replaced
59620:1bf354073f0c | 59621:3cc63cc58421 |
---|---|
37 | 37 |
38 ** url/*.el has lots of `(declare (special ...))' which | 38 ** url/*.el has lots of `(declare (special ...))' which |
39 are meaningless. What's that trying to do? | 39 are meaningless. What's that trying to do? |
40 | 40 |
41 * BUGS | 41 * BUGS |
42 | |
43 ** Incomplete overlay mouse-face highlight bug (Ralf Angeli, Oct 18) | |
44 | 42 |
45 ** Ange-ftp should ignore irrelevant IPv6 errors: | 43 ** Ange-ftp should ignore irrelevant IPv6 errors: |
46 | 44 |
47 Message-Id: <4121-Tue23Mar2004165249+0100-piet@cs.uu.nl> | 45 Message-Id: <4121-Tue23Mar2004165249+0100-piet@cs.uu.nl> |
48 From: "Piet van Oostrum" <piet@cs.uu.nl> | 46 From: "Piet van Oostrum" <piet@cs.uu.nl> |
149 when run in gdb, after interrupting. When the freeze up happens | 147 when run in gdb, after interrupting. When the freeze up happens |
150 within a gdb session, there is no automatic debugging feedback. After | 148 within a gdb session, there is no automatic debugging feedback. After |
151 interrupting I can get a backtrace, here's an example: | 149 interrupting I can get a backtrace, here's an example: |
152 | 150 |
153 Update: Maybe only reveals itself when compiled with GTK+ | 151 Update: Maybe only reveals itself when compiled with GTK+ |
154 | |
155 | |
156 ** Partial highlighting of wrapped overlay | |
157 | |
158 From: Ralf Angeli <angeli@iwi.uni-sb.de> | |
159 Date: Mon, 18 Oct 2004 19:09:19 +0200 | |
160 | |
161 If you put | |
162 | |
163 (let* ((length (+ (- (window-width) (current-column)) 40)) | |
164 (start (point)) | |
165 (end (+ (point) length)) | |
166 (string (make-string length ?x)) | |
167 ov) | |
168 (insert string) | |
169 (setq ov (make-overlay start end)) | |
170 (overlay-put ov 'mouse-face 'highlight) | |
171 (overlay-put ov 'display string)) | |
172 | |
173 into the *scratch* buffer and type `C-x C-e' with point at the last | |
174 parenthesis, you will get a string which does not fit into the line | |
175 and has to be wrapped. If you move over it with your mouse, you | |
176 should see that only the part on the second line is being highlighted. | |
177 The full string is highlighted only if the 'display property is not | |
178 set. | |
179 | |
180 | 152 |
181 | 153 |
182 * DOCUMENTATION | 154 * DOCUMENTATION |
183 | 155 |
184 ** Document Custom Themes. | 156 ** Document Custom Themes. |