This Wiki is frozen. Use GitHub for reports, discussions, etc.
top  Index  Search  Changes  RSS  Login

TemplateDateFormat


バグレポート (2005-04-18 21:20:06)

  • 2005-04-18 (月) 00:36:02 名無しさん : 2ch2:650-652n 恐れていた結果に… ^^;
  • 2005-04-18 (月) 00:36:14 名無しさん : howm とは独立した不具合のようで, よくわかりません. 2ch2:652の結果をどなたか emacs に詳しい方に見ていただく方が良さそうです.
  • 2005-04-18 (月) 00:36:26 名無しさん : howm 側でどうにかするなら, howm-mode.el の howm-insert-template という関数の中を書きかえるとか
(let* ((date (format-time-string howm-template-date-format))
↓
(let* ((date (mapconcat #'format-time-string '("%Y/%m/%d" "(" "%a" ")" "%H:%M") ""))


  • 2005-04-18 (月) 21:37:19 名無しさん : いや, ソースを書きかえるよりも, この方がいいか. これなら .emacs に書くだけで OK.
(defadvice howm-insert-template (around dynamic-template activate)
  (let ((howm-template-date-format (mapconcat #'format-time-string
                                              '("%Y/%m/%d"
                                                "(" "%a" ")"
                                                "%H:%M")
                                              "")))
    ad-do-it))
(Please LogIn to post comments.)

Last modified:2008/03/09 14:10:47
Keyword(s):
References:[修正済]
This page is frozen.