XEmacs 21.2.40 "Persephone".
authortomo <tomo>
Tue, 14 Aug 2001 15:37:04 +0000 (15:37 +0000)
committertomo <tomo>
Tue, 14 Aug 2001 15:37:04 +0000 (15:37 +0000)
22 files changed:
info/texinfo.info
lib-src/ChangeLog
lisp/ChangeLog
lisp/ChangeLog.1
lisp/dump-paths.el
lisp/mule/hebrew.el
lisp/mule/japanese.el
lisp/mule/mule-category.el
lisp/mule/mule-ccl.el
lisp/paragraphs.el
lwlib/ChangeLog
lwlib/lwlib-Xaw.c
lwlib/lwlib-Xaw.h
lwlib/lwlib-Xlw.c
lwlib/lwlib-Xlw.h
lwlib/lwlib-Xm.c
lwlib/lwlib-Xm.h
lwlib/lwlib.c
lwlib/lwlib.h
man/ChangeLog
man/emodules.texi
man/texinfo.texi

index acf2780..88624fb 100644 (file)
@@ -38,14 +38,14 @@ texinfo.info-1: 1484
 texinfo.info-2: 48703
 texinfo.info-3: 96677
 texinfo.info-4: 146069
-texinfo.info-5: 196054
-texinfo.info-6: 245146
-texinfo.info-7: 293741
-texinfo.info-8: 343556
-texinfo.info-9: 392869
-texinfo.info-10: 435247
-texinfo.info-11: 481363
-texinfo.info-12: 519523
+texinfo.info-5: 196056
+texinfo.info-6: 245148
+texinfo.info-7: 293743
+texinfo.info-8: 343558
+texinfo.info-9: 392871
+texinfo.info-10: 435249
+texinfo.info-11: 481365
+texinfo.info-12: 519525
 \1f
 Tag Table:
 (Indirect)
@@ -157,194 +157,194 @@ Node: Three Arguments\7f183553
 Node: Four and Five Arguments\7f185944
 Node: Top Node Naming\7f188356
 Node: ref\7f189366
-Node: pxref\7f190756
-Node: inforef\7f193138
-Node: uref\7f194431
-Node: Marking Text\7f195430
-Node: Indicating\7f196054
-Node: Useful Highlighting\7f197959
-Node: code\7f199348
-Node: kbd\7f202386
-Node: key\7f204256
-Node: samp\7f205589
-Node: var\7f207176
-Node: file\7f208969
-Node: dfn\7f209576
-Node: cite\7f210486
-Node: url\7f210940
-Node: email\7f211504
-Node: Emphasis\7f212316
-Node: emph & strong\7f213216
-Node: Smallcaps\7f214202
-Node: Fonts\7f215529
-Node: Customized Highlighting\7f216617
-Node: Customized Highlighting-Footnotes\7f219432
-Ref: Customized Highlighting-Footnote-1\7f219526
-Node: Quotations and Examples\7f219652
-Node: Block Enclosing Commands\7f221274
-Node: quotation\7f223299
-Node: example\7f224389
-Node: noindent\7f226444
-Node: Lisp Example\7f227908
-Node: Lisp Example-Footnotes\7f228610
-Ref: Lisp Example-Footnote-1\7f228682
-Node: smallexample & smalllisp\7f228800
-Node: display\7f230825
-Node: format\7f231457
-Node: exdent\7f231918
-Node: flushleft & flushright\7f232998
-Node: cartouche\7f234264
-Node: Lists and Tables\7f235031
-Node: Introducing Lists\7f235707
-Node: itemize\7f237372
-Node: enumerate\7f239519
-Node: Two-column Tables\7f242024
-Node: table\7f242713
-Node: ftable vtable\7f245146
-Node: itemx\7f246247
-Node: Multi-column Tables\7f247258
-Node: Multitable Column Widths\7f247929
-Node: Multitable Rows\7f249383
-Node: Indices\7f251160
-Node: Index Entries\7f252310
-Node: Predefined Indices\7f253443
-Node: Indexing Commands\7f254440
-Node: Combining Indices\7f258980
-Node: syncodeindex\7f260343
-Node: synindex\7f262005
-Node: New Indices\7f262530
-Node: Insertions\7f264355
-Node: Braces Atsigns\7f265539
-Node: Inserting An Atsign\7f266091
-Node: Inserting Braces\7f266365
-Node: Inserting Space\7f266728
-Node: Not Ending a Sentence\7f267232
-Node: Ending a Sentence\7f268586
-Node: Multiple Spaces\7f269715
-Node: dmn\7f270934
-Node: Inserting Accents\7f272141
-Node: Dots Bullets\7f273898
-Node: dots\7f274720
-Node: bullet\7f275244
-Node: TeX and copyright\7f275641
-Node: tex\7f276208
-Node: copyright symbol\7f276624
-Node: pounds\7f276884
-Node: minus\7f277248
-Node: math\7f278170
-Node: Glyphs\7f278898
-Node: Glyphs Summary\7f280011
-Node: result\7f280639
-Node: expansion\7f281124
-Node: Print Glyph\7f282080
-Node: Error Glyph\7f282957
-Node: Equivalence\7f283790
-Node: Point Glyph\7f284478
-Node: Images\7f286035
-Node: Breaks\7f287702
-Node: Break Commands\7f289133
-Node: Line Breaks\7f289974
-Node: - and hyphenation\7f290992
-Node: w\7f292242
-Node: sp\7f292955
-Node: page\7f293364
-Node: group\7f293741
-Node: need\7f295484
-Node: Definition Commands\7f296214
-Node: Def Cmd Template\7f297785
-Node: Optional Arguments\7f300782
-Node: deffnx\7f302370
-Node: Def Cmds in Detail\7f303325
-Node: Functions Commands\7f304435
-Node: Variables Commands\7f307440
-Node: Typed Functions\7f309526
-Node: Typed Variables\7f313068
-Node: Abstract Objects\7f315051
-Node: Data Types\7f320276
-Node: Def Cmd Conventions\7f321531
-Node: Sample Function Definition\7f322094
-Node: Footnotes\7f324978
-Node: Footnotes-Footnotes\7f325366
-Ref: Footnotes-Footnote-1\7f325432
-Node: Footnote Commands\7f325712
-Node: Footnote Commands-Footnotes\7f327209
-Ref: Footnote Commands-Footnote-1\7f327291
-Node: Footnote Styles\7f327327
-Node: Conditionals\7f329913
-Node: Conditional Commands\7f330724
-Node: Conditional Not Commands\7f332217
-Node: Raw Formatter Commands\7f332962
-Node: set clear value\7f334792
-Node: ifset ifclear\7f335593
-Node: value\7f338772
-Node: value Example\7f340184
-Node: Macros\7f341762
-Node: Defining Macros\7f342467
-Node: Invoking Macros\7f343556
-Node: Format/Print Hardcopy\7f344662
-Node: Use TeX\7f346499
-Node: Format with tex/texindex\7f347127
-Node: Format with texi2dvi\7f350768
-Node: Print with lpr\7f351359
-Node: Within Emacs\7f352213
-Node: Texinfo Mode Printing\7f353132
-Node: Compile-Command\7f356542
-Node: Requirements Summary\7f357430
-Node: Preparing for TeX\7f358743
-Node: Overfull hboxes\7f361530
-Node: smallbook\7f363089
-Node: A4 Paper\7f364607
-Node: Cropmarks and Magnification\7f365832
-Node: Create an Info File\7f367773
-Node: makeinfo advantages\7f369076
-Node: Invoking makeinfo\7f369992
-Node: makeinfo options\7f370680
-Node: Pointer Validation\7f376164
-Node: makeinfo in Emacs\7f377508
-Node: texinfo-format commands\7f380066
-Node: Batch Formatting\7f381337
-Node: Tag and Split Files\7f382553
-Node: Install an Info File\7f385907
-Node: Directory file\7f386725
-Node: New Info File\7f388593
-Node: Other Info Directories\7f389654
-Node: Installing Dir Entries\7f392869
-Node: Invoking install-info\7f394862
-Node: Command List\7f397277
-Node: Tips\7f435247
-Node: Sample Texinfo File\7f446657
-Node: Sample Permissions\7f448776
-Node: Inserting Permissions\7f449819
-Node: ifinfo Permissions\7f452125
-Node: Titlepage Permissions\7f453746
-Node: Include Files\7f455008
-Node: Using Include Files\7f456095
-Node: texinfo-multiple-files-update\7f458050
-Node: Include File Requirements\7f460411
-Node: Sample Include File\7f461656
-Node: Include Files Evolution\7f463175
-Node: Headings\7f465146
-Node: Headings Introduced\7f465783
-Node: Heading Format\7f467671
-Node: Heading Choice\7f470123
-Node: Custom Headings\7f471495
-Node: Catching Mistakes\7f475823
-Node: makeinfo Preferred\7f477112
-Node: Debugging with Info\7f478017
-Node: Debugging with TeX\7f481363
-Node: Using texinfo-show-structure\7f485643
-Node: Using occur\7f488742
-Node: Running Info-Validate\7f490279
-Node: Using Info-validate\7f491340
-Node: Unsplit\7f493182
-Node: Tagifying\7f494228
-Node: Splitting\7f495080
-Node: Refilling Paragraphs\7f496696
-Node: Refilling Paragraphs-Footnotes\7f498350
-Ref: Refilling Paragraphs-Footnote-1\7f498438
-Node: Command Syntax\7f498601
-Node: Obtaining TeX\7f501558
-Node: Command and Variable Index\7f503671
-Node: Concept Index\7f519523
+Node: pxref\7f190758
+Node: inforef\7f193140
+Node: uref\7f194433
+Node: Marking Text\7f195432
+Node: Indicating\7f196056
+Node: Useful Highlighting\7f197961
+Node: code\7f199350
+Node: kbd\7f202388
+Node: key\7f204258
+Node: samp\7f205591
+Node: var\7f207178
+Node: file\7f208971
+Node: dfn\7f209578
+Node: cite\7f210488
+Node: url\7f210942
+Node: email\7f211506
+Node: Emphasis\7f212318
+Node: emph & strong\7f213218
+Node: Smallcaps\7f214204
+Node: Fonts\7f215531
+Node: Customized Highlighting\7f216619
+Node: Customized Highlighting-Footnotes\7f219434
+Ref: Customized Highlighting-Footnote-1\7f219528
+Node: Quotations and Examples\7f219654
+Node: Block Enclosing Commands\7f221276
+Node: quotation\7f223301
+Node: example\7f224391
+Node: noindent\7f226446
+Node: Lisp Example\7f227910
+Node: Lisp Example-Footnotes\7f228612
+Ref: Lisp Example-Footnote-1\7f228684
+Node: smallexample & smalllisp\7f228802
+Node: display\7f230827
+Node: format\7f231459
+Node: exdent\7f231920
+Node: flushleft & flushright\7f233000
+Node: cartouche\7f234266
+Node: Lists and Tables\7f235033
+Node: Introducing Lists\7f235709
+Node: itemize\7f237374
+Node: enumerate\7f239521
+Node: Two-column Tables\7f242026
+Node: table\7f242715
+Node: ftable vtable\7f245148
+Node: itemx\7f246249
+Node: Multi-column Tables\7f247260
+Node: Multitable Column Widths\7f247931
+Node: Multitable Rows\7f249385
+Node: Indices\7f251162
+Node: Index Entries\7f252312
+Node: Predefined Indices\7f253445
+Node: Indexing Commands\7f254442
+Node: Combining Indices\7f258982
+Node: syncodeindex\7f260345
+Node: synindex\7f262007
+Node: New Indices\7f262532
+Node: Insertions\7f264357
+Node: Braces Atsigns\7f265541
+Node: Inserting An Atsign\7f266093
+Node: Inserting Braces\7f266367
+Node: Inserting Space\7f266730
+Node: Not Ending a Sentence\7f267234
+Node: Ending a Sentence\7f268588
+Node: Multiple Spaces\7f269717
+Node: dmn\7f270936
+Node: Inserting Accents\7f272143
+Node: Dots Bullets\7f273900
+Node: dots\7f274722
+Node: bullet\7f275246
+Node: TeX and copyright\7f275643
+Node: tex\7f276210
+Node: copyright symbol\7f276626
+Node: pounds\7f276886
+Node: minus\7f277250
+Node: math\7f278172
+Node: Glyphs\7f278900
+Node: Glyphs Summary\7f280013
+Node: result\7f280641
+Node: expansion\7f281126
+Node: Print Glyph\7f282082
+Node: Error Glyph\7f282959
+Node: Equivalence\7f283792
+Node: Point Glyph\7f284480
+Node: Images\7f286037
+Node: Breaks\7f287704
+Node: Break Commands\7f289135
+Node: Line Breaks\7f289976
+Node: - and hyphenation\7f290994
+Node: w\7f292244
+Node: sp\7f292957
+Node: page\7f293366
+Node: group\7f293743
+Node: need\7f295486
+Node: Definition Commands\7f296216
+Node: Def Cmd Template\7f297787
+Node: Optional Arguments\7f300784
+Node: deffnx\7f302372
+Node: Def Cmds in Detail\7f303327
+Node: Functions Commands\7f304437
+Node: Variables Commands\7f307442
+Node: Typed Functions\7f309528
+Node: Typed Variables\7f313070
+Node: Abstract Objects\7f315053
+Node: Data Types\7f320278
+Node: Def Cmd Conventions\7f321533
+Node: Sample Function Definition\7f322096
+Node: Footnotes\7f324980
+Node: Footnotes-Footnotes\7f325368
+Ref: Footnotes-Footnote-1\7f325434
+Node: Footnote Commands\7f325714
+Node: Footnote Commands-Footnotes\7f327211
+Ref: Footnote Commands-Footnote-1\7f327293
+Node: Footnote Styles\7f327329
+Node: Conditionals\7f329915
+Node: Conditional Commands\7f330726
+Node: Conditional Not Commands\7f332219
+Node: Raw Formatter Commands\7f332964
+Node: set clear value\7f334794
+Node: ifset ifclear\7f335595
+Node: value\7f338774
+Node: value Example\7f340186
+Node: Macros\7f341764
+Node: Defining Macros\7f342469
+Node: Invoking Macros\7f343558
+Node: Format/Print Hardcopy\7f344664
+Node: Use TeX\7f346501
+Node: Format with tex/texindex\7f347129
+Node: Format with texi2dvi\7f350770
+Node: Print with lpr\7f351361
+Node: Within Emacs\7f352215
+Node: Texinfo Mode Printing\7f353134
+Node: Compile-Command\7f356544
+Node: Requirements Summary\7f357432
+Node: Preparing for TeX\7f358745
+Node: Overfull hboxes\7f361532
+Node: smallbook\7f363091
+Node: A4 Paper\7f364609
+Node: Cropmarks and Magnification\7f365834
+Node: Create an Info File\7f367775
+Node: makeinfo advantages\7f369078
+Node: Invoking makeinfo\7f369994
+Node: makeinfo options\7f370682
+Node: Pointer Validation\7f376166
+Node: makeinfo in Emacs\7f377510
+Node: texinfo-format commands\7f380068
+Node: Batch Formatting\7f381339
+Node: Tag and Split Files\7f382555
+Node: Install an Info File\7f385909
+Node: Directory file\7f386727
+Node: New Info File\7f388595
+Node: Other Info Directories\7f389656
+Node: Installing Dir Entries\7f392871
+Node: Invoking install-info\7f394864
+Node: Command List\7f397279
+Node: Tips\7f435249
+Node: Sample Texinfo File\7f446659
+Node: Sample Permissions\7f448778
+Node: Inserting Permissions\7f449821
+Node: ifinfo Permissions\7f452127
+Node: Titlepage Permissions\7f453748
+Node: Include Files\7f455010
+Node: Using Include Files\7f456097
+Node: texinfo-multiple-files-update\7f458052
+Node: Include File Requirements\7f460413
+Node: Sample Include File\7f461658
+Node: Include Files Evolution\7f463177
+Node: Headings\7f465148
+Node: Headings Introduced\7f465785
+Node: Heading Format\7f467673
+Node: Heading Choice\7f470125
+Node: Custom Headings\7f471497
+Node: Catching Mistakes\7f475825
+Node: makeinfo Preferred\7f477114
+Node: Debugging with Info\7f478019
+Node: Debugging with TeX\7f481365
+Node: Using texinfo-show-structure\7f485645
+Node: Using occur\7f488744
+Node: Running Info-Validate\7f490281
+Node: Using Info-validate\7f491342
+Node: Unsplit\7f493184
+Node: Tagifying\7f494230
+Node: Splitting\7f495082
+Node: Refilling Paragraphs\7f496698
+Node: Refilling Paragraphs-Footnotes\7f498352
+Ref: Refilling Paragraphs-Footnote-1\7f498440
+Node: Command Syntax\7f498603
+Node: Obtaining TeX\7f501560
+Node: Command and Variable Index\7f503673
+Node: Concept Index\7f519525
 \1f
 End Tag Table
index 4536485..792f924 100644 (file)
@@ -1,3 +1,7 @@
+2001-01-08  Martin Buchholz <martin@xemacs.org>
+
+       * XEmacs 21.2.40 is released.
+
 2000-12-31  Martin Buchholz <martin@xemacs.org>
 
        * XEmacs 21.2.39 is released.
index 9f3de07..26d5dcd 100644 (file)
@@ -1,3 +1,23 @@
+2001-01-08  Martin Buchholz <martin@xemacs.org>
+
+       * XEmacs 21.2.40 is released.
+
+2001-01-06  Stephen J. Turnbull  <stephen@xemacs.org>
+
+       * mule/hebrew.el: Fix comments and typos.
+       mule/japanese.el: Fix comments, typos, and 8-bit character encoding.
+
+2001-01-06  Stephen J. Turnbull  <stephen@xemacs.org>
+
+       * ChangeLog.1: move ancient log from fill.el.
+
+       * dump-paths.el:
+       paragraphs.el:
+       mule/mule-category.el:
+       Miscellaneous typo fixes and slight doc clarifications.
+
+       * mule/mule-ccl.el:  Correct file name in header.
+
 2000-12-31  Martin Buchholz <martin@xemacs.org>
 
        * XEmacs 21.2.39 is released.
index 3ad71dd..08d2a10 100644 (file)
@@ -6580,6 +6580,11 @@ Sat Mar 15 15:14:06 1997  Steven L Baur  <steve@altair.xemacs.org>
        Abrahamsen).
        (batch-update-autoloads): Use it.
 
+Fri Mar 14 20:00:00 1997  Jareth Hein  <jhod@po.iijnet.or.jp>
+
+       * prim/fill.el:  added functions for kinsoku (Asian text line
+       break processing).
+
 Fri Mar 14 19:59:36 1997  Bob Weiner  <weiner@infodock.com>
 
        * packages/jka-compr.el (jka-compr-installed-p): Simplify.
index 780f3ad..9381a0c 100644 (file)
@@ -28,6 +28,7 @@
 
 ;; This sets up the various paths for continuing loading files for
 ;; dumping.
+;; #### This code is duplicated in startup.el (startup-setup-paths).
 
 (let ((debug-paths (or debug-paths
                      (and (getenv "EMACSDEBUGPATHS")
index 9e89fa1..d396df2 100644 (file)
@@ -24,7 +24,7 @@
 
 ;;; Commentary:
 
-;; For Hebrew, the character sets ISO8859-8 is supported.
+;;  ISO 8859-8 (Hebrew) support.
 
 ;;; Code:
 
 (modify-syntax-entry (make-char 'hebrew-iso8859-8 32) "w") ; no-break space
 
 \f
-;; (make-coding-system
-;;  'hebrew-iso-8bit 2 ?8
-;;  "ISO 2022 based 8-bit encoding for Hebrew (MIME:ISO-8859-8)"
-;;  '(ascii hebrew-iso8859-8 nil nil
-;;    nil ascii-eol ascii-cntl nil nil nil nil nil t)
-;;  '((safe-charsets ascii hebrew-iso8859-8)
-;;    (mime-charset . iso-8859-8)))
-
-;; (define-coding-system-alias 'iso-8859-8 'hebrew-iso-8bit)
-
 (make-coding-system
  'iso-8859-8 'iso2022
- "MIME ISO-8859-8"
+ "ISO-8859-8 (ISO 2022 based 8-bit encoding for Hebrew)"
  '(charset-g0 ascii
    charset-g1 hebrew-iso8859-8
    charset-g2 t
@@ -57,7 +47,7 @@
 
 (make-coding-system
  'ctext-hebrew 'iso2022
- "Coding-system of Hebrew."
+ "Coding-system for Hebrew."
  '(charset-g0 ascii
    charset-g1 hebrew-iso8859-8
    charset-g2 t
@@ -67,7 +57,7 @@
 
 (defun setup-hebrew-environment ()
   "Setup multilingual environment (MULE) for Hebrew.
-But, please note that right-to-left writing is not yet supported."
+Note: right-to-left writing is not yet supported."
   (interactive)
   (set-language-environment "Hebrew"))
 
index 0898366..42b2207 100644 (file)
     ;; (setq egg-default-startup-file "eggrc-wnn")
     (setq-default its:*current-map* (its:get-mode-map "roma-kana"))))
 
-;; stuff for providing gramatic processing of Japanese text
+;; stuff for providing grammatic processing of Japanese text
 ;; something like this should probably be created for all environments...
+;; #### Arrgh.  This stuff should defvar'd in either fill.el or kinsoku.el.
+;; Then the language environment should set these things, probably buffer-
+;; locally.
 
 (defvar aletter (concat "\\(" ascii-char "\\|" kanji-char "\\)"))
 (defvar kanji-space-insertable (concat 
           ascii-alphanumeric  kanji-kanji-char "\\|"
           kanji-kanji-char    ascii-alphanumeric ))
 
+;; #### will be moved to fill.el
 (defvar space-insertable (concat " " aletter "\\|" kanji-space-insertable)
   "Regexp for finding points that can have spaces inserted into them for justification")
 \f
                               shift_jis iso-2022-jp-2)
 ;;           (input-method . "japanese")
              (features japan-util)
-             (sample-text . "Japanese (\e$BF|K\8l\e(B)   \e$B$3$s$K$A$O\e(B, \e)IºÝÆÁÊ")\e-A
+             (sample-text . "Japanese (\e$BF|K\8l\e(B)   \e$B$3$s$K$A$O\e(B, \e(I:]FAJ\e(B")
              (documentation . t)))
 
 ;;; japanese.el ends here
index 254b541..3757302 100644 (file)
@@ -279,6 +279,11 @@ Each element is a list of a charset, a designator, and maybe a doc string.")
 
 ;;; At the present, I know Japanese and Chinese text can
 ;;; break line at any point under a restriction of 'kinsoku'.
+;;; #### SJT this needs to be set by language environments and probably should
+;;; be buffer-local---strategy for dealing with this: check all $language.el
+;;; files and also mule-base/$language-utils.el files for variables set;
+;;; these should be made buffer local and some kind of a- or p-list of vars
+;;; to be set for a language environment created. 
 (defvar word-across-newline "\\(\\cj\\|\\cc\\|\\ct\\)"
   "Regular expression of such characters which can be a word across newline.")
 
index 72880fe..e6f72c4 100644 (file)
@@ -1,4 +1,4 @@
-;;; ccl.el --- CCL (Code Conversion Language) compiler
+;;; mule-ccl.el --- CCL (Code Conversion Language) compiler
 
 ;; Copyright (C) 1995 Electrotechnical Laboratory, JAPAN.
 ;; Licensed to the Free Software Foundation.
index f26eb42..68b7a55 100644 (file)
@@ -124,7 +124,9 @@ hard newline are considered to match.")
 
 (defconst paragraph-separate "[ \t\f]*$" "\
 *Regexp for beginning of a line that separates paragraphs.
-If you change this, you may have to change paragraph-start also.
+If you change this, you may have to change `paragraph-start' also.
+
+A line matching this is not part of any paragraph.
 
 This is matched against the text at the left margin, which is not necessarily
 the beginning of the line, so it should not use \"^\" as an anchor.  This
@@ -347,7 +349,7 @@ negative arg -N means kill forward to Nth end of paragraph."
 With negative argument, move backward repeatedly to `sentence-beginning'.
 
 The variable `sentence-end' is a regular expression that matches ends of
-sentences.  Also, every paragraph boundary terminates sentences as well."
+sentences.  A paragraph boundary also terminates a sentence."
   (interactive "_p") ; XEmacs
   (or arg (setq arg 1))
   (while (< arg 0)
index 71cbd9d..9c8c6e8 100644 (file)
@@ -1,3 +1,28 @@
+2001-01-08  Martin Buchholz <martin@xemacs.org>
+
+       * XEmacs 21.2.40 is released.
+
+2001-01-06  Martin Buchholz  <martin@xemacs.org>
+
+       * lwlib-Xaw.c (xaw_creation_table): Make const.
+       * lwlib-Xaw.h (xaw_creation_table): Make const.
+       * lwlib-Xlw.c (xlw_creation_table): Make const.
+       * lwlib-Xlw.h (xlw_creation_table): Make const.
+       * lwlib-Xm.c (xm_creation_table): Make const.
+       * lwlib-Xm.h (xm_creation_table): Make const.
+       * lwlib.c (find_in_table): Use const.
+
+2001-01-02  Andy Piper  <andy@xemacs.org>
+
+       * lwlib.h (_widget_args): add args_changed. Necessary because we
+       reference count args.
+
+       * lwlib.c (lw_add_widget_value_arg): set args_changed flag.
+       (merge_widget_value_args): mark as changed if args_changed is
+       true.
+       (update_all_widget_values): reset args_changed.
+       (initialize_widget_instance): ditto.
+
 2000-12-31  Martin Buchholz <martin@xemacs.org>
 
        * XEmacs 21.2.39 is released.
index 5544c24..1bdafcd 100644 (file)
@@ -880,7 +880,7 @@ xaw_create_text_field (widget_instance *instance)
 
 #endif /* LWLIB_WIDGETS_ATHENA */
 
-widget_creation_entry
+const widget_creation_entry
 xaw_creation_table [] =
 {
 #ifdef LWLIB_SCROLLBARS_ATHENA
index 4562448..ce4bc10 100644 (file)
@@ -3,7 +3,7 @@
 
 #include "lwlib-internal.h"
 
-extern widget_creation_entry xaw_creation_table [];
+extern const widget_creation_entry xaw_creation_table [];
 
 Widget 
 xaw_create_dialog (widget_instance* instance);
index bfb2dfa..92437d5 100644 (file)
@@ -482,7 +482,7 @@ xlw_create_clip_window (widget_instance *instance)
 }
 #endif
 
-widget_creation_entry 
+const widget_creation_entry 
 xlw_creation_table [] =
 {
 #ifdef LWLIB_MENUBARS_LUCID
index f4fd0ed..f1611d7 100644 (file)
@@ -3,7 +3,7 @@
 
 #include "lwlib-internal.h"
 
-extern widget_creation_entry xlw_creation_table [];
+extern const widget_creation_entry xlw_creation_table [];
 extern widget_creation_function xlw_create_dialog;
 
 Boolean
index 28dc5f8..2903ede 100644 (file)
@@ -1786,7 +1786,7 @@ xm_create_combo_box (widget_instance *instance)
 \f
 /* Table of functions to create widgets */
 
-widget_creation_entry
+const widget_creation_entry
 xm_creation_table [] =
 {
 #ifdef LWLIB_MENUBARS_MOTIF
index 13e48b0..b8973f6 100644 (file)
@@ -3,7 +3,7 @@
 
 #include "lwlib-internal.h"
 
-extern widget_creation_entry xm_creation_table [];
+extern const widget_creation_entry xm_creation_table [];
 
 Widget 
 xm_create_dialog (widget_instance* instance);
index bd6e900..44e5ebd 100644 (file)
@@ -264,6 +264,10 @@ merge_widget_value_args (widget_value *old, widget_value *new)
       lw_copy_widget_value_args (new, old);
       changed = True;
     }
+  else if (new->args && new->args == old->args && new->args->args_changed == True)
+    {
+      changed = True;
+    }
 
   return changed;
 }
@@ -756,7 +760,11 @@ update_all_widget_values (widget_info *info, Boolean deep_p)
     update_one_widget_instance (instance, deep_p);
 
   for (val = info->val; val; val = val->next)
-    val->change = NO_CHANGE;
+    {
+      val->change = NO_CHANGE;
+      if (val->args)
+       val->args->args_changed = False;
+    }
 }
 
 void
@@ -821,7 +829,11 @@ initialize_widget_instance (widget_instance *instance)
   update_one_widget_instance (instance, True);
 
   for (val = instance->info->val; val; val = val->next)
-    val->change = NO_CHANGE;
+    {
+      val->change = NO_CHANGE;
+      if (val->args)
+       val->args->args_changed = False;
+    }
 }
 
 /* strcasecmp() is not sufficiently portable or standard,
@@ -841,9 +853,9 @@ ascii_strcasecmp (const char *s1, const char *s2)
 }
 
 static widget_creation_function
-find_in_table (const char *type, widget_creation_entry *table)
+find_in_table (const char *type, const widget_creation_entry table[])
 {
-  widget_creation_entry *cur;
+  const widget_creation_entry *cur;
   for (cur = table; cur->type; cur++)
     if (!ascii_strcasecmp (type, cur->type))
       return cur->function;
@@ -1393,6 +1405,8 @@ void lw_add_widget_value_arg (widget_value* wv, String name, XtArgVal value)
   if (wv->args->nargs > 10)
     return;
 
+  /* Register the change. */
+  wv->args->args_changed = True;
   /* If the arg is already there then we must replace it. */
   for (i = 0; i < wv->args->nargs; i++)
     {
index 9ee62e8..d2f0c54 100644 (file)
@@ -106,6 +106,9 @@ typedef struct _widget_args
   /* Copying args is impossible so we make the caller give us heap allocated
      args and free them when no one wants them any more. */
   int  ref_count;
+  /* Since we are reference counting we need to be able to determine
+     when something has changed. */
+  Boolean      args_changed;
 } widget_args;
 
 typedef struct _widget_value
index cb32e69..1816c40 100644 (file)
@@ -1,3 +1,14 @@
+2001-01-08  Martin Buchholz <martin@xemacs.org>
+
+       * XEmacs 21.2.40 is released.
+
+2001-01-06  Stephen J. Turnbull  <stephen@xemacs.org>
+
+       * emodules.texi (Required Functions): Xref coding rules for dual-use
+       modules (module and statically linked).  Typo fix.
+
+       * texinfo.texi (ref):  Typo fix.
+
 2000-12-31  Martin Buchholz <martin@xemacs.org>
 
        * XEmacs 21.2.39 is released.
index 415caee..b1b250a 100644 (file)
@@ -350,7 +350,14 @@ This required function contains calls to macros such as
 @code{DEFVAR_LISP()}, @code{DEFVAR_BOOL()} etc, and its purpose is to
 declare and initialize all and any variables that your module defines.
 They syntax for declaring variables is identical to the syntax used for
-all internal @value{emacs} source code.
+all internal @value{emacs} source code.  If the module is intended to be
+usable statically linked into XEmacs, the actions of this function are
+severely restricted.  @xref{General Coding Rules,,,internals,
+@value{emacs} Internals Manual}.  Also see the comments in
+@file{src/emacs.c} (@code{main_1}).  Modules which perform
+initializations not permitted by these rules will probably work, but
+dual-use (dynamic loading and static linking) modules will require very
+careful, and possibly fragile, coding.
 
 @item modules_of_module
 @findex modules_of_module
@@ -665,7 +672,7 @@ although @file{.ell} is the preferred extension.
 Once all of your source code files have been compiled (including the
 generated init file) you need to link them all together to create the
 loadable module.  To do this, you invoke @code{ellcc} in link mode, by
-passing the @code{--mode-link} option.  You need to specify the final
+passing the @code{--mode=link} option.  You need to specify the final
 output file using the @code{--mod-output=NAME} option, but other than
 that all other arguments are passed on directly to the system compiler
 or linker, along with any other required arguments to create the
index 321f488..121589e 100644 (file)
@@ -1,5 +1,5 @@
 \input texinfo.tex    @c -*-texinfo-*-
-@c $Id: texinfo.texi,v 1.8.2.5 2000/11/14 23:29:15 adrian Exp $
+@c $Id: texinfo.texi,v 1.8.2.6 2001/01/06 07:51:28 stephent Exp $
 @c %**start of header
 
 @c All text is ignored before the setfilename.
@@ -5882,7 +5882,7 @@ For more information, see @@ref@{Hurricanes@}.
 produces
 
 @example
-For more information, see *Note Hurricanes.
+For more information, see *Note Hurricanes::.
 @end example
 
 @noindent