comparison etc/PROBLEMS @ 34387:30fe602d7443

*** empty log message ***
author Dave Love <fx@gnu.org>
date Fri, 08 Dec 2000 22:25:39 +0000
parents fc9ba8a24dde
children c9772e95b9c1
comparison
equal deleted inserted replaced
34386:90914c4f36aa 34387:30fe602d7443
1 This file describes various problems that have been encountered 1 This file describes various problems that have been encountered
2 in compiling, installing and running GNU Emacs. 2 in compiling, installing and running GNU Emacs.
3
4 * The PSGML package uses the obsolete variables
5 `before-change-function' and `after-change-function', which are no
6 longer used by Emacs. These changes to PSGML 1.2.1 fix that.
7
8 --- psgml-edit.el 1999/12/17 10:55:07 1.1
9 +++ psgml-edit.el 1999/12/17 11:36:37
10 @@ -263,4 +263,4 @@
11 ; inhibit-read-only
12 - (before-change-function nil)
13 - (after-change-function nil))
14 + (before-change-functions nil)
15 + (after-change-functions nil))
16 (setq selective-display t)
17 @@ -1474,3 +1474,3 @@
18 (buffer-read-only nil)
19 - (before-change-function nil)
20 + (before-change-functions nil)
21 (markup-index ; match-data index in tag regexp
22 @@ -1526,3 +1526,3 @@
23 (defun sgml-expand-shortref-to-text (name)
24 - (let (before-change-function
25 + (let (before-change-functions
26 (entity (sgml-lookup-entity name (sgml-dtd-entities sgml-dtd-info))))
27 @@ -1543,3 +1543,3 @@
28 (re-found nil)
29 - before-change-function)
30 + before-change-functions)
31 (goto-char sgml-markup-start)
32 @@ -1576,3 +1576,3 @@
33 (goto-char (sgml-element-end element))
34 - (let ((before-change-function nil))
35 + (let ((before-change-functions nil))
36 (sgml-normalize-content element only-one)))
37 --- psgml-other.el 1999/12/17 10:40:02 1.1
38 +++ psgml-other.el 1999/12/17 11:30:43
39 @@ -32,2 +32,3 @@
40 (require 'easymenu)
41 +(eval-when-compile (require 'cl))
42
43 @@ -61,4 +62,9 @@
44 (let ((submenu
45 - (subseq entries 0 (min (length entries)
46 - sgml-max-menu-size))))
47 +;;; (subseq entries 0 (min (length entries)
48 +;;; sgml-max-menu-size))
49 + (let ((new (copy-sequence entries)))
50 + (setcdr (nthcdr (1- (min (length entries)
51 + sgml-max-menu-size))
52 + new) nil)
53 + new)))
54 (setq entries (nthcdr sgml-max-menu-size entries))
55 @@ -113,7 +119,10 @@
56 (let ((inhibit-read-only t)
57 - (after-change-function nil) ; obsolete variable
58 - (before-change-function nil) ; obsolete variable
59 (after-change-functions nil)
60 - (before-change-functions nil))
61 - (put-text-property start end 'face face)))
62 + (before-change-functions nil)
63 + (modified (buffer-modified-p))
64 + (buffer-undo-list t)
65 + deactivate-mark)
66 + (put-text-property start end 'face face)
67 + (when (and (not modified) (buffer-modified-p))
68 + (set-buffer-modified-p nil))))
69 (t
70 --- psgml-parse.el 1999/12/17 10:32:45 1.1
71 +++ psgml-parse.el 2000/12/05 17:12:34
72 @@ -40,2 +40,4 @@
73
74 +(eval-when-compile (require 'cl))
75 +
76
77 @@ -2474,8 +2476,8 @@
78 (setq sgml-scratch-buffer nil))
79 - (when after-change-function ;***
80 - (message "OOPS: after-change-function not NIL in scratch buffer %s: %s"
81 + (when after-change-functions ;***
82 + (message "OOPS: after-change-functions not NIL in scratch buffer %s: %S"
83 (current-buffer)
84 - after-change-function)
85 - (setq before-change-function nil
86 - after-change-function nil))
87 + after-change-functions)
88 + (setq before-change-functions nil
89 + after-change-functions nil))
90 (setq sgml-last-entity-buffer (current-buffer))
91 @@ -2846,6 +2848,5 @@
92 "Set initial state of parsing"
93 - (make-local-variable 'before-change-function)
94 - (setq before-change-function 'sgml-note-change-at)
95 - (make-local-variable 'after-change-function)
96 - (setq after-change-function 'sgml-set-face-after-change)
97 + (set (make-local-variable 'before-change-functions) '(sgml-note-change-at))
98 + (set (make-local-variable 'after-change-functions)
99 + '(sgml-set-face-after-change))
100 (sgml-set-active-dtd-indicator (sgml-dtd-doctype dtd))
101 @@ -3887,7 +3888,7 @@
102
103 - (unless before-change-function
104 - (message "WARN: before-change-function has been lost, restoring (%s)"
105 + (unless before-change-functions
106 + (message "WARN: before-change-functions has been lost, restoring (%s)"
107 (current-buffer))
108 - (setq before-change-function 'sgml-note-change-at)
109 - (setq after-change-function 'sgml-set-face-after-change)
110 + (setq before-change-functions '(sgml-note-change-at))
111 + (setq after-change-functions '(sgml-set-face-after-change))
112 )
3 113
4 * On systems with shared libraries you might encounter run-time errors 114 * On systems with shared libraries you might encounter run-time errors
5 from the dynamic linker telling you that it is unable to find some 115 from the dynamic linker telling you that it is unable to find some
6 shared libraries, for instance those for Xaw3d or image support. 116 shared libraries, for instance those for Xaw3d or image support.
7 These errors mean Emacs has been linked with a library whose shared 117 These errors mean Emacs has been linked with a library whose shared