|
Namazu for hns による簡易全文検索 詳しくは 詳細指定/ヘルプを参照して下さい |
|||||||||||||||||||||||||||||||||||||||||||||||||
2004年07月31日(土) 旧暦 [n年日記]更新: "2004/08/01 17:04:07"#1 [Emacs] font-lock-mode でも色が付かない
/export/emacs/bin/emacs などのように変なところに
置いてあるせいかなと思って /usr/local に入直したが、
まだ付かない。
(emacs-version) ○ C, hnf, dired, pcl-cvs, shell × Perl, japanese-latex-mode大きな字で表示しようとするのに 用意されている font の中に適当なものがないと色が付かない というのではないかなという気もする。 *Messages* に 次の字がある。 Applying style hooks... done似たような話が No News Is Good News に書いてあるが、日付の関係で違うのかな。僕のは、確かきょう作り直したやつのはずだから。 font-lock.el 手元のは 1.225。 @ fontification broken in CVS (perl/auctex) ?:
このメールでの変更は既に 1.223 で CVS に入っているのです。
(...local-src/emacs)> cvs annotate lisp/font-lock.el | grep cddrそれでもだめだなぁ、という気がしています。 そこにメールするとして、何か再現用の短いものが作れないかなと思っています。 HTML でも問題がある。これの方が簡単。
emacs-21.3.50, cvs co on 7-31-2004, (New file) Loading sgml-mode...done Loading skeleton...done Error during redisplay: (invalid-function (\(<\)!-- (1 < b))) [3 times] ( つっこみ )
#2 [Emacs][hnf] hnf autoinsert
ついでに auto-insert を変えて見た。
.emacs
(add-hook 'hnf-mode-hook (lambda () (make-variable-buffer-local 'time-stamp-start) (setq time-stamp-start "更新:[\t ]*\\\\?[\"<]+") ; (make-variable-buffer-local 'time-stamp-format) (setq time-stamp-format "%04y/%02m/%02d %02H:%02M:%02S") ;"%:y-%02m-%02d %02H:%02M:%02S %u" )).emacs (setq auto-insert-directory "~/mule/insert/" ) (auto-insert-mode 1) (add-to-list 'auto-insert-alist '("\\.hnf\\'" . "hns.hnf")) (setq auto-insert-query nil)hns.hnf OK 更新: " " CAT NEW LNEW SUB @ jikenbo+ を変更する方が配置とか自由度がある気がする:@ ところで、下の二つの違いは ?:(make-local-variable 'time-stamp-format) (make-variable-buffer-local 'time-stamp-format)新たに作るのと、既にあるものを変更する、という違い ? ども です。 make-variable-buffer-local は make variable buffer-local、つまり「変数をバッファローカルにする」 ではなくて、「(どこでも)バッファローカルになるような変数を作る」っていう意味、 つまり予約型という訳ですね。だから、上の書き方は(偶然)動くかも知れないが、良くないと。 いつもありがとうございます。 ( つっこみ )
#3 [NetBSD] -lgcc not found( つっこみ )
|
最近の日記 2025年02月13日 ・dvipdfmx ICC profile format spec. version 4.3.0 2025年01月29日 ・ham/wsjtx 2025年01月27日 ・wip/wsjtx 5.4.2 2025年01月25日 ・ham/wsjtx 2025年01月15日 ・今更 advent calendar | ||