■掲示板に戻る■ 全部 1- 101- 201- 301- 401- 501- 601- 701- 801- 901- 最新50

レス数が950を超えています。1000を超えると表示できなくなるよ。

Emacs part3

578 :名無しさん@お腹いっぱい。 :02/01/24 17:15
広瀬さんのxciteで引用する時にこうやって

(defun my-xcite-header ()
"引用ヘッダ文字列生成関数."
(if (string-match "jp$" id)
;; 日本語の場合
(format ">>>>> %s にて、\n>>>>> %s %s さんは書きました:\n"
msgid
(if (string< "" tag)
(concat "\"" tag "\" =")
"")
(concat "<" id ">"))
;; 英語の場合
(format ">>>>> In article %s\n>>>>> %s %s writes:\n"
msgid
(if (string< "" tag)
(concat "\"" tag "\" =")
"")
(if handle
(concat handle " <"id">")
id))))
(setq xcite:insert-header-function 'my-xcite-header)

日本語と英語の場合分けをしている設定を参考にしたのですが
この日本語と英語はどこを見て判断しているのでしょうか?


新着レスの表示

掲示板に戻る 全部 前100 次100 最新50
名前: E-mail (省略可) :

read.cgi ver5.26+ (01/10/21-)