Fix.
[elisp/gnus.git-] / Mule23@1934.en
index 3f764d3..214ca64 100644 (file)
@@ -1,30 +1,38 @@
 How to build T-gnus with Mule 2.3 based on Emacs 19.34.
 
-FIX loaddefs.el
-===============
+FIXING loaddefs.el
+==================
 
 Unfortunately, some variables for `message' are predefined in lisp/
 loaddefs.el which is dumped in Mule executable file.  It is uninvited,
 moreover, it has a bad influence.  So you should remove these
 definitions from lisp/loaddefs.el and rebuild Mule.  However, if you
-don't want to rebuild Mule, put the following lines in the beginning
-of .emacs file instead.
-
-(mapcar
- (lambda (symbol)
-   (makunbound (intern (format "message-%s" symbol))))
- '(citation-line-function
-   cite-function courtesy-message default-headers default-mail-headers
-   default-news-headers deletable-headers fcc-handler-function
-   followup-to-function from-style generate-headers-first generate-new-buffers
-   ignored-bounced-headers ignored-cited-headers ignored-mail-headers
-   ignored-news-headers ignored-resent-headers ignored-supersedes-headers
-   included-forward-headers indent-citation-function interactive
-   kill-buffer-on-exit post-method reply-to-function required-mail-headers
-   required-news-headers send-mail-function send-news-function
-   signature signature-before-forwarded-message signature-file
-   signature-separator syntax-checks use-followup-to user-organization-file
-   wide-reply-to-function yank-prefix))
+don't want to rebuild Mule, you may put the following lines in the
+beginning of .emacs file instead of rebuilding Mule.
+
+(let ((symbols '(citation-line-function
+                cite-function courtesy-message default-headers
+                default-mail-headers default-news-headers
+                deletable-headers fcc-handler-function
+                followup-to-function from-style
+                generate-headers-first generate-new-buffers
+                ignored-bounced-headers ignored-cited-headers
+                ignored-mail-headers ignored-news-headers
+                ignored-resent-headers ignored-supersedes-headers
+                included-forward-headers indent-citation-function
+                interactive kill-buffer-on-exit post-method
+                reply-to-function required-mail-headers
+                required-news-headers send-mail-function
+                send-news-function signature
+                signature-before-forwarded-message signature-file
+                signature-separator syntax-checks use-followup-to
+                user-organization-file wide-reply-to-function
+                yank-prefix))
+      symbol)
+  (while symbols
+    (setq symbol (car symbols)
+         symbols (cdr symbol))
+    (makunbound (intern (format "message-%s" symbol)))))
 
 
 INSTALL CUSTOM, APEL, FLIM, SEMI/WEMI
@@ -54,23 +62,108 @@ By the way, the latest CUSTOM package for Emacs v19 is available from:
 ftp://ftp.dina.kvl.dk/pub/Staff/Per.Abrahamsen/custom/custom-1.9962.tar.gz
 
 
+INSTALL regexp-opt.el
+=====================
+
+Some T-gnus modules use the functions `regexp-opt', etc.  That
+functions are defined in regexp-opt.el(c) in the recent Emacsen,
+however, Mule 2.3 does not contain it in the standard Lisp libraries.
+Copy the file contrib/regexp-opt.el to site-lisp directory (or any
+other directory), and byte-compile it as follows:
+
+   % cp -p contrib/regexp-opt.el /usr/local/share/mule/site-lisp
+   % cd /usr/local/share/mule/site-lisp/
+   % mule -batch -q -no-site-file -f batch-byte-compile regexp-opt.el
+
+
 INSTALL T-gnus
 ==============
 
-There are two ways of making T-gnus with Mule 2.3 based on Emacs 19.34.
+There are three ways of making T-gnus with Mule 2.3 based on Emacs 19.34.
+
+1. If you have installed EMU, APEL, FLIM and SEMI or WEMI packages
+   under the standard load-path, for instance:
+
+   EMU:  /usr/local/share/mule/19.34/site-lisp/
+   APEL: /usr/local/share/mule/site-lisp/apel/
+   FLIM: /usr/local/share/mule/site-lisp/flim/
+   SEMI: /usr/local/share/mule/site-lisp/semi/
+
+   What is more, if you have been replaced old CUSTOM with new CUSTOM
+   or if you have installed new CUSTOM directly under the standard
+   load-path as such as /usr/local/share/mule/19.34/site-lisp/, you
+   may have nothing to be done; type the following commands right now.
+
+   % ./configure --with-emacs=mule
+   % make install
+
+   However, if you have installed new CUSTOM in the subdirectory under
+   the standard load-path, use the configure option `--with-addpath='
+   as follows:
+
+   % ./configure --with-emacs=mule\
+     --with-addpath=/usr/local/share/mule/site-lisp/custom/
+   % make install
+
+   or you can use the file subdirs.el under the parent directory of
+   the subdirectory of CUSTOM to add it into load-path which contain
+   the following contents:
+
+   (normal-top-level-add-to-load-path
+    '("custom/" "and the other subdirectories.../"))
+
+   and then just type:
+
+   % ./configure --with-emacs=mule
+   % make install
+
+2. If you have installed EMU, APEL, FLIM and SEMI or WEMI packages in
+   the non-standard load-path, use the configure option
+   `--with-addpath=' with the colon separated directory names where
+   EMU, APEL or CUSTOM packages are installed.  For example:
+
+   % ./configure --with-emacs=mule\
+     --with-addpath=~/elisp/emu/:~/elisp/apel/:~/elisp/custom/
+   % make install
+
+   In this case, you have no need to add paths of FLIM, SEMI or WEMI
+   if they are installed under the directory which is same as the
+   parent directory of APEL.
+
+3. This is another way to install T-gnus when you have installed EMU,
+   APEL, FLIM and SEMI or WEMI packages in the non-standard load-path.
+   Copy the file `sample.lpath.el' which is included in the
+   distribution to `~/.lpath.el' and modify it suitably for your
+   environment.  And then type the following command.
+
+   % ./configure --with-emacs=mule
+   % make install
+
+
+USING Emacs-W3M (and Emacs W3)
+==============================
+The web based backend `nnshimbun' uses the shimbun modules which are
+included in Emacs-W3M package (and the other web based backends of T-
+gnus requires Emacs W3).  Emacs-W3M is an interface program to the
+external command W3M, visit the following pages for more information.
 
- 1. Use the configure option `--with-addpath=' to specify the colon
-    separated directory names where EMU, APEL or CUSTOM packages have
-    already installed.  For example:
+   http://emacs-w3m.namazu.org/
+   http://ei5nazha.yz.yamagata-u.ac.jp/~aito/w3m/
 
-    % configure --with-emacs=mule\
-      --with-addpath=~/elisp/emu:~/elisp/apel:~elisp/custom
-    % make install
+If you wish to build T-gnus to be able to use Emacs-W3M and nnshimbun,
+you have to specify the path where Emacs-W3M is installed using the
+configure option `--with-addpath=' (for Emacs W3, use the configure
+option `--with-w3=' or editing the file `~/.lpath.el').  Here is an
+example for that:
 
- 2. Copy `sample.lpath.el' to `~/.lpath.el' and modify it suitably for
-    your environment.  Then type as following:
+   % ./configure --with-emacs=mule\
+     --with-addpath=~/elisp/emu/:~/elisp/apel/: ... :~/elisp/w3m/\
+     --with-w3=/usr/local/share/mule/site-lisp/w3/
+   % make install
 
-    % configure
-    % make EMACS=mule
+;; Don't mind if configure says "W3... not found".  It is currently
+;; malfunction when the configure option `--with-w3=' is not used even
+;; if the path of Emacs W3 is specified in the file `~/.lpath.el'.
 
-    In this case, you shuold install manually.
+;; By the way, does anyone know where do we find Emacs W3 package
+;; which is suitable to Mule 2.3 based on Emacs 19.34?