🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fj.editor.xemacs
Article #121

Re: Draft mode での X-Face の画像表示

#121
From: Atsushi Shinmura
Date: Wed, 24 Oct 2001 13:19
71 lines
4488 bytes
新村です。およそ成功しました。

>>> Wed, 24 Oct 2001 15:36:32 +0900 の刻に 「新村」、すなわち
>>> GGB03631@nifty.ne.jp(Atsushi Shinmura) 氏曰く

---.mew.el
    147 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    148 ;;編集中にxfaceを表示する
    149 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    150 
    151 (autoload 'x-face-insert "x-face" "Insert X-Face fields." t)
    152 (setq highlight-headers-hack-x-face-p t)
    153 (setq x-face-xmas-auto-image t)
    154 (setq x-face-default-xbm-file "~/.neko.xbm")
    155 (add-hook 'mew-draft-mode-hook
    156     (lambda nil
    157 ;;      (x-face-insert)
    158 ;;      (setq x-face-insert-interactive nil)
    159         (x-face-insert x-face-default-xbm-file)
    160         (x-face-xmas-force-display-x-face)))
    161 ;       (x-face-xmas-display-x-face 1)))
    162 
    163 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
---end

---T-gnus
     14 ;;xfaceの設定
     15 (autoload 'x-face-xmas-display-x-face "x-face"
     16     "Display X-Face fields as XEmacs-glyph." t)
     17 ;(defvar gnus-x-face-file (expand-file-name "~/.x-face"))
     18 (defvar gnus-x-face-file (expand-file-name "~/.xface"))
     19 (defun mail-insert-x-face ()
     20     (save-excursion
     21         (goto-char (point-min))
     22         (search-forward mail-header-separator)
     23         (beginning-of-line nil)
     24         (insert "X-Face:")
     25         (insert-file gnus-x-face-file)
     26         (x-face-xmas-display-x-face 1)))
     27 (add-hook 'message-setup-hook 'mail-insert-x-face)
---end

---.wl

    257 ;; X-Face を表示する (要 x-face (and x-face-mule))
    258 
    259 (when window-system
    260   (cond ((and (featurep 'xemacs)    ; for XEmacs
    261           (module-installed-p 'x-face))
    262      (autoload 'x-face-xmas-wl-display-x-face "x-face" nil t)
    263      (setq wl-highlight-x-face-function 'x-face-xmas-wl-display-x-face)
    264      (autoload 'x-face-insert "x-face" "Insert X-Face fields." t)
    265      (setq x-face-default-xbm-file "~/.neko.xbm")
    266      (add-hook 'wl-mail-setup-hook
    267         (lambda nil
    268 ;;          (x-face-insert)
    269             (x-face-insert x-face-default-xbm-file)
    270             (x-face-xmas-display-x-face 1))))
    271     ;; for Mule (GNU Emacs)
    272     ((module-installed-p 'x-face-mule)
    273     ;; for x-face-mule distributed with bitmap-mule 8.0 or later
    274     (autoload 'x-face-decode-message-header "x-face-mule")
    275     (setq wl-highlight-x-face-function 'x-face-decode-message-header))
    276 ))
---end

上記で期待どおりに動きました。ご連絡および御礼までに。


-- 
Atsushi Shinmura
Technical Details
Message-ID: <m06695mazc.fsf@maria.issui.co>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.media.kyoto-u.ac.jp!newsfeed.mesh.ad.jp!newsgate1.web.ad.jp!news501.nifty.com!not-for-mail
References: <m0d73f60ow.fsf@maria.issui.co> <yosuofmz6xet.fsf@jpl.org> <m0ofmzrlzt.fsf@maria.issui.co> <m0g08abac8.fsf@maria.issui.co> <m06695o87j.fsf@maria.issui.co>

Show Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS
X-Google-Thread: 1107f7,f9acc8979beb274f
X-Google-Attributes: gid1107f7,public
X-Google-ArrivalTime: 2001-10-24 06:22:38 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.media.kyoto-u.ac.jp!newsfeed.mesh.ad.jp!newsgate1.web.ad.jp!news501.nifty.com!not-for-mail
From: Atsushi Shinmura <GGB03631@nifty.ne.jp>
Newsgroups: fj.editor.xemacs
Subject: Re: Draft mode での X-Face
 の画像表示
Date: Wed, 24 Oct 2001 22:19:35 +0900
Organization: @nifty netnews service
Lines: 71
Sender: maria@maria.issui.co
Message-ID: <m06695mazc.fsf@maria.issui.co>
References: <m0d73f60ow.fsf@maria.issui.co> <yosuofmz6xet.fsf@jpl.org> <m0ofmzrlzt.fsf@maria.issui.co> <m0g08abac8.fsf@maria.issui.co> <m06695o87j.fsf@maria.issui.co>
NNTP-Posting-Host: nara005n020.ppp.infoweb.ne.jp
Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya")
Content-Type: text/plain; charset=ISO-2022-JP
X-Trace: news511.nifty.com 1003929750 26463 211.2.83.132 (24 Oct 2001 13:22:30 GMT)
X-Complaints-To: -
NNTP-Posting-Date: Wed, 24 Oct 2001 13:22:30 +0000 (UTC)
X-cite: xcite 1.41
X-Face: ?":R::2tUhd4ZYwW#=ps`o:DasGnX6ZXk"xc@M:7zdElHp?oUhb)8zHeI.>#SWB2`7wd*oZ
 @td`;fw~}#8+9'"'?Lj}wH<caktQB0z/p7)ctj%pOw}IP;8}3pc0vi!:DSh~n#wiOMhLB#G5bG`(Ct
 iw5nH!*{d~Vy9'2mP0"\Y2B-_3`uv^,QKarYk<`q*
User-Agent: T-gnus/6.15.4 (based on Oort Gnus v0.04) (revision 08)
 SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (Unebigoryōmae)
 APEL/10.3 MULE XEmacs/21.5 (beta3) (asparagus) (i586-pc-linux)