Home > Archives > 2004年11月16日 Archive

2004年11月16日 Archive

cperl-mode

(autoload 'perl-mode "cperl-mode" "cperl mode" t)

とやったら

Autoloading failed to define function perl-mode

とエラーになるので、

(defalias 'perl-mode 'cperl-mode)

で解決

FreeBSD 5.3 の /usr/ports/editors/vim

日本語の表示がどうもおかしい。入力してる時はいいが、保存して開くと変になる。というわで、このあたりを参考に、下記の通り修正。

  • Makefile を修正して、最新の patch version まで適用
PATCHLEVEL=31
BADPATCHES=000 022 025
  • work/src/mbyte.c を一行手パッチ
@@ -653,7 +653,7 @@
                     * where mblen() returns 0 for invalid character.
                     * Therefore, following condition includes 0.
                     */
- if (mblen(buf, (size_t)1) <= 0)
+ if (i >= 0x80)
                        n = 2;
                    else
                        n = 1;

favicon.ico

ずーーーーと作ろう作ろうと思ってた、favicon.ico、いつまでたっても作らないので、アリモノで設置だけすませた。数年ぶりではなかろうか

Home > Archives > 2004年11月16日 Archive

Feeds

Return to page top