hns - 日記自動生成システム - Version 2.19.9

先月 2005年06月 来月
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2005年06月04日() 旧暦 [n年日記] [更新:"2005/06/04 23:44:42"]

#1 [CVS] オープン系ソフトウェア構成管理システム(SCM)へのコメント

一年くらい前の記事であるが。 まちゅダイアリー からたどっていって読んでいた。

#2 [Emacs] Local variables entry is missing the suffix

きょうは
File local-variables error: (error "Local variables entry is missing the suffix")
と言われた。 話せば長いことながら
  • php を書いている
  • 色々な都合上 sjis-dos で書いている
  • これを http で見ると文字が化けているので
  • curl -I http://www.example.com/hoge.php や
    curl http://www.example.com/hoge.php > /tmp/ss
    で調べている
  • その /tmp/ss の中の最後に、(自分で書いた) Local-Variables: が残っている
  • それを emacs で開くと上のように言われる
これを直接、ここに書くと、またまたおこられる。
いま書いている coding system と合っていないよ、本当に保存する ?
(しかも何故か *Message* buffer にその文字が残っていないので、ここに貼付けられない
<!--
Local Variable:
coding: sjis-dos
outline-regexp: "^[A-Za-z]+[A-Za-z]*\\(.*\\)\\|^///"
End:
-->
という訳で、上の中で Variable: とあるのは、本当は Variables: だが変えてある (音声は変えてあります、っていうやつ)。
多分もっと大切なこととして、改行コードは CR+LF。 まあ、実は、ここに書いたことはそれほど問題ではないのだけれど、 題名に書いた誤り表示(Error Message)は初めて見るので、記念ということで。

で文字が化けている方の問題は:

Content-Type: text/html; charset=EUC-JP
なのに、中身が sjis という訳。しかし /usr/pkg/etc/php.ini の mb_string の設定は、
[mbstring]
mbstring.language = Japanese
mbstring.internal_encoding = EUC-JP
mbstring.http_input = auto
mbstring.http_output = EUC-JP
これじゃだめか。ある directory だけ
mbstring.internal_encoding = SJIS
なんて出来ないかな。
mbstring.internal_encoding = auto
ってあり ?
; internal/script encoding.
; Some encoding cannot work as internal encoding.
; (e.g. SJIS, BIG5, ISO-2022-*)
mbstring.internal_encoding = EUC-JP
って書いてある。SJIS で書くこと自体が良くない ? 不思議。某所は SJIS のはずだが。
手元の環境での確認を諦めて、某所環境と同じ条件でだけ確認することにして いたのかも知れない。

#3 [Emacs] wl compile

When I did compile wanderlust, I got following
In wl-mime-quit-preview:
../wl/wl-mime.el:302:21:Warning: reference to free variable
    `mime-edit-temp-message-buffer'
Wrote /export/local-src/wanderlust/wl/wl-mime.elc
But I don't think this is a problem, this is just a warning. (Am I right ?)

とメールで聞いている人が居たが:

残念ながら、「それでいいのです」と言い切れない僕が...
wl/wl-mime.el-(defun wl-mime-quit-preview ()
wl/wl-mime.el-  "Quitting method for mime-view."
wl/wl-mime.el:  (let* ((temp (and (boundp 'mime-edit-temp-message-buffer) ;; for SEMI <= 1.14.6
wl/wl-mime.el:              mime-edit-temp-message-buffer))
wl/wl-mime.el-   (window (selected-window))
wl/wl-mime.el-   buf)
wl/wl-mime.el-    (mime-preview-kill-buffer)
wl/wl-mime.el-    (set-buffer temp)
わざわざ、「.. という buffer がある時には」と調べているのに、 compile する時に、「未定義の変数を参照しているよ」と言われるのは心外 ?
というか、一個しか出ないって優秀な気がするが ..

#4 [Namazu] 最近 namazu が走っていないと思ったら

Use of uninitialized value in read at /usr/pkg/bin/mknmz line 2422, <GEN145479> line 2500088.
Use of uninitialized value in addition (+) at /usr/pkg/bin/mknmz line 2435, <GEN145479> line 2500088.
...Unterminated compressed integer in unpack at /usr/pkg/bin/mknmz line 2377.
索引がこわれてしまったかな。



最近の日記
2024年05月05日
Windows 10 version
serial connection
bc bench
2024年05月04日
Trial on 10.99.10
another version (later trial) to succeed
2024年04月29日
dkim
2024年03月10日
停電 (瞬電)
2024年03月03日
the second try on bare-metal
useradd
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)