[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WL/emacs-snapshot (23.1.50.1) on Karmic



Hi,

>>>>> On Wed, 04 Nov 2009 07:41:00 +0000
>>>>> Ousmane Wilane <ousmane@wilane.org> said:

ousmane> >>>>> "OW" == Ousmane Wilane <ousmane@wilane.org> writes:

    OW> Error while loading 65bitmap-mule: Wrong type argument:
    OW> number-or-marker-p, (("-*-*-*-*-*-*-*-*-*-*-*-*-iso10646-1"))

ousmane> I still don't get it but installing select-xface and adding the following lines
ousmane> to my init seems to fix the problem:

ousmane> (add-hook 'mail-mode-hook
ousmane> 	  (lambda ()
ousmane> 	    (define-key (current-local-map) "\C-x4x"
ousmane> 	      'select-xface)))
ousmane> (x-face-show)

Don't you use x-face-mule.el?  I met similar problem with
x-face-mule.el on Emacs 23.1.  Using x-face-e21.el instead fixed my
problem.
I'm using ~/.wl that was copied from samples/en/dot.wl.
Unfortunately, with this sample, x-face-mule.el is used even if
x-face-e21.el is installed.  So, I was required to change
(= emacs-major-version 21) to (>= emacs-major-version 21) to use
x-face-e21.el on Emacs 23.1.
Hope this helps you.

;; X-Face
(when window-system
  (cond ((and (featurep 'xemacs)	; for XEmacs
	      (module-installed-p 'x-face))
	 (autoload 'x-face-xmas-wl-display-x-face "x-face")
	 (setq wl-highlight-x-face-function 'x-face-xmas-wl-display-x-face))

	;; for Emacs21
	((and (not (featurep 'xemacs))
	      (= emacs-major-version 21)	<===== HERE
	      (module-installed-p 'x-face-e21))
	 (autoload 'x-face-decode-message-header "x-face-e21")
	 (setq wl-highlight-x-face-function 'x-face-decode-message-header))

	;; for Emacs 19.34, Emacs 20.x
	((module-installed-p 'x-face-mule)
	 ;; x-face-mule distributed with bitmap-mule 8.0 or later
	 (autoload 'x-face-decode-message-header "x-face-mule")
	 (setq wl-highlight-x-face-function 'x-face-decode-message-header))
	))

Sincerely,

--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume@mahoroba.org  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/