APEL-CFG

Shuhei KOBAYASHI shuhei @ aqua.ocn.ne.jp
1999年 11月 11日 (木) 11:50:59 JST


>>>>> In <yosug0ygdyvk.fsf @ jpl.org>,
>>>>> Katsumi Yamaoka <yamaoka @ jpl.org> wrote:
> ただ、これを削除するだけでは不親切だと思うので subdirs.el の書き方を
> README に追加したり、tinycustom が選択された場合に「新しい custom を
> お持ちじゃないですか?」と言わせる手を検討してみます。

結局自分で満足できるものを書いてしまいました.
APEL 以外で必要な所に含めてもらっても構いません.
;; 文章に間違いがあったら教えてください(^^; それと, 求む XEmacs 情報.


ところで, pcustom.el の変更点

	      (if (null (featurep 'pcustom))

;; (unless (featurep 'pcustom) ...) の方が好みだというのは置いといて.
;;; 少なくとも `null' じゃないよね.

は, なぜ (featurep 'pcustom) なのですか?  未確認ですが, pcustom.el の
byte-compile の前にどこかで (require 'pcustom) が行なわれるので, ここが
2 度評価されてしまうということでしょうか?

-- 
Shuhei KOBAYASHI

-------------- next part --------------
README.custom --- "old custom" vs "new custom"
==============================================

For Emacs 19.34 (and XEmacs 19.15 - 20.2?) users:

"custom" library distributed with Emacs from version 19.32? to 19.34 is
"old", its API is incompatible with "new custom" distributed with Emacs
version 20. "new custom" for Emacs 19.34 (and XEmacs 19.15 - 20.2) is
available from the following URL.

  ftp://ftp.dina.kvl.dk/pub/Staff/Per.Abrahamsen/custom/custom-1.9962.tar.gz

(Note that "custom" distributed with Gnus 5.2/5.3 is "old custom", and
 that Gnus 5.4/5.5 includes "new custom" but it is not a latest version.)


Before installing "new custom", you should check the following points.

  1) If you stick to Gnus 5.2/5.3 (or any other applications which use
     "old custom"), you should not use "new custom".

  2) If you use Mule (based on Emacs 19), you must apply this patch to
     "new custom".

----8<------8<------8<------8<------8<------8<------8<------8<----
--- custom-1.9962/cus-face.el~	Wed Mar  4 19:52:39 1998
+++ custom-1.9962/cus-face.el	Mon Mar  9 08:05:33 1998
@@ -96,7 +96,7 @@
       "Define a new FACE on all frames, ignoring X resources."
       (interactive "SMake face: ")
       (or (internal-find-face name)
-	  (let ((face (make-vector 8 nil)))
+	  (let ((face (make-vector face-vector-length nil)))
 	    (aset face 0 'face)
 	    (aset face 1 name)
 	    (let* ((frames (frame-list))
----8<------8<------8<------8<------8<------8<------8<------8<----

  3) Applications compiled with "custom" require the same version of
     "custom" at load-time (and run-time).  Therefore, if you use "new
     custom", you must always include "new custom" in your load-path.
     The easiest way to achieve this is "subdirs.el"; if you installed
     "new custom" in "/usr/local/share/emacs/19.34/site-lisp/custom/",
     put the following line to "/usr/local/share/emacs/19.34/site-lisp/
     subdirs.el".

       (normal-top-level-add-to-load-path '("custom"))


README.custom ends here.


More information about the APEL-ja mailing list