Article View: fj.editor.mule
Article #418Re: Private template of HTML-HELPER-MODE
From: Toshio HORI
Date: Thu, 25 Nov 1999 00:00
Date: Thu, 25 Nov 1999 00:00
31 lines
2154 bytes
2154 bytes
In article <w03dtusr8e.fsf@tsl.pe.u-tokyo.ac.jp>,
NAKAI Tetsushi <nakai@tsl.pe.u-tokyo.ac.jp> writes:
> ~/.emacsを書き換えるか,.elファイルをホームディレクトリにコピーなどすれ
> ば可能なのでしょうか?
nakai> .emacs の中で,
nakai> (setq-default html-helper-new-buffer-template
nakai> '("template"))
nakai> でカスタマイズできると思います.
setqでいいと思います…で終わるのもアレなので:p 堀の設定を載せてみます。
(setq html-helper-new-buffer-template
'(html-helper-htmldtd-version
"<html> <head>\n"
"<title>" p "</title>\n"
"<link rev=\"made\" href=\"mailto:toshi@etl.go.jp\">\n"
"<meta http-equiv=\"Content-Type\" content=\"text-html; "
"charset=ISO-2022-JP\">\n</head>\n\n"
"<body bgcolor=\"ffffff\" text=\"#000000\" link=\"#ff0000\""
" vlink=\"#0000ff\" alink=\"#00ff00\">\n"
"<h1 align=center></h1>\n\n"
html-helper-timestamp-start html-helper-timestamp-end
"\n"
"\n\n<hr>\n"
"<address>" html-helper-address-string "</address>\n"
"</body> </html>\n"))
新しくHTML fileを作成すると、"<title>" p "</title>\n" の p の位置に
cursorが来ます。
---ほり。
Technical Details
Message-ID:
<19991125232213G.toshi@stockton.etl.go.jp>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<383D1AB7.7A2B@shiratori.riec.tohoku.ac.jp> <w03dtusr8e.fsf@tsl.pe.u-tokyo.ac.jp>Show Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS X-Google-Thread: 10eba4,32d85b05c2960e7e X-Google-Attributes: gid10eba4,public From: Toshio HORI <toshi@etl.go.jp> Subject: Re: Private template of HTML-HELPER-MODE Date: 1999/11/25 Message-ID: <19991125232213G.toshi@stockton.etl.go.jp> X-Deja-AN: 552931453 X-PGP-Publickey: http://www.etl.go.jp/~toshi/misc/toshi.asc Content-Transfer-Encoding: 7bit References: <383D1AB7.7A2B@shiratori.riec.tohoku.ac.jp> <w03dtusr8e.fsf@tsl.pe.u-tokyo.ac.jp> Content-Type: Text/Plain; charset=iso-2022-jp X-Dispatcher: imput version 991025(IM133) X-Fingerprint: F6 39 15 C8 2D D2 83 D2 20 25 EF 25 AA 6F E0 6B X-Complaints-To: usenet@news-server.etl.go.jp X-Trace: ecce10-1.etl.go.jp 943539709 26372 192.31.204.150 (25 Nov 1999 14:21:49 GMT) Organization: Electrotechnical Laboratory, AIST, MITI. X-URL: http://www.etl.go.jp/~toshi/ Mime-Version: 1.0 NNTP-Posting-Date: 25 Nov 1999 14:21:49 GMT Newsgroups: fj.editor.mule