comparison etc/PROBLEMS @ 36550:9f139645d57d

Mostly update psgml patch.
author Dave Love <fx@gnu.org>
date Mon, 05 Mar 2001 17:19:30 +0000
parents c8e9adfd5f49
children fcca57f520e5
comparison
equal deleted inserted replaced
36549:dc6ef0384989 36550:9f139645d57d
149 problems). The problems include: 149 problems). The problems include:
150 150
151 . No redisplay as long as help echo is displayed in the echo area, 151 . No redisplay as long as help echo is displayed in the echo area,
152 e.g. if the mouse is on a mouse-sensitive part of the mode line. 152 e.g. if the mouse is on a mouse-sensitive part of the mode line.
153 153
154 . When mode line is dragged with the mouse, multiple copies of the 154 . When the mode line is dragged with the mouse, multiple copies of the
155 mode line are left behind, until the mouse button is released and 155 mode line are left behind, until the mouse button is released and
156 the next input event occurs. 156 the next input event occurs.
157 157
158 . Window contents is not updated when text is selected by dragging 158 . Window contents are not updated when text is selected by dragging
159 the mouse and the mouse is dragged below the bottom line of the 159 the mouse, and the mouse is dragged below the bottom line of the
160 window. When the mouse button is released, the window display is 160 window. When the mouse button is released, the window display is
161 correctly updated. 161 correctly updated.
162 162
163 Again, these problems only occur if `redisplay-dont-pause' is nil. 163 Again, these problems only occur if `redisplay-dont-pause' is nil.
164 164
171 * The `configure' script doesn't find the jpeg library. 171 * The `configure' script doesn't find the jpeg library.
172 172
173 This can happen because the linker by default only looks for shared 173 This can happen because the linker by default only looks for shared
174 libraries, but jpeg distribution by default doesn't build and doesn't 174 libraries, but jpeg distribution by default doesn't build and doesn't
175 install a shared version of the library, `libjpeg.so'. One system 175 install a shared version of the library, `libjpeg.so'. One system
176 where this is known to happen is Compaq/DEC Alpha OSF/1 v4.0, but it 176 where this is known to happen is Compaq OSF/1 (`Tru64'), but it
177 probably isn't limited to that system alone. 177 probably isn't limited to that system.
178 178
179 It is possible to build Emacs linked statically, but that makes the 179 It is possible to build Emacs linked statically, but that makes the
180 binary much larger. 180 binary much larger.
181 181
182 If you want to avoid building a statically linked Emacs, configure the 182 If you want to avoid building a statically linked Emacs, configure the
287 so, you have hit a compiler bug. Please make sure to re-configure 287 so, you have hit a compiler bug. Please make sure to re-configure
288 Emacs so that it isn't compiled with `-O5'. 288 Emacs so that it isn't compiled with `-O5'.
289 289
290 * The PSGML package uses the obsolete variables 290 * The PSGML package uses the obsolete variables
291 `before-change-function' and `after-change-function', which are no 291 `before-change-function' and `after-change-function', which are no
292 longer used by Emacs. These changes to PSGML 1.2.1 fix that. 292 longer used by Emacs. These changes to PSGML 1.2.2 fix that.
293 293
294 --- psgml-edit.el 1999/12/17 10:55:07 1.1 294 --- psgml-edit.el 2001/03/03 00:23:31 1.1
295 +++ psgml-edit.el 1999/12/17 11:36:37 295 +++ psgml-edit.el 2001/03/03 00:24:22
296 @@ -263,4 +263,4 @@ 296 @@ -264,4 +264,4 @@
297 ; inhibit-read-only 297 ; inhibit-read-only
298 - (before-change-function nil) 298 - (before-change-function nil)
299 - (after-change-function nil)) 299 - (after-change-function nil))
300 + (before-change-functions nil) 300 + (before-change-functions nil)
301 + (after-change-functions nil)) 301 + (after-change-functions nil))
302 (setq selective-display t) 302 (setq selective-display t)
303 @@ -1474,3 +1474,3 @@ 303 @@ -1544,3 +1544,3 @@
304 (buffer-read-only nil) 304 (buffer-read-only nil)
305 - (before-change-function nil) 305 - (before-change-function nil)
306 + (before-change-functions nil) 306 + (before-change-functions nil)
307 (markup-index ; match-data index in tag regexp 307 (markup-index ; match-data index in tag regexp
308 @@ -1526,3 +1526,3 @@ 308 @@ -1596,3 +1596,3 @@
309 (defun sgml-expand-shortref-to-text (name) 309 (defun sgml-expand-shortref-to-text (name)
310 - (let (before-change-function 310 - (let (before-change-function
311 + (let (before-change-functions 311 + (let (before-change-functions
312 (entity (sgml-lookup-entity name (sgml-dtd-entities sgml-dtd-info)))) 312 (entity (sgml-lookup-entity name (sgml-dtd-entities sgml-dtd-info))))
313 @@ -1543,3 +1543,3 @@ 313 @@ -1613,3 +1613,3 @@
314 (re-found nil) 314 (re-found nil)
315 - before-change-function) 315 - before-change-function)
316 + before-change-functions) 316 + before-change-functions)
317 (goto-char sgml-markup-start) 317 (goto-char sgml-markup-start)
318 @@ -1576,3 +1576,3 @@ 318 @@ -1646,3 +1646,3 @@
319 (goto-char (sgml-element-end element)) 319 (goto-char (sgml-element-end element))
320 - (let ((before-change-function nil)) 320 - (let ((before-change-function nil))
321 + (let ((before-change-functions nil)) 321 + (let ((before-change-functions nil))
322 (sgml-normalize-content element only-one))) 322 (sgml-normalize-content element only-one)))
323 --- psgml-other.el 1999/12/17 10:40:02 1.1 323 --- psgml-other.el 2001/03/03 00:23:42 1.1
324 +++ psgml-other.el 1999/12/17 11:30:43 324 +++ psgml-other.el 2001/03/03 00:30:05
325 @@ -32,2 +32,3 @@ 325 @@ -32,2 +32,3 @@
326 (require 'easymenu) 326 (require 'easymenu)
327 +(eval-when-compile (require 'cl)) 327 +(eval-when-compile (require 'cl))
328 328
329 @@ -61,4 +62,9 @@ 329 @@ -61,4 +62,9 @@
336 + (setcdr (nthcdr (1- (min (length entries) 336 + (setcdr (nthcdr (1- (min (length entries)
337 + sgml-max-menu-size)) 337 + sgml-max-menu-size))
338 + new) nil) 338 + new) nil)
339 + new))) 339 + new)))
340 (setq entries (nthcdr sgml-max-menu-size entries)) 340 (setq entries (nthcdr sgml-max-menu-size entries))
341 @@ -113,7 +119,10 @@ 341 @@ -113,9 +119,10 @@
342 (let ((inhibit-read-only t) 342 (let ((inhibit-read-only t)
343 - (after-change-function nil) ; obsolete variable 343 - (after-change-function nil) ; obsolete variable
344 - (before-change-function nil) ; obsolete variable 344 - (before-change-function nil) ; obsolete variable
345 (after-change-functions nil) 345 (after-change-functions nil)
346 - (before-change-functions nil)) 346 - (before-change-functions nil))
347 - (put-text-property start end 'face face)))
348 + (before-change-functions nil) 347 + (before-change-functions nil)
349 + (modified (buffer-modified-p)) 348 + (modified (buffer-modified-p))
350 + (buffer-undo-list t) 349 + (buffer-undo-list t)
351 + deactivate-mark) 350 + deactivate-mark)
352 + (put-text-property start end 'face face) 351 (put-text-property start end 'face face)
352 - (when (< start end)
353 - (put-text-property (1- end) end 'rear-nonsticky '(face)))))
353 + (when (and (not modified) (buffer-modified-p)) 354 + (when (and (not modified) (buffer-modified-p))
354 + (set-buffer-modified-p nil)))) 355 + (set-buffer-modified-p nil))))
355 (t 356 (t
356 --- psgml-parse.el 1999/12/17 10:32:45 1.1 357 --- psgml-parse.el 2001/03/03 00:23:57 1.1
357 +++ psgml-parse.el 2000/12/05 17:12:34 358 +++ psgml-parse.el 2001/03/03 00:29:56
358 @@ -40,2 +40,4 @@ 359 @@ -40,2 +40,4 @@
359 360
360 +(eval-when-compile (require 'cl)) 361 +(eval-when-compile (require 'cl))
361 + 362 +
362 363
363 @@ -2474,8 +2476,8 @@ 364 @@ -2493,8 +2495,8 @@
364 (setq sgml-scratch-buffer nil)) 365 (setq sgml-scratch-buffer nil))
365 - (when after-change-function ;*** 366 - (when after-change-function ;***
366 - (message "OOPS: after-change-function not NIL in scratch buffer %s: %s" 367 - (message "OOPS: after-change-function not NIL in scratch buffer %s: %s"
367 + (when after-change-functions ;*** 368 + (when after-change-functions ;***
368 + (message "OOPS: after-change-functions not NIL in scratch buffer %s: %S" 369 + (message "OOPS: after-change-functions not NIL in scratch buffer %s: %S"
372 - after-change-function nil)) 373 - after-change-function nil))
373 + after-change-functions) 374 + after-change-functions)
374 + (setq before-change-functions nil 375 + (setq before-change-functions nil
375 + after-change-functions nil)) 376 + after-change-functions nil))
376 (setq sgml-last-entity-buffer (current-buffer)) 377 (setq sgml-last-entity-buffer (current-buffer))
377 @@ -2846,6 +2848,5 @@ 378 @@ -2878,6 +2880,5 @@
378 "Set initial state of parsing" 379 "Set initial state of parsing"
379 - (make-local-variable 'before-change-function) 380 - (make-local-variable 'before-change-function)
380 - (setq before-change-function 'sgml-note-change-at) 381 - (setq before-change-function 'sgml-note-change-at)
381 - (make-local-variable 'after-change-function) 382 - (make-local-variable 'after-change-function)
382 - (setq after-change-function 'sgml-set-face-after-change) 383 - (setq after-change-function 'sgml-set-face-after-change)
383 + (set (make-local-variable 'before-change-functions) '(sgml-note-change-at)) 384 + (set (make-local-variable 'before-change-functions) '(sgml-note-change-at))
384 + (set (make-local-variable 'after-change-functions) 385 + (set (make-local-variable 'after-change-functions)
385 + '(sgml-set-face-after-change)) 386 + '(sgml-set-face-after-change))
386 (sgml-set-active-dtd-indicator (sgml-dtd-doctype dtd)) 387 (sgml-set-active-dtd-indicator (sgml-dtd-doctype dtd))
387 @@ -3887,7 +3888,7 @@ 388 @@ -3925,7 +3926,7 @@
388 389 (sgml-need-dtd)
389 - (unless before-change-function 390 - (unless before-change-function
390 - (message "WARN: before-change-function has been lost, restoring (%s)" 391 - (message "WARN: before-change-function has been lost, restoring (%s)"
391 + (unless before-change-functions 392 + (unless before-change-functions
392 + (message "WARN: before-change-functions has been lost, restoring (%s)" 393 + (message "WARN: before-change-functions has been lost, restoring (%s)"
393 (current-buffer)) 394 (current-buffer))
394 - (setq before-change-function 'sgml-note-change-at) 395 - (setq before-change-function 'sgml-note-change-at)
395 - (setq after-change-function 'sgml-set-face-after-change) 396 - (setq after-change-function 'sgml-set-face-after-change))
396 + (setq before-change-functions '(sgml-note-change-at)) 397 + (setq before-change-functions '(sgml-note-change-at))
397 + (setq after-change-functions '(sgml-set-face-after-change)) 398 + (setq after-change-functions '(sgml-set-face-after-change)))
398 ) 399 (sgml-with-parser-syntax-ro
399 400
400 * The Calc package fails to build and signals errors with Emacs 21. 401 * The Calc package fails to build and signals errors with Emacs 21.
401 402
402 Apply the following patches which reportedly fix several problems: 403 Apply the following patches which reportedly fix several problems:
403 404