Synch with No Gnus (201109102129).
[elisp/gnus-doc-ja.git] / README
diff --git a/README b/README
index cff329c..d9425f7 100644 (file)
--- a/README
+++ b/README
@@ -1,5 +1,5 @@
 These are the complete Japanese translations of the Gnus Info manuals,
-corresponding to No Gnus v0.4.
+corresponding to No Gnus v0.14.
 
 Installation
 ============
@@ -17,7 +17,30 @@ configure script without argument.  The value for EMACS doesn't allow
 to have directory components like /usr/local/bin/emacs, so you have to
 specify the PATH environment variable if it is needed.  For example:
 
-% ./configure --with-emacs=emacs-21.4 --infodir=/usr/local/info
+% ./configure --with-emacs=emacs-22.3 --infodir=/usr/local/info
+
+If you prefer to read those Japanese Info manuals when typing `C-cC-i'
+in Gnus buffers or typing `M-x message-info' in message buffers, you
+can add the following advice to the ~/.gnus.el file:
+
+(defadvice Info-goto-node (around prefer-japanese-edition activate)
+  "Prefer Japanese edition of Gnus Info manuals."
+  (if (and (not (eq major-mode 'Info-mode))
+          (string-match "\\`(\\(emacs-mime\\|gnus-coding\
+\\|gnus-faq\\|gnus\\|gnus-news\\|message\\|pgg\\|sasl\\|sieve\\))"
+                        (ad-get-arg 0)))
+      (let ((orig (ad-get-arg 0)))
+       (ad-set-arg 0 (concat (substring (ad-get-arg 0)
+                                        0 (1- (match-end 0)))
+                             "-ja"
+                             (substring (ad-get-arg 0)
+                                        (1- (match-end 0)))))
+       (condition-case nil
+           ad-do-it
+         (error
+          (ad-set-arg 0 orig)
+          ad-do-it)))
+    ad-do-it))
 
 Gnus version
 ============
@@ -28,7 +51,8 @@ most development-oriented version in them will be targeted.
 
 Where to get this package
 =========================
-(somewhere)
+http://www.jpl.org/gnus-doc-ja.html
+or ftp://ftp.jpl.org/pub/gnus-doc-ja/
 
 The tarball corresponding to the tarball xgnus-m.n.tar.gz which is the
 released version of Gnus is xgnus-m.n-doc-ja.tar.gz.