diff options
| author | Pavel Janík | 2002-01-08 21:42:19 +0000 |
|---|---|---|
| committer | Pavel Janík | 2002-01-08 21:42:19 +0000 |
| commit | 2fbeec98ec4237ed20e208716e8147222175b56d (patch) | |
| tree | 3182c2b3bd8846b444fedf7dfa50e2dd969c3f4c | |
| parent | f34e1abc243e229af7faff2a2cf1f1c2adf0e6a8 (diff) | |
| download | emacs-2fbeec98ec4237ed20e208716e8147222175b56d.tar.gz emacs-2fbeec98ec4237ed20e208716e8147222175b56d.zip | |
Remove psgml patch, users should use newer versions.
| -rw-r--r-- | etc/PROBLEMS | 159 |
1 files changed, 1 insertions, 158 deletions
diff --git a/etc/PROBLEMS b/etc/PROBLEMS index c76f62d833d..c8804eee8ac 100644 --- a/etc/PROBLEMS +++ b/etc/PROBLEMS | |||
| @@ -575,164 +575,7 @@ is to use the default compiler `cc'. | |||
| 575 | 575 | ||
| 576 | * The PSGML package uses the obsolete variables | 576 | * The PSGML package uses the obsolete variables |
| 577 | `before-change-function' and `after-change-function', which are no | 577 | `before-change-function' and `after-change-function', which are no |
| 578 | longer used by Emacs. These changes to PSGML 1.2.2 fix that. | 578 | longer used by Emacs. Please PSGML 1.2.3 or later. |
| 579 | |||
| 580 | --- psgml-edit.el 2001/03/03 00:23:31 1.1 | ||
| 581 | +++ psgml-edit.el 2001/03/03 00:24:22 | ||
| 582 | @@ -264,4 +264,4 @@ | ||
| 583 | ; inhibit-read-only | ||
| 584 | - (before-change-function nil) | ||
| 585 | - (after-change-function nil)) | ||
| 586 | + (before-change-functions nil) | ||
| 587 | + (after-change-functions nil)) | ||
| 588 | (setq selective-display t) | ||
| 589 | @@ -1544,3 +1544,3 @@ | ||
| 590 | (buffer-read-only nil) | ||
| 591 | - (before-change-function nil) | ||
| 592 | + (before-change-functions nil) | ||
| 593 | (markup-index ; match-data index in tag regexp | ||
| 594 | @@ -1596,3 +1596,3 @@ | ||
| 595 | (defun sgml-expand-shortref-to-text (name) | ||
| 596 | - (let (before-change-function | ||
| 597 | + (let (before-change-functions | ||
| 598 | (entity (sgml-lookup-entity name (sgml-dtd-entities sgml-dtd-info)))) | ||
| 599 | @@ -1613,3 +1613,3 @@ | ||
| 600 | (re-found nil) | ||
| 601 | - before-change-function) | ||
| 602 | + before-change-functions) | ||
| 603 | (goto-char sgml-markup-start) | ||
| 604 | @@ -1646,3 +1646,3 @@ | ||
| 605 | (goto-char (sgml-element-end element)) | ||
| 606 | - (let ((before-change-function nil)) | ||
| 607 | + (let ((before-change-functions nil)) | ||
| 608 | (sgml-normalize-content element only-one))) | ||
| 609 | Index: psgml-other.el | ||
| 610 | --- psgml-other.el 2001/03/03 00:23:42 1.1 | ||
| 611 | +++ psgml-other.el 2001/03/03 00:30:05 | ||
| 612 | @@ -32,2 +32,3 @@ | ||
| 613 | (require 'easymenu) | ||
| 614 | +(eval-when-compile (require 'cl)) | ||
| 615 | |||
| 616 | @@ -61,4 +62,9 @@ | ||
| 617 | (let ((submenu | ||
| 618 | - (subseq entries 0 (min (length entries) | ||
| 619 | - sgml-max-menu-size)))) | ||
| 620 | +;;; (subseq entries 0 (min (length entries) | ||
| 621 | +;;; sgml-max-menu-size)) | ||
| 622 | + (let ((new (copy-sequence entries))) | ||
| 623 | + (setcdr (nthcdr (1- (min (length entries) | ||
| 624 | + sgml-max-menu-size)) | ||
| 625 | + new) nil) | ||
| 626 | + new))) | ||
| 627 | (setq entries (nthcdr sgml-max-menu-size entries)) | ||
| 628 | @@ -113,9 +119,10 @@ | ||
| 629 | (let ((inhibit-read-only t) | ||
| 630 | - (after-change-function nil) ; obsolete variable | ||
| 631 | - (before-change-function nil) ; obsolete variable | ||
| 632 | (after-change-functions nil) | ||
| 633 | - (before-change-functions nil)) | ||
| 634 | + (before-change-functions nil) | ||
| 635 | + (modified (buffer-modified-p)) | ||
| 636 | + (buffer-undo-list t) | ||
| 637 | + deactivate-mark) | ||
| 638 | (put-text-property start end 'face face) | ||
| 639 | - (when (< start end) | ||
| 640 | - (put-text-property (1- end) end 'rear-nonsticky '(face))))) | ||
| 641 | + (when (and (not modified) (buffer-modified-p)) | ||
| 642 | + (set-buffer-modified-p nil)))) | ||
| 643 | (t | ||
| 644 | Index: psgml-parse.el | ||
| 645 | --- psgml-parse.el 2001/03/03 00:23:57 1.1 | ||
| 646 | +++ psgml-parse.el 2001/03/03 00:29:56 | ||
| 647 | @@ -40,2 +40,4 @@ | ||
| 648 | |||
| 649 | +(eval-when-compile (require 'cl)) | ||
| 650 | + | ||
| 651 | |||
| 652 | @@ -2493,8 +2495,8 @@ | ||
| 653 | (setq sgml-scratch-buffer nil)) | ||
| 654 | - (when after-change-function ;*** | ||
| 655 | - (message "OOPS: after-change-function not NIL in scratch buffer %s: %s" | ||
| 656 | + (when after-change-functions ;*** | ||
| 657 | + (message "OOPS: after-change-functions not NIL in scratch buffer %s: %S" | ||
| 658 | (current-buffer) | ||
| 659 | - after-change-function) | ||
| 660 | - (setq before-change-function nil | ||
| 661 | - after-change-function nil)) | ||
| 662 | + after-change-functions) | ||
| 663 | + (setq before-change-functions nil | ||
| 664 | + after-change-functions nil)) | ||
| 665 | (setq sgml-last-entity-buffer (current-buffer)) | ||
| 666 | @@ -2878,6 +2880,5 @@ | ||
| 667 | "Set initial state of parsing" | ||
| 668 | - (make-local-variable 'before-change-function) | ||
| 669 | - (setq before-change-function 'sgml-note-change-at) | ||
| 670 | - (make-local-variable 'after-change-function) | ||
| 671 | - (setq after-change-function 'sgml-set-face-after-change) | ||
| 672 | + (set (make-local-variable 'before-change-functions) '(sgml-note-change-at)) | ||
| 673 | + (set (make-local-variable 'after-change-functions) | ||
| 674 | + '(sgml-set-face-after-change)) | ||
| 675 | (sgml-set-active-dtd-indicator (sgml-dtd-doctype dtd)) | ||
| 676 | @@ -3925,7 +3926,7 @@ | ||
| 677 | (sgml-need-dtd) | ||
| 678 | - (unless before-change-function | ||
| 679 | - (message "WARN: before-change-function has been lost, restoring (%s)" | ||
| 680 | + (unless before-change-functions | ||
| 681 | + (message "WARN: before-change-functions has been lost, restoring (%s)" | ||
| 682 | (current-buffer)) | ||
| 683 | - (setq before-change-function 'sgml-note-change-at) | ||
| 684 | - (setq after-change-function 'sgml-set-face-after-change)) | ||
| 685 | + (setq before-change-functions '(sgml-note-change-at)) | ||
| 686 | + (setq after-change-functions '(sgml-set-face-after-change))) | ||
| 687 | (sgml-with-parser-syntax-ro | ||
| 688 | |||
| 689 | * TeX'ing the Calc manual fails. | ||
| 690 | |||
| 691 | The following patches allow to build the Calc manual using texinfo.tex | ||
| 692 | from Emacs 19.34 distribution: | ||
| 693 | |||
| 694 | *** calc-maint.e~0 Mon Dec 16 07:11:26 1996 | ||
| 695 | --- calc-maint.el Sun Dec 10 14:32:38 2000 | ||
| 696 | *************** | ||
| 697 | *** 308,314 **** | ||
| 698 | (insert "@tex\n" | ||
| 699 | "\\global\\advance\\appendixno2\n" | ||
| 700 | "\\gdef\\xref#1.{See ``#1.''}\n") | ||
| 701 | ! (setq midpos (point)) | ||
| 702 | (insert "@end tex\n") | ||
| 703 | (insert-buffer-substring srcbuf sumpos endpos) | ||
| 704 | (insert "@bye\n") | ||
| 705 | --- 308,314 ---- | ||
| 706 | (insert "@tex\n" | ||
| 707 | "\\global\\advance\\appendixno2\n" | ||
| 708 | "\\gdef\\xref#1.{See ``#1.''}\n") | ||
| 709 | ! (setq midpos (point-marker)) | ||
| 710 | (insert "@end tex\n") | ||
| 711 | (insert-buffer-substring srcbuf sumpos endpos) | ||
| 712 | (insert "@bye\n") | ||
| 713 | *** Makefile.~0 Mon Dec 16 07:11:24 1996 | ||
| 714 | --- Makefile Sun Dec 10 14:44:00 2000 | ||
| 715 | *************** | ||
| 716 | *** 98,106 **** | ||
| 717 | # Format the Calc manual as one printable volume using TeX. | ||
| 718 | tex: | ||
| 719 | $(REMOVE) calc.aux | ||
| 720 | ! $(TEX) calc.texinfo | ||
| 721 | $(TEXINDEX) calc.[cfkptv]? | ||
| 722 | ! $(TEX) calc.texinfo | ||
| 723 | $(PURGE) calc.cp calc.fn calc.pg calc.tp calc.vr | ||
| 724 | $(PURGE) calc.cps calc.fns calc.kys calc.pgs calc.tps calc.vrs | ||
| 725 | $(PURGE) calc.toc | ||
| 726 | --- 98,106 ---- | ||
| 727 | # Format the Calc manual as one printable volume using TeX. | ||
| 728 | tex: | ||
| 729 | $(REMOVE) calc.aux | ||
| 730 | ! -$(TEX) calc.texinfo | ||
| 731 | $(TEXINDEX) calc.[cfkptv]? | ||
| 732 | ! -$(TEX) calc.texinfo | ||
| 733 | $(PURGE) calc.cp calc.fn calc.pg calc.tp calc.vr | ||
| 734 | $(PURGE) calc.cps calc.fns calc.kys calc.pgs calc.tps calc.vrs | ||
| 735 | $(PURGE) calc.toc | ||
| 736 | 579 | ||
| 737 | * Unicode characters are not unified with other Mule charsets. | 580 | * Unicode characters are not unified with other Mule charsets. |
| 738 | 581 | ||